//kernel/trunk/generic/include/ddi/ddi.h |
---|
39,8 → 39,6 |
/* |
* Interface to be implemented by all architectures. |
*/ |
extern __native ddi_int_control_arch(__native enable, __native *flags); |
extern __native ddi_int_control(__native enable, __native *flags); |
extern int ddi_iospace_enable_arch(task_t *task, __address ioaddr, size_t size); |
#endif |
//kernel/trunk/generic/include/security/cap.h |
---|
63,9 → 63,9 |
#define CAP_IO_MANAGER (1<<2) |
/** |
* CAP_INT_CONTROL allows its holder to disable interrupts |
* CAP_PREEMPT_CONTROL allows its holder to disable interrupts |
*/ |
#define CAP_INT_CONTROL (1<<3) |
#define CAP_PREEMPT_CONTROL (1<<3) |
typedef __u32 cap_t; |
//kernel/trunk/generic/include/syscall/syscall.h |
---|
32,7 → 32,7 |
typedef enum { |
SYS_IO = 0, |
SYS_TLS_SET = 1, /* Hardcoded in AMD64,IA32 uspace - psthread.S */ |
SYS_INT_CONTROL = 2, /* Hardcoded in all SYSCALL handlers */ |
SYS_PREEMPT_CONTROL, |
SYS_THREAD_CREATE, |
SYS_THREAD_EXIT, |
SYS_TASK_GET_ID, |