devices utility app
All checks were successful
Build ISO image / build-and-deploy (push) Successful in 4m29s
Build documentation / build-and-deploy (push) Successful in 3m51s

This commit is contained in:
2026-04-03 02:33:47 +02:00
parent 9a16029f4e
commit d79556a58f
10 changed files with 87 additions and 1 deletions

View File

@@ -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

View File

@@ -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