MultiArchUefiPkg
MultiArchUefiPkg copied to clipboard
Create EFI wrappers for GOP/SNP protocols
Even with working MMU-based trapping for seamless native->emulated calls, native wrappers around GOP/SNP/Block protocols may make sense as there will be less overhead involved.
The trap based mechanism involves:
- exception entry
- ImageFindByAddress
- RISCV only: instruction decoding to recover call target
- exception exit to EmulatorThunk
- EmulatorVmEntry
The wrapper based mechanism is just
- EmulatorVmEntry
Need to evaluate impact on I/O perf.