FreeCalypso > hg > freecalypso-citrine
comparison gpf/osl/os_mis_ir.c @ 0:75a11d740a02
initial import of gsm-fw from freecalypso-sw rev 1033:5ab737ac3ad7
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Thu, 09 Jun 2016 00:02:41 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:75a11d740a02 |
---|---|
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 } |