tkernel_2/include/sys/ssid.h | bare source | permlink (0.01 seconds) |
1: /* 2: *---------------------------------------------------------------------- 3: * T-Kernel 2.0 Software Package 4: * 5: * Copyright 2011 by Ken Sakamura. 6: * This software is distributed under the latest version of T-License 2.x. 7: *---------------------------------------------------------------------- 8: * 9: * Released by T-Engine Forum(http://www.t-engine.org/) at 2011/05/17. 10: * Modified by T-Engine Forum at 2013/02/12. 11: * Modified by TRON Forum(http://www.tron.org/) at 2015/06/01. 12: * 13: *---------------------------------------------------------------------- 14: */ 15: 16: /* 17: * @(#)ssid.h (sys) 18: * 19: * Subsystem ID and subsystem priority 20: * 21: * (NB) Included also from the assembler source, 22: * so only macros can be described. 23: */ 24: 25: #ifndef __SYS_SSID_H__ 26: #define __SYS_SSID_H__ 27: 28: /* 29: * T-Kernel (1 - 9) 30: * 1 - 6 and 9 were previously used for other purposes. 31: */ 32: #define CONSIO_SVC 1 /* Console I/O */ 33: #define CONSIO_PRI 1 34: #define SERIAL_SVC 5 /* Low-level serial I/O */ 35: #define SERIAL_PRI 1 36: #define DEVICE_SVC 8 /* T-Kernel/SM device management */ 37: #define DEVICE_PRI 4 38: #define SYSTEM_SVC 9 /* T-Kernel/SM system management */ 39: #define SYSTEM_PRI 1 40: 41: /* 42: * Subsystem (10 - ) 43: */ 44: #define MM_SVC 11 /* Memory management */ 45: #define MM_PRI 2 46: #define SM_SVC 16 /* System management */ 47: #define SM_PRI 2 48: #define SEG_SVC 17 /* Segment management */ 49: #define SEG_PRI 2 50: #define H8IO_SVC 25 /* (T-Engine) H8 input/output */ 51: #define H8IO_PRI 8 52: 53: #endif /* __SYS_SSID_H__ */