Subversion Repositories HelenOS

Rev

Rev 1787 | Rev 1923 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1787 Rev 1875
Line 45... Line 45...
45
#include <arch/interrupt.h>
45
#include <arch/interrupt.h>
46
#include <print.h>
46
#include <print.h>
47
#include <syscall/copy.h>
47
#include <syscall/copy.h>
48
#include <security/cap.h>
48
#include <security/cap.h>
49
#include <mm/as.h>
49
#include <mm/as.h>
-
 
50
#include <print.h>
50
 
51
 
51
#define GET_CHECK_PHONE(phone,phoneid,err) { \
52
#define GET_CHECK_PHONE(phone,phoneid,err) { \
52
      if (phoneid > IPC_MAX_PHONES) { err; } \
53
      if (phoneid > IPC_MAX_PHONES) { err; } \
53
      phone = &TASK->phones[phoneid]; \
54
      phone = &TASK->phones[phoneid]; \
54
}
55
}