blob: ba77ce6c14d108bf782be287c09ce66c6e3d8adc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
/*****************************************************************************
Copyright(c) 2009 FCI Inc. All Rights Reserved
File name : fci_oal.c
Description : OS Adaptation Layer
History :
----------------------------------------------------------------------
2009/09/13 jason initial
*******************************************************************************/
#include <linux/kernel.h>
#include <linux/delay.h>
#include "fci_types.h"
void PRINTF(HANDLE hDevice, char *fmt, ...)
{
va_list ap;
char str[256];
va_start(ap, fmt);
vsprintf(str, fmt, ap);
printk("%s", str);
va_end(ap);
}
void msWait(int ms)
{
msleep(ms);
}
|