| .. | |||
| KbcEmul.c | 7 days ago | ||
| KbcEmul.h | 7 days ago | ||
| KbcEmul.md | 7 days ago | ||
| README.md | 7 days ago | ||
Index: 0209
Size: 14,532 bytes (38C4h)
Phase: SMM (DXE_SMM_DRIVER)
Source Package: AmiModulePkg\KbcEmulation\KbcEmul
SMM-based Keyboard Controller (KBC) emulation driver. Emulates legacy PS/2 keyboard controller functionality (ports 0x60/0x64) from within SMM context on platforms that lack a physical KBC (e.g., Intel Purley server platforms). Traps IO accesses to the legacy KBC IO ports via SMI and provides emulated responses for keyboard, mouse, and AUX device commands. Includes a DXE counterpart (KbcEmulDxe) for boot-time initialization. Has a .reloc section for runtime relocation.
KbcEmulInitialize, then KbcEmulRegisterPortEmulation for KBC emulation setupsub_4E8) -- UEFI driver init; caches ImageHandle/SystemTable and runtime contextsub_628) -- Core KBC emulation: registers SMI I/O trap handlers for ports 0x60/0x64sub_2C0 / sub_1F94 / sub_360) -- KBC emulation context and notification teardown callbackssub_2074) -- Debug ASSERT handler referencing AutoGen.cqword_31E8 was recovered as ModuleStatus.unk_30F0 was recovered as KbcEmulationContext.KbcEmul (KbcEmul.c + KbcEmul.h).KbcEmulDxe (outside this folder).HR650X (Purley), built from AmiModulePkg\KbcEmulation, DEBUG VS2015 X64