Working SDHOST/FatFS, boot partition mounts, some other minor fixes too.
[rpi-open-firmware.git] / arm_chainloader / drivers / fatfs / integer.h
1 /*-------------------------------------------*/
2 /* Integer type definitions for FatFs module */
3 /*-------------------------------------------*/
4
5 #ifndef _FF_INTEGER
6 #define _FF_INTEGER
7
8 #ifdef _WIN32 /* FatFs development platform */
9
10 #include <windows.h>
11 #include <tchar.h>
12 typedef unsigned __int64 QWORD;
13
14
15 #else /* Embedded platform */
16
17 /* These types MUST be 16-bit or 32-bit */
18 typedef int INT;
19 typedef unsigned int UINT;
20
21 /* This type MUST be 8-bit */
22 typedef unsigned char BYTE;
23
24 /* These types MUST be 16-bit */
25 typedef short SHORT;
26 typedef unsigned short WORD;
27 typedef unsigned short WCHAR;
28
29 /* These types MUST be 32-bit */
30 typedef long LONG;
31 typedef unsigned long DWORD;
32
33 /* This type MUST be 64-bit (Remove this for C89 compatibility) */
34 typedef unsigned long long QWORD;
35
36 #endif
37
38 #endif
This page took 0.071835 seconds and 4 git commands to generate.