mirror of
https://github.com/tianocore/edk2
synced 2026-08-27 00:23:19 -04:00
GCC 15 enforces stricter type checking for function pointers. When
passing EFI_PERIODIC_CALLBACK and EFI_EXCEPTION_CALLBACK to
ManageIdtEntryTable, explicit casts to CALLBACK_FUNC are required to
avoid incompatible pointer type errors.
Add explicit casts at the call sites in RegisterPeriodicCallback and
RegisterExceptionCallback functions.
Signed-off-by: Oliver Steffen <osteffen@redhat.com>
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| Ia32 | ||
| X64 | ||
| DebugSupport.c | ||
| DebugSupportDxe.inf | ||
| DebugSupportDxe.uni | ||
| DebugSupportDxeExtra.uni | ||