FreeCalypso > hg > fc-magnetite
comparison src/gpf2/osl/os_mis_ir.c @ 487:91e8dac34ada
src/gpf2/osl: initial import from old freecalypso-sw tree
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Fri, 22 Jun 2018 05:56:16 +0000 |
parents | |
children | 2d1e5ad1d54f |
comparison
equal
deleted
inserted
replaced
486:c433cca731a3 | 487:91e8dac34ada |
---|---|
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 "gpfconf.h" /* FreeCalypso addition */ | |
8 #include "../../nucleus/nucleus.h" | |
9 #include "typedefs.h" | |
10 #include "os.h" | |
11 #include "gdi.h" | |
12 #include "os_types.h" | |
13 #include "os_glob.h" | |
14 | |
15 extern unsigned os_tick_to_time_multiplier; | |
16 | |
17 GLOBAL LONG | |
18 os_GetTime(OS_HANDLE Caller, OS_TIME *Time) | |
19 { | |
20 UNSIGNED Value; | |
21 | |
22 Value = NU_Retrieve_Clock(); | |
23 *Time = SYSTEM_TICKS_TO_TIME(Value); | |
24 return(OS_OK); | |
25 } |