FreeCalypso > hg > fc-tourmaline
comparison src/gpf/osl/os_mis_ir.c @ 0:4e78acac3d88
src/{condat,cs,gpf,nucleus}: import from Selenite
| author | Mychaela Falconia <falcon@freecalypso.org> |
|---|---|
| date | Fri, 16 Oct 2020 06:23:26 +0000 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:4e78acac3d88 |
|---|---|
| 1 /* | |
| 2 * This C module is a reconstruction based on the disassembly of | |
| 3 * os_mis.obj in frame_na7_db_ir.lib from the Leonardo package. | |
| 4 */ | |
| 5 | |
| 6 /* subset of included headers from COFF symtab: */ | |
| 7 #include "nucleus.h" | |
| 8 #include "typedefs.h" | |
| 9 #include "os.h" | |
| 10 #include "gdi.h" | |
| 11 #include "os_types.h" | |
| 12 #include "os_glob.h" | |
| 13 | |
| 14 extern unsigned os_tick_to_time_multiplier; | |
| 15 | |
| 16 GLOBAL LONG | |
| 17 os_GetTime(OS_HANDLE Caller, OS_TIME *Time) | |
| 18 { | |
| 19 UNSIGNED Value; | |
| 20 | |
| 21 Value = NU_Retrieve_Clock(); | |
| 22 *Time = SYSTEM_TICKS_TO_TIME(Value); | |
| 23 return(OS_OK); | |
| 24 } |
