Add support for limine RSDP request
This commit is contained in:
parent
4410dde3f2
commit
0cc86fc37d
8 changed files with 83 additions and 0 deletions
22
include/dev/apic.h
Normal file
22
include/dev/apic.h
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
#ifndef _APIC_H_
|
||||
#define _APIC_H_
|
||||
|
||||
#ifndef __ASM__
|
||||
|
||||
#include <kernel/common.h>
|
||||
|
||||
struct madt {
|
||||
char signature[4];
|
||||
uint32_t length;
|
||||
uint8_t revision;
|
||||
uint8_t checksum;
|
||||
char oemid[6];
|
||||
uint64_t oem_tableid;
|
||||
uint32_t oem_rev;
|
||||
uint32_t creator_id;
|
||||
uint32_t creator_revision;
|
||||
|
||||
} __attribute__((packed));
|
||||
|
||||
#endif /* __ASM__ */
|
||||
#endif /* _APIC_H_ */
|
||||
Loading…
Reference in a new issue