summaryrefslogtreecommitdiff
path: root/src/kernel/main.c
diff options
context:
space:
mode:
authorBenji Dial <benji6283@gmail.com>2020-09-19 14:53:29 -0400
committerBenji Dial <benji6283@gmail.com>2020-09-19 14:53:29 -0400
commitde20d7430df08731d9108acb83e1234ba7f1fe16 (patch)
tree8646f3d1bae3d30391df34766e3e58c0c2af8aab /src/kernel/main.c
parent20853582d5385d12421433d21910e783caa00764 (diff)
downloadportland-os-de20d7430df08731d9108acb83e1234ba7f1fe16.tar.gz
file manager
Diffstat (limited to 'src/kernel/main.c')
-rw-r--r--src/kernel/main.c21
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");