devices utility app
This commit is contained in:
@@ -1,9 +1,12 @@
|
||||
#ifndef _DEVICE_INFO_H
|
||||
#define _DEVICE_INFO_H
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
struct device_info {
|
||||
int type;
|
||||
char key[0x100];
|
||||
uint64_t flags;
|
||||
};
|
||||
|
||||
#endif // _DEVICE_INFO_H
|
||||
|
||||
@@ -7,6 +7,12 @@
|
||||
#define DEVICE_TYPE_DRIVE 3
|
||||
#define DEVICE_TYPE_USB_CTRL 4
|
||||
|
||||
/* Device flags */
|
||||
#define DEVICE_FLAG_PCI (1 << 0)
|
||||
#define DEVICE_FLAG_ISA (1 << 1)
|
||||
#define DEVICE_FLAG_USB (1 << 2)
|
||||
#define DEVICE_FLAG_VIRT (1 << 3)
|
||||
|
||||
/* debugconsole device */
|
||||
#define DEBUGCONSOLE_PUTSTR 0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user