bios_emulator: for non-x86, print warnings if PM_{inp, outp}* access is attempted
authorYuri Zaporozhets <yuriz@qrv-systems.net>
Tue, 5 Nov 2024 21:30:49 +0000 (22:30 +0100)
committerTom Rini <trini@konsulko.com>
Sun, 17 Nov 2024 02:54:16 +0000 (20:54 -0600)
commit18115aae5321dd559ef25e0097ea27f632aab1cc
tree5bf8b2e01121e40725afa3ecb01559efeeb45428
parente2032a0e4e55ea0958aae32f783f3a0726e34415
bios_emulator: for non-x86, print warnings if PM_{inp, outp}* access is attempted

Currently the PM_{inp,outp}* macros are completely broken on non-x86 architectures,
because they will essentially access random memory locations if called (and produce
a lot of rightful compilation warnings too). For now, replace those macros with
warnings (until the code is fixed), so the user at least knows that the emulator
attempted to access some x86 I/O port.

Signed-off-by: Yuri Zaporozhets <yuriz@qrv-systems.net>
drivers/bios_emulator/biosemui.h