mirror of
https://github.com/EnderIce2/Fennix.git
synced 2025-07-02 19:09:16 +00:00
kernel: add aarch64 architecture support
Signed-off-by: EnderIce2 <enderice2@protonmail.com>
This commit is contained in:
@ -65,7 +65,9 @@ __no_sanitize("undefined") nsa bool CrashUHCIKeyboardDriver::Initialize()
|
||||
/* FIXME: stub */
|
||||
|
||||
debug("Initializing controller");
|
||||
#if defined(__amd64__) || defined(__i386__)
|
||||
outw((uint16_t)((uintptr_t)io + 0xC0), 0x8F00); /* Disable Legacy Mode Support */
|
||||
#endif
|
||||
|
||||
/* Disable All Interrupts */
|
||||
io->USBINTR.TOCRC = 0;
|
||||
|
Reference in New Issue
Block a user