summaryrefslogtreecommitdiffstats
path: root/pintos-progos/devices/shutdown.h
diff options
context:
space:
mode:
authormanuel <manuel@mausz.at>2012-03-27 11:51:08 +0200
committermanuel <manuel@mausz.at>2012-03-27 11:51:08 +0200
commit4f670845ff9ab6c48bcb5f7bf4d4ef6dc3c3064b (patch)
tree868c52e06f207b5ec8a3cc141f4b8b2bdfcc165c /pintos-progos/devices/shutdown.h
parenteae0bd57f0a26314a94785061888d193d186944a (diff)
downloadprogos-4f670845ff9ab6c48bcb5f7bf4d4ef6dc3c3064b.tar.gz
progos-4f670845ff9ab6c48bcb5f7bf4d4ef6dc3c3064b.tar.bz2
progos-4f670845ff9ab6c48bcb5f7bf4d4ef6dc3c3064b.zip
reorganize file structure to match the upstream requirements
Diffstat (limited to 'pintos-progos/devices/shutdown.h')
-rw-r--r--pintos-progos/devices/shutdown.h19
1 files changed, 0 insertions, 19 deletions
diff --git a/pintos-progos/devices/shutdown.h b/pintos-progos/devices/shutdown.h
deleted file mode 100644
index dc4f942..0000000
--- a/pintos-progos/devices/shutdown.h
+++ /dev/null
@@ -1,19 +0,0 @@
1#ifndef DEVICES_SHUTDOWN_H
2#define DEVICES_SHUTDOWN_H
3
4#include <debug.h>
5
6/* How to shut down when Pintos has nothing left to do. */
7enum shutdown_type
8 {
9 SHUTDOWN_NONE, /* Loop forever. */
10 SHUTDOWN_POWER_OFF, /* Power off the machine (if possible). */
11 SHUTDOWN_REBOOT, /* Reboot the machine (if possible). */
12 };
13
14void shutdown (void);
15void shutdown_configure (enum shutdown_type);
16void shutdown_reboot (void) NO_RETURN;
17void shutdown_power_off (void) NO_RETURN;
18
19#endif /* devices/shutdown.h */