00001 /* src_experimental/kernel/sys_var.c 00002 CubeOS Version 0.4.90 experimental 00003 Copyright (C) 1999,2000 Holger Kenn 00004 00005 CubeOS is free software; you can redistribute it and/or 00006 modify it under the terms of the GNU Library General Public 00007 License as published by the Free Software Foundation; either 00008 version 2 of the License, or any later version. 00009 00010 CubeOS is distributed in the hope that it will be useful, 00011 but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00013 Library General Public License for more details. 00014 00015 */ 00016 00021 unsigned int _KERN_sys_errorcode; 00022 int _KERN_sys_error; 00023 unsigned char TTY_Blocking_Serial_Out; 00024 unsigned long _time_seconds; 00025 unsigned short _time_ticks; 00026 unsigned short _KERN_quantum_count; 00027 unsigned short _KERN_context_srsave; 00028 unsigned short KERN_srsave; 00029 int _KERN_disablecount; 00030 int __MYPID; 00031 00037 void KERN_sysvarinit () 00038 { 00039 _KERN_disablecount = 0; 00040 KERN_srsave = 0x2100; 00041 }