From: Alan Cox Date: Tue, 19 May 2015 22:25:03 +0000 (+0100) Subject: syscalls.h: add uadmin defines X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=9c0c0b360071793e921c1b2df40148f36d99660f;p=FUZIX.git syscalls.h: add uadmin defines --- diff --git a/Library/include/syscalls.h b/Library/include/syscalls.h index d7a041b9..292f919a 100644 --- a/Library/include/syscalls.h +++ b/Library/include/syscalls.h @@ -73,6 +73,19 @@ struct hd_geometry { #define HDIO_GETGEO 0x0101 #define HDIO_GET_IDENTITY 0x0102 /* Not yet implemented anywhere */ +/* uadmin */ + +#define A_SHUTDOWN 1 +#define A_REBOOT 2 +#define A_DUMP 3 +#define A_FREEZE 4 /* Unimplemented, want for NC100 */ +#define A_SWAPCTL 16 /* Unimplemented */ +#define A_CONFIG 17 /* Unimplemented */ +#define A_FTRACE 18 /* Unimplemented: + Hook to the syscall trace debug */ + +#define AD_NOSYNC 1 /* Unimplemented */ + struct times; struct tms; struct utimbuf;