Hi to all.
I'm trying to write some EDK shell app for the latest Intel Skylake CPU,
and I need to use a custom GP exception handler during its work.
I'm trying to locate the EFI_CPU_ARCH_PROTOCOL by
using gEfiCpuArchProtocolGuid, then I'm using the RegisterInterruptHandler
protocol function (first with NULL to unregister the existing handler, and
then with pointer to my handler function), and it returns me EFI_SUCCESS in
both calls. But when I actually get a GP, it doesn't reach my custom
handler function, and probably continues to use some kind of default
exception handler that prints a default exception message on my serial port.
What I am doing wrong? Perhaps I'm compiling my app with a wrong library?
Which library should be used for EFI_CPU_ARCH_PROTOCOL to work correctly as
expected?
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.01.org/mailman/listinfo/edk2-devel