FreeCalypso > hg > fc-selenite
comparison src/gpf/osl/os_mis_ir.c @ 6:8b2a9a374324
src/gpf: addition of Magnetite src/gpf2
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sun, 15 Jul 2018 08:15:49 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
5:1ea54a97e831 | 6:8b2a9a374324 |
---|---|
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 } |