T119: implement syscall and monitor interface to debug_print_capabilities
[barrelfish] / include / barrelfish_kpi / syscalls.h
index 797dd7f..96a55f3 100644 (file)
@@ -48,7 +48,7 @@ struct sysret {
 #define SYSCALL_NOP                 5     ///< No operation
 #define SYSCALL_PRINT               6     ///< Write to console
 
-/* Architecture-specific syscalls 
+/* Architecture-specific syscalls
  * FIXME: shouldn't these be in an arch-specific header? -AB */
 #ifdef __ARM_ARCH_7M__  //cortex-m3 on pandaboard
 //overwrite unused syscall instead of creating yet another global one
@@ -59,8 +59,12 @@ struct sysret {
 
 
 #define SYSCALL_X86_RELOAD_LDT      8     ///< Reload the LDT register (x86_64)
+#define SYSCALL_SUSPEND             9     ///< Suspend the CPU
+#define SYSCALL_GET_ABS_TIME        10    ///< Get time elapsed since boot
 
-#define SYSCALL_COUNT               9     ///< Number of syscalls [0..SYSCALL_COUNT - 1]
+#define SYSCALL_DEBUG_PRINT_CAPABILITIES 11
+
+#define SYSCALL_COUNT               12     ///< Number of syscalls [0..SYSCALL_COUNT - 1]
 
 /*
  * To understand system calls it might be helpful to know that there