blob: 208a0dfb239aa01629f92d1261d02373087ddfdd [file] [log] [blame]
developere0cea0f2021-12-16 16:08:26 +08001// SPDX-License-Identifier: GPL-2.0
2/*
3 * $Id: proslic_timer_intf_win.c 109 2008-10-22 19:45:09Z lajordan@SILABS.COM $
4 *
5 * system.c
6 * System specific functions implementation file
7 *
8 * Author(s):
9 * laj
10 *
11 * Distributed by:
12 * Silicon Laboratories, Inc
13 *
14 * File Description:
15 * This is the implementation file for the system specific functions like timer functions.
16 *
17 * Dependancies:
18 * datatypes.h
19 *
20 */
21#include "config_inc/si_voice_datatypes.h"
22#include "inc/si_voice_timer_intf.h"
23#include <linux/time.h>
24#include <linux/timer.h>
25#include <linux/delay.h>
26#include "timer.h"
27//#include <asm/div64.h>
28#
29/*
30** Function: SYSTEM_TimerInit
31*/
32void TimerInit (systemTimer_S *pTimerObj){
33
34}
35
36
37/*
38** Function: SYSTEM_Delay
39*/
40int time_DelayWrapper (void *hTimer, int timeInMs){
41 mdelay(timeInMs);
42 return 0;
43}
44
45
46/*
47** Function: SYSTEM_TimeElapsed
48*/
49int time_TimeElapsedWrapper (void *hTimer, void *startTime, int *timeInMs){ *timeInMs = 1000;
50 return 0;
51}
52
53/*
54** Function: SYSTEM_GetTime
55*/
56int time_GetTimeWrapper (void *hTimer, void *time){
57// time->timestamp=0;
58 return 0;
59}
60
61/*
62** $Log: proslic_timer_intf_win.c,v $
63** Revision 1.5 2008/07/24 21:06:16 lajordan
64** no message
65**
66** Revision 1.4 2007/03/22 18:53:43 lajordan
67** fixed warningg
68**
69** Revision 1.3 2007/02/26 16:46:16 lajordan
70** cleaned up some warnings
71**
72** Revision 1.2 2007/02/16 23:55:07 lajordan
73** no message
74**
75** Revision 1.1.1.1 2006/07/13 20:26:08 lajordan
76** no message
77**
78** Revision 1.1 2006/07/07 21:38:56 lajordan
79** no message
80**
81** Revision 1.1.1.1 2006/07/06 22:06:23 lajordan
82** no message
83**
84** Revision 1.1 2006/06/29 19:17:21 laj
85** no message
86**
87** Revision 1.1 2006/06/21 22:42:26 laj
88** new api style
89**
90**
91*/