From: Tony v. d. H. <to...@us...> - 2004-05-04 16:37:00
|
Update of /cvsroot/ro-oslib/OSLib/!OsLib/Source/Computer/oslib In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28845/!OsLib/Source/Computer/oslib Modified Files: SysLog.swi Log Message: SysLog defines functions to control logs by handle (20040504-3) Index: SysLog.swi =================================================================== RCS file: /cvsroot/ro-oslib/OSLib/!OsLib/Source/Computer/oslib/SysLog.swi,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** SysLog.swi 4 May 2004 15:49:54 -0000 1.2 --- SysLog.swi 4 May 2004 16:36:01 -0000 1.3 *************** *** 1,2 **** --- 1,4 ---- + // $Id$ + TITLE SysLog; *************** *** 15,18 **** --- 17,29 ---- SWI + SysLog_LogMessageByHandle = + ( NUMBER &4C880 "Log a message in a session log", + ENTRY + ( R0 = .Bits: handle, + R1 -> .Char: message, + R2 = .Int: priority + ) ); + + SWI SysLog_GetLogLevel = ( NUMBER &4C881 "Read the current logging level for a particular log", *************** *** 25,28 **** --- 36,49 ---- SWI + SysLog_GetLogLevelByHandle = + ( NUMBER &4C881 "Read the current logging level for a particular session log", + ENTRY + ( R0 = .Bits: handle + ), + EXIT + ( R0! = .Int: priority + ) ); + + SWI SysLog_FlushLog = ( NUMBER &4C882 "Writes any cached data from memory to the logs and *************** *** 33,36 **** --- 54,65 ---- SWI + SysLog_FlushLogByHandle = + ( NUMBER &4C882 "Writes any cached data from memory to the logs and + closes the files", + ENTRY + ( R0 = .Bits: handle + ) ); + + SWI SysLog_SetLogLevel = ( NUMBER &4C883 "Set the current logging level for a particular log", *************** *** 41,44 **** --- 70,81 ---- SWI + SysLog_SetLogLevelByHandle = + ( NUMBER &4C883 "Set the current logging level for a particular log", + ENTRY + ( R0 = .Bits: handle, + R1 = .Int: priority + ) ); + + SWI SysLog_LogUnstamped = ( NUMBER &4C884 "Log a message in a named system log or session log *************** *** 51,54 **** --- 88,101 ---- SWI + SysLog_LogUnstampedByHandle = + ( NUMBER &4C884 "Log a message in a session log + without stamping it with the time and date", + ENTRY + ( R0 = .Bits: handle, + R1 -> .Char: message, + R2 = .Int: priority + ) ); + + SWI SysLog_Indent = ( NUMBER &4C885 "Increases the indentation for a log", *************** *** 58,61 **** --- 105,115 ---- SWI + SysLog_IndentByHandle = + ( NUMBER &4C885 "Increases the indentation for a log", + ENTRY + ( R0 = .Bits: handle + ) ); + + SWI SysLog_UnIndent = ( NUMBER &4C886 "Decreases the indentation for a log", *************** *** 65,77 **** SWI SysLog_NoIndent = ( NUMBER &4C887 "Resets the indentation for a log", ENTRY ! ( R0 -> .Char: name_or_handle ) ); SWI SysLog_OpenSessionLog = ! ( NUMBER &4C888 "Open a session log file with a particular priority", ENTRY ( R0 -> .Char: name, --- 119,146 ---- SWI + SysLog_UnIndentByHandle = + ( NUMBER &4C886 "Decreases the indentation for a log", + ENTRY + ( R0 = .Bits: handle + ) ); + + SWI SysLog_NoIndent = ( NUMBER &4C887 "Resets the indentation for a log", ENTRY ! ( R0 -> .Char: handle ! ) ); ! ! SWI ! SysLog_NoIndentByHandle = ! ( NUMBER &4C887 "Resets the indentation for a log", ! ENTRY ! ( R0 = .Bits: handle ) ); SWI SysLog_OpenSessionLog = ! ( NUMBER &4C888 "Open a session log file with a particular priority ! - Prefer SysLog_OpenSessionLogByHandle", ENTRY ( R0 -> .Char: name, *************** *** 83,88 **** SWI SysLog_CloseSessionLog = ! ( NUMBER &4C889 "Close a session log and append it's date to the mail log", ENTRY ( R0 -> .Char: handle --- 152,169 ---- SWI + SysLog_OpenSessionLogByHandle = + ( NUMBER &4C888 "Open a session log file with a particular priority", + ENTRY + ( R0 -> .Char: name, + R1 = .Int: priority + ), + EXIT + ( R0! = .Bits: handle + ) ); + + SWI SysLog_CloseSessionLog = ! ( NUMBER &4C889 "Close a session log and append it's date to the mail log ! - Prefer SysLog_CloseSessionLogByHandle", ENTRY ( R0 -> .Char: handle *************** *** 90,93 **** --- 171,181 ---- SWI + SysLog_CloseSessionLogByHandle = + ( NUMBER &4C889 "Close a session log and append it's date to the mail log", + ENTRY + ( R0 = .Bits: handle + ) ); + + SWI SysLog_LogData = ( NUMBER &4C88A "Log a block of data as a hex dump", *************** *** 99,102 **** --- 187,202 ---- R4 -> .Data: base_address ) ); + + SWI + SysLog_LogDataByHandle = + ( NUMBER &4C88A "Log a block of data as a hex dump", + ENTRY + ( R0 = .Bits: handle, + R1 = .Int: priority, + R2 -> .Data: data, + R3 = .Int: data_size, + R4 -> .Data: base_address + ) ); + SWI SysLog_ReadErrorMessage = *************** *** 118,121 **** --- 218,229 ---- SWI + SysLog_LogCompleteByHandle = + ( NUMBER &4C88D "Flushes the names log and deallocates the space set + aside for it", + ENTRY + ( R0 = .Bits: handle + ) ); + + SWI SysLog_IRQMode = ( NUMBER &4C88E, |