Unified-OS
  • #️Unified OS
  • 🚀Getting Started
    • Installation
    • Booting
  • Architecture
    • Overview
    • ACPI
    • APIC
    • Constructors
    • ELF - Executables
    • Higher Kernel
    • IDT (Interrupts)
    • IPC
    • Kernel Objects and Watchers
    • Memory Management
    • PCI
    • PIT
    • Scheduling
    • Serial
    • Signals
    • SMP
    • Spinlocks
    • Syscalls
    • UFEI Bootloader and Setup
  • Drivers
    • SATA
    • Video
  • Other
    • FAT-32
    • Filesystem
    • Heap
    • Page
  • Processes
    • Libraries
      • MLibc
      • Libunified
    • OS-Based Processes
      • Daemon
      • Window Manager
  • Contributing
    • Contributing
Powered by GitBook
On this page
  1. Architecture

ACPI

This comes form the RSDP(2) tables that are built into the motherbaord. This defines where the operating system can find information like the PCI tables or the types of battery, power commands.

Checking for tables

To check if a table is present in the RSDP(2) we compare header signatures.

struct SDTHeader{
	unsigned char Signature[4];
	uint32_t Length;
	uint8_t Revision;
	uint8_t Checksum;
	uint8_t OEMId[6];
	uint8_t OEMTableId[8];
	uint32_t OEMRevision;
	uint32_t CreatorId;
	uint32_t CreatorRevision;
} __attribute__((packed));
PreviousOverviewNextAPIC

Last updated 1 year ago