Kernel: Remove kmalloc identity map requirement from USB keyboard

This is the last place requiring kmalloc identity mapping
This commit is contained in:
2026-05-03 01:19:01 +03:00
parent 8773e80917
commit d42b363fb1
2 changed files with 45 additions and 32 deletions

View File

@@ -11,6 +11,8 @@ namespace Kernel
BAN_NON_MOVABLE(USBKeyboard);
public:
BAN::ErrorOr<void> initialize() override;
void start_report() override;
void stop_report() override;
@@ -38,6 +40,8 @@ namespace Kernel
uint16_t m_toggle_mask { 0 };
uint16_t m_led_mask { 0 };
BAN::UniqPtr<DMARegion> m_led_region;
BAN::Vector<USBHID::Report> m_outputs;
BAN::Optional<uint8_t> m_repeat_scancode;