Altered keyboard driver to correctly support Unicode
[tpg/acess2.git] / Kernel / include / drvutil.h
1 /*
2  * Acess2
3  * Common Driver/Filesystem Helper Functions
4  */
5
6 #ifndef _DRVUTIL_H_
7 #define _DRVUTIL_H_
8
9 #include <common.h>
10
11 // === TYPES ===
12 typedef Uint    (*tDrvUtil_Callback)(Uint64 Address, Uint Count, void *Buffer, Uint Argument);
13
14 // === PROTOTYPES ===
15 // --- Block IO Helpers ---
16 extern Uint64 DrvUtil_ReadBlock(Uint64 Start, Uint64 Length, void *Buffer,
17         tDrvUtil_Callback ReadBlocks, Uint64 BlockSize, Uint Argument);
18
19 extern Uint64 DrvUtil_WriteBlock(Uint64 Start, Uint64 Length, void *Buffer,
20         tDrvUtil_Callback ReadBlocks, tDrvUtil_Callback WriteBlocks,
21         Uint64 BlockSize, Uint Argument);
22
23 #endif

UCC git Repository :: git.ucc.asn.au