Draft: lab 3 irq wtf
This commit is contained in:
@@ -28,8 +28,8 @@ void _memory_traverse()
|
||||
{
|
||||
dtb_reserved_entries = make_vector(0);
|
||||
while (fdt_memory_cur->address != 0 || fdt_memory_cur->size != 0) {
|
||||
DEBUG(ntoh64(fdt_memory_cur->address));
|
||||
DEBUG(ntoh64(fdt_memory_cur->size));
|
||||
DEBUG_DTB(ntoh64(fdt_memory_cur->address));
|
||||
DEBUG_DTB(ntoh64(fdt_memory_cur->size));
|
||||
|
||||
VEC_PUSH(dtb_reserved_entries, fdt_memory_cur++);
|
||||
}
|
||||
@@ -101,8 +101,8 @@ void fdt_traverse(const vector_t *struct_cbs)
|
||||
dtb_end = dtb_start +
|
||||
ntoh32(((fdt_header_t *)dtb_start)->totalsize);
|
||||
|
||||
DEBUG(fdt_memory_cur);
|
||||
DEBUG(fdt_struct_cur);
|
||||
DEBUG_DTB(fdt_memory_cur);
|
||||
DEBUG_DTB(fdt_struct_cur);
|
||||
_memory_traverse();
|
||||
DEBUG_DTB("memory traverse done");
|
||||
_struct_traverse("", struct_cbs);
|
||||
|
||||
Reference in New Issue
Block a user