dev_disk.h Source File

Back to the index.

dev_disk.h
Go to the documentation of this file.
1 #ifndef TESTMACHINE_DISK_H
2 #define TESTMACHINE_DISK_H
3 
4 /*
5  * Definitions used by the "disk" device in GXemul.
6  *
7  * This file is in the public domain.
8  */
9 
10 
11 #define DEV_DISK_ADDRESS 0x13000000
12 #define DEV_DISK_OFFSET 0x0000
13 #define DEV_DISK_OFFSET_HIGH32 0x0008
14 #define DEV_DISK_ID 0x0010
15 #define DEV_DISK_START_OPERATION 0x0020
16 #define DEV_DISK_STATUS 0x0030
17 #define DEV_DISK_BUFFER 0x4000
18 
19 #define DEV_DISK_BUFFER_LEN 0x200
20 
21 /* Operations: */
22 #define DEV_DISK_OPERATION_READ 0
23 #define DEV_DISK_OPERATION_WRITE 1
24 
25 
26 #endif /* TESTMACHINE_DISK_H */

Generated on Tue Aug 25 2020 19:25:06 for GXemul by doxygen 1.8.18