SayoriOS  0.3.3
rsdp.h
1 #pragma once
2 
3 #include "common.h"
4 
5 typedef struct RSDPDescriptor {
6  char signature[8];
7  uint8_t checksum;
8  char OEMID[6];
9  uint8_t revision;
10  uint32_t RSDTaddress;
11 } __attribute__ ((packed)) RSDPDescriptor;
12 
13 typedef struct RSDPDescriptorv2 {
14  RSDPDescriptor firstPart;
15 
16  uint32_t Length;
17  uint64_t XsdtAddress;
18  uint8_t ExtendedChecksum;
19  uint8_t reserved[3];
20 } __attribute__ ((packed)) RSDPDescriptorv2;
Основные определения ядра
struct registers __attribute__((packed))
Структура данных пакета от мыши
Definition: psf.h:19