diff options
author | Simon Glass <sjg@chromium.org> | 2025-03-15 14:25:26 +0000 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2025-04-03 11:41:55 -0600 |
commit | 6f18c59315ac3eed41a9a120546e2f93bcc38f94 (patch) | |
tree | 09c94ccfc478f3f371c7cce779e3d3ee272d2921 /arch/x86/lib/bios_interrupts.c | |
parent | 6f30ae6cd6eb8f297a975daa82c9aa6292b56e8f (diff) |
x86: qemu: Avoid accessing BSS too early
BSS is placed in DRAM which is actually available early with QEMU. But
it is cleared by the init sequence, so values stored there are lost.
Move the system-type flag into a function, instead.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/x86/lib/bios_interrupts.c')
0 files changed, 0 insertions, 0 deletions