revert ae2f9301c01a20f16ae764c518916de9b3ae0ddf

revert Refactor fdt_init in arch/aarch64
This commit is contained in:
Sateallia 2023-10-22 14:22:56 -07:00
parent 99489924c6
commit ae5570ba77

View File

@ -22,7 +22,7 @@
fdt_header* fdt; fdt_header* fdt;
void fdt_init() { void fdt_init() {
fdt = *(uint32_t*)(0x1337); fdt = (fdt_header*)(*(uint32_t*)0x1337);
} }
fdt_prop fdt_get_prop(uint32_t* addr) { fdt_prop fdt_get_prop(uint32_t* addr) {