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;
void fdt_init() {
fdt = *(uint32_t*)(0x1337);
fdt = (fdt_header*)(*(uint32_t*)0x1337);
}
fdt_prop fdt_get_prop(uint32_t* addr) {
@ -97,4 +97,4 @@ uint32_t* fdt_get_addr(const char* path) {
struct_ptr++;
}
return lastaddr;
}
}