mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 14:38:11 +00:00
Kernel: Slap UNMAP_AFTER_INIT on a bunch more functions
We're now able to unmap 100 KiB of kernel text after init. :^)
This commit is contained in:
parent
e920c74cae
commit
2b2828ae52
36 changed files with 105 additions and 105 deletions
|
@ -404,7 +404,7 @@ static const Keyboard::CharacterMapData DEFAULT_CHARACTER_MAP =
|
|||
};
|
||||
// clang-format on
|
||||
|
||||
KeyboardDevice::KeyboardDevice()
|
||||
UNMAP_AFTER_INIT KeyboardDevice::KeyboardDevice()
|
||||
: IRQHandler(IRQ_KEYBOARD)
|
||||
, CharacterDevice(85, 1)
|
||||
, m_controller(I8042Controller::the())
|
||||
|
@ -412,11 +412,11 @@ KeyboardDevice::KeyboardDevice()
|
|||
{
|
||||
}
|
||||
|
||||
KeyboardDevice::~KeyboardDevice()
|
||||
UNMAP_AFTER_INIT KeyboardDevice::~KeyboardDevice()
|
||||
{
|
||||
}
|
||||
|
||||
bool KeyboardDevice::initialize()
|
||||
UNMAP_AFTER_INIT bool KeyboardDevice::initialize()
|
||||
{
|
||||
if (!m_controller.reset_device(I8042Controller::Device::Keyboard)) {
|
||||
dbgln("KeyboardDevice: I8042 controller failed to reset device");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue