From: Philip Homburg Date: Mon, 23 Apr 2007 12:00:46 +0000 (+0000) Subject: sys_getprivid macro to get the ID of a process' privilege structure. X-Git-Tag: v3.1.4~435 X-Git-Url: http://zhaoyanbai.com/repos/icons/debian/static//%22http:/%22%29?a=commitdiff_plain;h=555bc29a0ca04494949e48aa7a33aca9312cf74c;p=minix.git sys_getprivid macro to get the ID of a process' privilege structure. Prototype for pci_del_acl. --- diff --git a/include/minix/syslib.h b/include/minix/syslib.h index 70340832c..dd716a677 100755 --- a/include/minix/syslib.h +++ b/include/minix/syslib.h @@ -146,6 +146,7 @@ _PROTOTYPE(int sys_segctl, (int *index, u16_t *seg, vir_bytes *off, #define sys_getlocktimings(dst) sys_getinfo(GET_LOCKTIMING, dst, 0,0,0) #define sys_getbiosbuffer(virp, sizep) \ sys_getinfo(GET_BIOSBUFFER, virp, sizeof(*virp), sizep, sizeof(*sizep)) +#define sys_getprivid(nr) sys_getinfo(GET_PRIVID, 0, 0,0, nr) _PROTOTYPE(int sys_getinfo, (int request, void *val_ptr, int val_len, void *val_ptr2, int val_len2) ); @@ -199,6 +200,7 @@ _PROTOTYPE( void pci_attr_w32, (int devind, int port, u32_t value) ); _PROTOTYPE( char *pci_dev_name, (U16_t vid, U16_t did) ); _PROTOTYPE( char *pci_slot_name, (int devind) ); _PROTOTYPE( int pci_set_acl, (struct rs_pci *rs_pci) ); +_PROTOTYPE( int pci_del_acl, (endpoint_t proc_nr) ); /* Profiling. */ _PROTOTYPE( int sys_sprof, (int action, int size, int freq, int endpt,