Remove ability to pass commands to bootloader
This commit is contained in:
@@ -420,9 +420,6 @@
|
||||
|
||||
/* Field names for SYS_ABORT. */
|
||||
#define ABRT_HOW m1_i1 /* RBT_REBOOT, RBT_HALT, etc. */
|
||||
#define ABRT_MON_ENDPT m1_i2 /* process where monitor params are */
|
||||
#define ABRT_MON_LEN m1_i3 /* length of monitor params */
|
||||
#define ABRT_MON_ADDR m1_p1 /* virtual address of monitor params */
|
||||
|
||||
/* Field names for SYS_IOPENABLE. */
|
||||
#define IOP_ENDPT m2_l1 /* target endpoint */
|
||||
|
||||
@@ -33,7 +33,7 @@ struct rs_pci;
|
||||
int _taskcall(endpoint_t who, int syscallnr, message *msgptr);
|
||||
int _kernel_call(int syscallnr, message *msgptr);
|
||||
|
||||
int sys_abort(int how, ...);
|
||||
int sys_abort(int how);
|
||||
int sys_enable_iop(endpoint_t proc_ep);
|
||||
int sys_exec(endpoint_t proc_ep, char *ptr, char *aout, vir_bytes
|
||||
initpc);
|
||||
|
||||
@@ -5,10 +5,9 @@
|
||||
#define RBT_HALT 0 /* shutdown and return to monitor */
|
||||
#define RBT_REBOOT 1 /* reboot the system through the monitor */
|
||||
#define RBT_PANIC 2 /* a server panics */
|
||||
#define RBT_MONITOR 3 /* let the monitor do this */
|
||||
#define RBT_POWEROFF 3 /* power off, reset if not possible */
|
||||
#define RBT_RESET 4 /* hard reset the system */
|
||||
#define RBT_DEFAULT 5 /* return to monitor, reset if not possible */
|
||||
#define RBT_POWEROFF 6 /* power off, reset if not possible */
|
||||
#define RBT_INVALID 7 /* first invalid reboot flag */
|
||||
#define RBT_INVALID 6 /* first invalid reboot flag */
|
||||
|
||||
#endif
|
||||
|
||||
@@ -356,7 +356,7 @@ void psignal(int, const char *);
|
||||
#endif /* __PSIGNAL_DECLARED */
|
||||
int rcmd(char **, int, const char *, const char *, const char *, int *);
|
||||
#ifdef __minix
|
||||
int reboot(int, ...);
|
||||
int reboot(int);
|
||||
#else
|
||||
int reboot(int, char *);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user