Re: [PATCH for-8.1] hw/display: Compile vga.c as target-independent code

2023-04-13 Thread Fabiano Rosas
Thomas Huth writes: > The target checks here are only during the initialization, so they > are not performance critical. We can switch these to runtime checks > to avoid that we have to compile this file multiple times during > the build, and make the code ready for an universal build one day. >

[PATCH for-8.1] hw/display: Compile vga.c as target-independent code

2023-04-12 Thread Thomas Huth
The target checks here are only during the initialization, so they are not performance critical. We can switch these to runtime checks to avoid that we have to compile this file multiple times during the build, and make the code ready for an universal build one day. Signed-off-by: Thomas Huth ---