Pointers
os2krnl (0xffaa) - system arena copy
InfoSegGDT
┌────────────────┬──────┬──────┬────┬────────────────────────────────────────┐│Field Name │Offset│Length│Type│Description │ ├────────────────┼──────┼──────┼────┼────────────────────────────────────────┤ │SIS_BigTime │+0 │4 │D │Time from 1-1-1970 in seconds │ ├────────────────┼──────┼──────┼────┼────────────────────────────────────────┤ │SIS_MsCount │+4 │4 │D │Freerunning milliseconds counter │ ├────────────────┼──────┼──────┼────┼────────────────────────────────────────┤ │SIS_HrsTime │+8 │1 │B │Hours │ ├────────────────┼──────┼──────┼────┼────────────────────────────────────────┤ │SIS_MinTime │+9 │1 │B │Minutes │ ├────────────────┼──────┼──────┼────┼────────────────────────────────────────┤ │SIS_SecTime │+a │1 │B │Seconds │ ├────────────────┼──────┼──────┼────┼────────────────────────────────────────┤ │SIS_HunTime │+b │1 │B │Hundredths of seconds │ ├────────────────┼──────┼──────┼────┼────────────────────────────────────────┤ │SIS_TimeZone │+c │2 │W │Timezone in min from GMT (Set to EST) │ ├────────────────┼──────┼──────┼────┼────────────────────────────────────────┤ │SIS_ClkIntrvl │+e │2 │W │Timer interval (units=0.0001 secs) │ ├────────────────┼──────┼──────┼────┼────────────────────────────────────────┤ │SIS_DayDate │+10 │1 │B │Day-of-month (1-31) │ ├────────────────┼──────┼──────┼────┼────────────────────────────────────────┤ │SIS_MonDate │+11 │1 │B │Month (1-12) │ ├────────────────┼──────┼──────┼────┼────────────────────────────────────────┤ │SIS_YrsDate │+12 │2 │W │Year (>= 1980) │ ├────────────────┼──────┼──────┼────┼────────────────────────────────────────┤ │SIS_DOWDate │+14 │1 │B │Day-of-week (1-1-80 = Tues = 3) │ ├────────────────┼──────┼──────┼────┼────────────────────────────────────────┤ │SIS_VerMajor │+15 │1 │B │Major version number │ ├────────────────┼──────┼──────┼────┼────────────────────────────────────────┤ │SIS_VerMinor │+16 │1 │B │Minor version number │ ├────────────────┼──────┼──────┼────┼────────────────────────────────────────┤ │SIS_RevLettr │+17 │1 │B │Revision letter │ ├────────────────┼──────┼──────┼────┼────────────────────────────────────────┤ │SIS_CurScrnGrp │+18 │1 │B │Fgnd screen group # │ ├────────────────┼──────┼──────┼────┼────────────────────────────────────────┤ │SIS_MaxScrnGrp │+19 │1 │B │Maximum number of screen groups │ ├────────────────┼──────┼──────┼────┼────────────────────────────────────────┤ │SIS_HugeShfCnt │+1a │1 │B │Shift count for huge segments │ ├────────────────┼──────┼──────┼────┼────────────────────────────────────────┤ │SIS_ProtMdOnly │+1b │1 │B │Protect-mode-only indicator │ ├────────────────┼──────┼──────┼────┼────────────────────────────────────────┤ │SIS_FgndPID │+1c │2 │W │Foreground process ID │ ├────────────────┼──────┼──────┼────┼────────────────────────────────────────┤ │SIS_Dynamic │+1e │1 │B │Dynamic variation flag (1=enabled) │ ├────────────────┼──────┼──────┼────┼────────────────────────────────────────┤ │SIS_MaxWait │+1f │1 │B │Maxwait (seconds) │ ├────────────────┼──────┼──────┼────┼────────────────────────────────────────┤ │SIS_MinSlice │+20 │2 │W │Minimum timeslice (milliseconds) │ ├────────────────┼──────┼──────┼────┼────────────────────────────────────────┤ │SIS_MaxSlice │+22 │2 │W │Maximum timeslice (milliseconds) │ ├────────────────┼──────┼──────┼────┼────────────────────────────────────────┤ │SIS_BootDrv │+24 │2 │W │Drive from which system was booted │ ├────────────────┼──────┼──────┼────┼────────────────────────────────────────┤ │SIS_mec_table │+26 │20 │B │Table of RAS Major Event Codes (MECs) │ ├────────────────┼──────┼──────┼────┼────────────────────────────────────────┤ │SIS_MaxVioWinSG │+46 │1 │B │Max. no. of VIO windowable SG's │ ├────────────────┼──────┼──────┼────┼────────────────────────────────────────┤ │SIS_MaxPresMgrSG│+47 │1 │B │Max. no. of Presentation Manager SG's │ ├────────────────┼──────┼──────┼────┼────────────────────────────────────────┤ │SIS_SysLog │+48 │2 │W │Error Logging Status │ ├────────────────┼──────┼──────┼────┼────────────────────────────────────────┤ │SIS_MMIOBase │+4a │2 │W │Memory mapped I/O selector │ ├────────────────┼──────┼──────┼────┼────────────────────────────────────────┤ │SIS_MMIOAddr │+4c │4 │D │Memory mapped I/O address │ ├────────────────┼──────┼──────┼────┼────────────────────────────────────────┤ │SIS_MaxVDMs │+50 │1 │B │Max. no. of Virtual DOS machines │ ├────────────────┼──────┼──────┼────┼────────────────────────────────────────┤ │SIS_Reserved │+51 │1 │B │ │ └────────────────┴──────┴──────┴────┴────────────────────────────────────────┘
SIS_SysLog flag definitions:
┌───────────────┬────────┬─────────────────┐ │Name │Bit Mask│Description │ ├───────────────┼────────┼─────────────────┤ │LF_LOGENABLE │0x0001 │Logging enabled │ ├───────────────┼────────┼─────────────────┤ │LF_LOGAVAILABLE│0x0002 │Logging available│ └───────────────┴────────┴─────────────────┘