tkernel_2/lib/libtm/src/tmon.h | bare source | permlink (0.02 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 TRON Forum(http://www.tron.org/) at 2015/06/01. 11: * 12: *---------------------------------------------------------------------- 13: */ 14: 15: /* 16: * @(#)tmon.h (libtm) 17: * 18: * T-Monitor library common definitions 19: * 20: * Also accessed from the assembler 21: */ 22: 23: #ifndef _in_asm_source_ 24: # include <basic.h> 25: # include <tm/tmonitor.h> 26: #else 27: # include <machine.h> 28: # include "tmsvc.h" 29: #endif 30: #include <tk/errno.h> 31: 32: /* 33: * Function code 34: */ 35: #define TM_MONITOR 0 36: #define TM_GETCHAR 1 37: #define TM_PUTCHAR 2 38: #define TM_GETLINE 3 39: #define TM_PUTSTRING 4 40: #define TM_COMMAND 5 41: #define TM_READDISK 6 42: #define TM_WRITEDISK 7 43: #define TM_INFODISK 8 44: #define TM_EXIT 9 45: 46: #define TM_EXTSVC 255