diff options
Diffstat (limited to 'src/kernel/main.c')
-rw-r--r-- | src/kernel/main.c | 21 |
1 files changed, 4 insertions, 17 deletions
diff --git a/src/kernel/main.c b/src/kernel/main.c index 06b83d1..b34f816 100644 --- a/src/kernel/main.c +++ b/src/kernel/main.c @@ -15,9 +15,6 @@ #include "vga.h" #include "kbd.h" -void reset_tree(); -void tree(struct drive *d); - void _start_user_mode() __attribute__ ((noreturn)); __attribute__ ((noreturn)) @@ -35,6 +32,7 @@ void main() { pci_init(); +/* u16_dec(n_pci_devices, nbuf); logsz(nbuf); logsz(" PCI device(s) found:\n"); @@ -63,6 +61,7 @@ void main() { } logch('\n'); +*/ init_fat(); //other fs drivers @@ -72,6 +71,7 @@ void main() { init_ide(); //other drive drivers +/* u8_dec(n_drives, nbuf); logsz(nbuf); logsz(" drive(s) found:\n"); @@ -108,20 +108,7 @@ void main() { } logch('\n'); - - for (uint8_t n = 0; n < n_drives; ++n) { - if (drives[n].get_free_sectors(drives + n) == -1) - continue; - - u32_dec(n, nbuf); - logsz("sd"); - logsz(nbuf); - logsz(" tree:\n"); - - reset_tree(); - tree(drives + n); - logch('\n'); - } +*/ if (BOOT_INFO->support_flags & BIS_PAE) logsz("Processor supports PAE (but Portland OS does not yet).\n"); |