From d44bf5acb015edaeacc022f423bae4743b868f53 Mon Sep 17 00:00:00 2001 From: Christian Cunningham Date: Fri, 24 Dec 2021 14:30:23 -0800 Subject: Save USB for later --- src/sys/core.c | 7 ------- src/sys/core.h | 5 ----- 2 files changed, 12 deletions(-) (limited to 'src/sys') diff --git a/src/sys/core.c b/src/sys/core.c index 78d95b9..178b5f8 100644 --- a/src/sys/core.c +++ b/src/sys/core.c @@ -1,6 +1,5 @@ #include "../cpu/irq.h" #include "../drivers/uart.h" -#include "../drivers/usb.h" #include "../graphics/lfb.h" #include "../graphics/drawer.h" #include "../lib/mem.h" @@ -28,10 +27,6 @@ void sysinit() { // Enable UART GPU IRQ store32(1<<25, IRQ_ENABLE2); - // Enable USB Interrupt - store32(1<<9, IRQ_ENABLE1); - usbhost_start(); - // Enable Timer // As an IRQ store32(1<<0, IRQ_BASIC_ENABLE); @@ -133,6 +128,4 @@ void postinit() { } write_string(&g_Drawer, "\n> "); - - usb_trig(); } diff --git a/src/sys/core.h b/src/sys/core.h index 1a85537..74bac74 100644 --- a/src/sys/core.h +++ b/src/sys/core.h @@ -113,11 +113,6 @@ enum PM_RSTC_RESET = 0x00000102, }; -#define bool unsigned char -#define uint8_t unsigned char -#define uint16_t unsigned short -#define uint32_t unsigned long - void sysinit(); void postinit(); -- cgit v1.2.1