MultiArchUefiPkg icon indicating copy to clipboard operation
MultiArchUefiPkg copied to clipboard

Create EFI wrappers for GOP/SNP protocols

Open andreiw opened this issue 2 years ago • 0 comments

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.

andreiw avatar Mar 22 '23 05:03 andreiw