From: <th...@us...> - 2003-09-21 11:44:34
|
Update of /cvsroot/ro-oslib/OSLib/!OsLib/Source/Core/oslib In directory sc8-pr-cvs1:/tmp/cvs-serv10532/Source/Core/oslib Modified Files: OSReadSysInfo.swi Log Message: Added support for reading the address of the SWI dispatch table using OS_ReadSysInfo based on information posted to c.s.a.programmer in <4ba...@uk...>. (20030921-1, Tom Hughes) Index: OSReadSysInfo.swi =================================================================== RCS file: /cvsroot/ro-oslib/OSLib/!OsLib/Source/Core/oslib/OSReadSysInfo.swi,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** OSReadSysInfo.swi 25 Aug 2003 15:24:09 -0000 1.4 --- OSReadSysInfo.swi 21 Sep 2003 11:43:59 -0000 1.5 *************** *** 168,171 **** --- 168,182 ---- ) ), + OSReadSysInfo_KernelValue_SWIDispatchTable = + ( NUMBER 0x58, + ENTRY + ( R0 # 6, + R1 # 0, + R2 # 18 "Reads the address of the SWI dispatch table - RISC O S 5+" + ), + EXIT + ( R2! = .Ref .Data: dispatch_table + ) ), + OSReadSysInfo_LastAbortInfo = ( NUMBER 0x58, |