Minor changes for new library functions at PM.
This commit is contained in:
parent
b16a88692a
commit
7842d4fb26
2 changed files with 8 additions and 7 deletions
|
@ -385,15 +385,13 @@
|
|||
|
||||
#define SRV_UP (SRV_RQ_BASE + 0) /* start system service */
|
||||
#define SRV_DOWN (SRV_RQ_BASE + 1) /* stop system service */
|
||||
#define SRV_STATUS (SRV_RQ_BASE + 2) /* get service status */
|
||||
#define SRV_SHUTDOWN (SRV_RQ_BASE + 2) /* alert about shutdown */
|
||||
|
||||
# define SRV_PATH_ADDR m1_p1 /* path of binary */
|
||||
# define SRV_PATH_LEN m1_i1 /* length of binary */
|
||||
# define SRV_ARGS_ADDR m1_p2 /* arguments to be passed */
|
||||
# define SRV_ARGS_LEN m1_i2 /* length of arguments */
|
||||
# define SRV_CMD_ADDR m1_p1 /* command string */
|
||||
# define SRV_CMD_LEN m1_i1 /* length of command */
|
||||
# define SRV_PID m1_i1 /* pid of system service */
|
||||
# define SRV_PERIOD m1_i2 /* heartbeat period */
|
||||
# define SRV_DEV_MAJOR m1_i3 /* major device number */
|
||||
# define SRV_PRIV_ADDR m1_p3 /* privileges string */
|
||||
# define SRV_PRIV_LEN m1_i3 /* length of privileges */
|
||||
|
||||
/*===========================================================================*
|
||||
* Miscellaneous messages used by TTY *
|
||||
|
|
|
@ -109,6 +109,7 @@ _PROTOTYPE( int getgroups, (int _gidsetsize, gid_t _grouplist[]) );
|
|||
_PROTOTYPE( char *getlogin, (void) );
|
||||
_PROTOTYPE( pid_t getpgrp, (void) );
|
||||
_PROTOTYPE( pid_t getpid, (void) );
|
||||
_PROTOTYPE( pid_t getnpid, (int proc_nr) );
|
||||
_PROTOTYPE( pid_t getppid, (void) );
|
||||
_PROTOTYPE( uid_t getuid, (void) );
|
||||
_PROTOTYPE( int isatty, (int _fd) );
|
||||
|
@ -162,6 +163,8 @@ _PROTOTYPE( int fttyslot, (int _fd) );
|
|||
_PROTOTYPE( char *crypt, (const char *_key, const char *_salt) );
|
||||
_PROTOTYPE( int getsysinfo, (int who, int what, void *where) );
|
||||
_PROTOTYPE( int getprocnr, (void) );
|
||||
_PROTOTYPE( int getnprocnr, (pid_t pid) );
|
||||
_PROTOTYPE( int getpprocnr, (void) );
|
||||
_PROTOTYPE( int findproc, (char *proc_name, int *proc_nr) );
|
||||
_PROTOTYPE( int allocmem, (phys_bytes size, phys_bytes *base) );
|
||||
_PROTOTYPE( int freemem, (phys_bytes size, phys_bytes base) );
|
||||
|
|
Loading…
Reference in a new issue