Moved ipc debug out of conditional.
Gave pci server sys_getinfo privilege.
This commit is contained in:
parent
13e0afef7b
commit
0a02bfb056
@ -9,15 +9,6 @@
|
||||
|
||||
#include "config.h"
|
||||
|
||||
/* It's interesting to measure the time spent withing locked regions, because
|
||||
* this is the time that the system is deaf to interrupts.
|
||||
*/
|
||||
#if DEBUG_TIME_LOCKS
|
||||
|
||||
#define TIMING_POINTS 20 /* timing resolution */
|
||||
#define TIMING_CATEGORIES 20
|
||||
#define TIMING_NAME 10
|
||||
|
||||
/* Enable prints such as
|
||||
* . send/receive failed due to deadlock or dead source or dead destination
|
||||
* . trap not allowed
|
||||
@ -29,6 +20,15 @@
|
||||
*/
|
||||
#define DEBUG_ENABLE_IPC_WARNINGS 0
|
||||
|
||||
/* It's interesting to measure the time spent withing locked regions, because
|
||||
* this is the time that the system is deaf to interrupts.
|
||||
*/
|
||||
#if DEBUG_TIME_LOCKS
|
||||
|
||||
#define TIMING_POINTS 20 /* timing resolution */
|
||||
#define TIMING_CATEGORIES 20
|
||||
#define TIMING_NAME 10
|
||||
|
||||
/* Definition of the data structure to store lock() timing data. */
|
||||
struct lock_timingdata {
|
||||
char names[TIMING_NAME];
|
||||
|
@ -82,7 +82,7 @@ PUBLIC char *t_stack[TOT_STACK_SPACE / sizeof(char *)];
|
||||
#define PM_C ~(c(SYS_DEVIO) | c(SYS_SDEVIO) | c(SYS_VDEVIO) | c(SYS_IRQCTL) | c(SYS_INT86))
|
||||
#define FS_C (c(SYS_KILL) | c(SYS_VIRCOPY) | c(SYS_VIRVCOPY) | c(SYS_UMAP) | c(SYS_GETINFO) | c(SYS_EXIT) | c(SYS_TIMES) | c(SYS_SETALARM))
|
||||
#define DRV_C (FS_C | c(SYS_SEGCTL) | c(SYS_IRQCTL) | c(SYS_INT86) | c(SYS_DEVIO) | c(SYS_VDEVIO) | c(SYS_SDEVIO))
|
||||
#define PCI_C (c(SYS_VIRCOPY) | c(SYS_DEVIO) | c(SYS_VDEVIO) | c(SYS_SDEVIO) | c(SYS_PRIVCTL))
|
||||
#define PCI_C (c(SYS_VIRCOPY) | c(SYS_DEVIO) | c(SYS_VDEVIO) | c(SYS_SDEVIO) | c(SYS_PRIVCTL) | c(SYS_GETINFO))
|
||||
#define TTY_C (DRV_C | c(SYS_ABORT) | c(SYS_VM_MAP) | c(SYS_IOPENABLE))
|
||||
#define MEM_C (DRV_C | c(SYS_PHYSCOPY) | c(SYS_PHYSVCOPY) | c(SYS_VM_MAP) | \
|
||||
c(SYS_IOPENABLE))
|
||||
|
Loading…
x
Reference in New Issue
Block a user