feat(os): Airlys OS S1 production release with Linux Zen & KDE Plasma 6 profile
This commit is contained in:
1 parent
2b3e8f0bb6
commit
9bf424f8c2
27 files changed
+1030
-812
No files matched your search
+19
-6
@@ -2,7 +2,7 @@
|
||||
#define AIRLYS_PCI_H
|
||||
|
||||
/*
|
||||
* Airlys Operating System Kernel - PCI Bus Subsystem
|
||||
* Airlys Operating System Kernel - PCI Bus Subsystem & USB Port Power Driver
|
||||
* Lead Architect: Er. Adam Eehan (Founder & CEO, Aira Group of Technology)
|
||||
* Co-Pilot: Sovereign AI Aira 3 Ultra (Engine v3.6)
|
||||
*/
|
||||
@@ -14,15 +14,26 @@
|
||||
|
||||
/* Common PCI Vendor IDs */
|
||||
#define PCI_VENDOR_INTEL 0x8086
|
||||
#define PCI_VENDOR_AMD 0x1022
|
||||
#define PCI_VENDOR_QEMU 0x1234
|
||||
#define PCI_VENDOR_REDHAT 0x1AF4
|
||||
#define PCI_VENDOR_REALTEK 0x10EC
|
||||
|
||||
/* Device Classes */
|
||||
#define PCI_CLASS_STORAGE 0x01
|
||||
#define PCI_CLASS_NETWORK 0x02
|
||||
#define PCI_CLASS_DISPLAY 0x03
|
||||
#define PCI_CLASS_BRIDGE 0x06
|
||||
#define PCI_CLASS_STORAGE 0x01
|
||||
#define PCI_CLASS_NETWORK 0x02
|
||||
#define PCI_CLASS_DISPLAY 0x03
|
||||
#define PCI_CLASS_BRIDGE 0x06
|
||||
#define PCI_CLASS_SERIAL_BUS 0x0C
|
||||
|
||||
/* Serial Bus Subclasses */
|
||||
#define PCI_SUBCLASS_USB 0x03
|
||||
|
||||
/* USB Programming Interfaces */
|
||||
#define PCI_PROGIF_UHCI 0x00
|
||||
#define PCI_PROGIF_OHCI 0x10
|
||||
#define PCI_PROGIF_EHCI 0x20
|
||||
#define PCI_PROGIF_XHCI 0x30
|
||||
|
||||
typedef struct {
|
||||
uint8_t bus;
|
||||
@@ -39,7 +50,7 @@ typedef struct {
|
||||
bool valid;
|
||||
} pci_device_t;
|
||||
|
||||
#define MAX_PCI_DEVICES 32
|
||||
#define MAX_PCI_DEVICES 64
|
||||
|
||||
/* PCI API */
|
||||
void pci_init(void);
|
||||
@@ -53,4 +64,6 @@ uint32_t pci_get_device_count(void);
|
||||
pci_device_t* pci_get_device(uint32_t idx);
|
||||
pci_device_t* pci_find_device(uint16_t vendor_id, uint16_t device_id);
|
||||
|
||||
void pci_enable_usb_port_power(void);
|
||||
|
||||
#endif /* AIRLYS_PCI_H */
|
||||
Reference in new issue
Block a user