summaryrefslogtreecommitdiff
path: root/sys/dev/pci/czreg.h
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2012-10-08 12:46:38 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2012-10-08 12:46:38 +0000
commitc80420c025506ab24825769ca28a545e89f52f74 (patch)
treec347adf9db5e144da2f1d6e0184d66fed2d5fb06 /sys/dev/pci/czreg.h
parent67c0fab681d2964d05a3f58d939718713a369357 (diff)
Avoid accessing .data or .bss from real mode, since they may not be within
the current segment. Load and store the necessary BIOS registers from protected mode, preserving the register values across the real mode and protected mode switches by directly patching instructions. This allows for boot(8) to be larger than 64KB.
Diffstat (limited to 'sys/dev/pci/czreg.h')
0 files changed, 0 insertions, 0 deletions