[SOLVED] CS #ifndef DEVICES_SHUTDOWN_H

$25

File Name: CS_#ifndef_DEVICES_SHUTDOWN_H.zip
File Size: 273.18 KB

5/5 - (1 vote)

#ifndef DEVICES_SHUTDOWN_H
#define DEVICES_SHUTDOWN_H

#include

/* How to shut down when Pintos has nothing left to do. */
enum shutdown_type
{
SHUTDOWN_NONE,/* Loop forever. */
SHUTDOWN_POWER_OFF, /* Power off the machine (if possible). */
SHUTDOWN_REBOOT,/* Reboot the machine (if possible). */
};

void shutdown (void);
void shutdown_configure (enum shutdown_type);
void shutdown_reboot (void) NO_RETURN;
void shutdown_power_off (void) NO_RETURN;

#endif /* devices/shutdown.h */

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Shopping Cart
[SOLVED] CS #ifndef DEVICES_SHUTDOWN_H
$25