ladybird/Kernel/Devices
Jesse Buhagiar 375d269b21 Kernel/USB: Prevent system crash via correct UHCI inititilisation
It seems that not setting the framelist address register
was causing the entire system to lock up as it generated an insane
interrupt storm in the IRQ handler for the UHCI controller.
We now allocate a 4KiB aligned page via
`MemoryManager::allocate_supervisor_physical_page()` and set every
value to 1. In effect, this creates a framelist with each entry
being a "TERMINATE" entry in which the controller stalls until its'
1mS time slice is up.

Some more registers have also been set for consistency, though it
seems like this don't need to be set explicitly in software.
2021-01-09 13:48:15 +01:00
..
USB Kernel/USB: Prevent system crash via correct UHCI inititilisation 2021-01-09 13:48:15 +01:00
AsyncDeviceRequest.cpp Everywhere: Fix more typos 2020-12-31 01:47:41 +01:00
AsyncDeviceRequest.h Kernel: Implement an asynchronous device request stack 2020-11-12 18:04:30 +01:00
BlockDevice.cpp Kernel: Implement an asynchronous device request stack 2020-11-12 18:04:30 +01:00
BlockDevice.h Kernel: Return a correct name string of async write request 2020-12-17 19:36:56 +01:00
BXVGADevice.cpp Kernel: Pass "shared" flag to Region constructor 2021-01-02 16:57:31 +01:00
BXVGADevice.h Kernel: Add a method to determine the desired permissions of a Device 2020-12-27 23:07:44 +01:00
CharacterDevice.cpp Kernel: Move all code into the Kernel namespace 2020-02-16 01:27:42 +01:00
CharacterDevice.h Kernel: Move all code into the Kernel namespace 2020-02-16 01:27:42 +01:00
Device.cpp Kernel: Move block condition evaluation out of the Scheduler 2020-11-30 13:17:02 +01:00
Device.h Kernel: Add a method to determine the desired permissions of a Device 2020-12-27 23:07:44 +01:00
FullDevice.cpp Kernel: Make copy_to/from_user safe and remove unnecessary checks 2020-09-13 21:19:15 +02:00
FullDevice.h Kernel: Add a method to determine the desired permissions of a Device 2020-12-27 23:07:44 +01:00
I8042Controller.cpp Revert "Kernel: Keep reading from i8042 until the buffer is empty" 2020-11-14 22:09:48 +01:00
I8042Controller.h Kernel: Add I8042Controller to detect and manage PS/2 devices 2020-11-12 18:04:16 +01:00
KeyboardDevice.cpp AK: Remove custom %b format string specifier 2020-12-25 17:04:28 +01:00
KeyboardDevice.h Kernel: Add a method to determine the desired permissions of a Device 2020-12-27 23:07:44 +01:00
MBVGADevice.cpp Kernel: Pass "shared" flag to Region constructor 2021-01-02 16:57:31 +01:00
MBVGADevice.h Kernel: Add a method to determine the desired permissions of a Device 2020-12-27 23:07:44 +01:00
NullDevice.cpp Kernel: Make copy_to/from_user safe and remove unnecessary checks 2020-09-13 21:19:15 +02:00
NullDevice.h Kernel: Add a method to determine the desired permissions of a Device 2020-12-27 23:07:44 +01:00
PCSpeaker.cpp Meta+Kernel: Make clang-format-10 clean 2020-09-25 21:18:17 +02:00
PCSpeaker.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
PS2MouseDevice.cpp Kernel: Move block condition evaluation out of the Scheduler 2020-11-30 13:17:02 +01:00
PS2MouseDevice.h Kernel: Add a method to determine the desired permissions of a Device 2020-12-27 23:07:44 +01:00
RandomDevice.cpp Kernel: Make copy_to/from_user safe and remove unnecessary checks 2020-09-13 21:19:15 +02:00
RandomDevice.h Kernel: Add a method to determine the desired permissions of a Device 2020-12-27 23:07:44 +01:00
SB16.cpp Kernel: Fix some issues related to fixes and block conditions 2020-12-12 21:28:12 +01:00
SB16.h Kernel: Add a method to determine the desired permissions of a Device 2020-12-27 23:07:44 +01:00
SerialDevice.cpp Kernel: Make copy_to/from_user safe and remove unnecessary checks 2020-09-13 21:19:15 +02:00
SerialDevice.h Kernel: Add a method to determine the desired permissions of a Device 2020-12-27 23:07:44 +01:00
VMWareBackdoor.cpp Meta+Kernel: Make clang-format-10 clean 2020-09-25 21:18:17 +02:00
VMWareBackdoor.h Kernel: Switch singletons to use new Singleton class 2020-08-25 09:48:48 +02:00
ZeroDevice.cpp Kernel: Make copy_to/from_user safe and remove unnecessary checks 2020-09-13 21:19:15 +02:00
ZeroDevice.h Kernel: Add a method to determine the desired permissions of a Device 2020-12-27 23:07:44 +01:00