comparison gsm-fw/gpf/osl/os_mis_ir.c @ 440:631d273bb65e

OSL: os_mis_ir.c done
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sun, 22 Jun 2014 23:22:55 +0000
parents
children
comparison
equal deleted inserted replaced
439:c2da9dd01f85 440:631d273bb65e
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 }