mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-10-27 23:23:09 +00:00
ab89b48143
The mapping between code and its handler is static. We can drop the HashMap in favour of a static match expression. This has two benefits: 1. No more memory allocation and deallocation for the HashMap. 2. Shorter look-up time. Signed-off-by: Wei Liu <liuwe@microsoft.com> |
||
---|---|---|
.. | ||
emulator | ||
gdt.rs | ||
mod.rs | ||
msr_index.rs | ||
regs.rs |