CVSROOT: /cvs Module name: src Changes by: js...@cvs.openbsd.org 2012/10/08 06:46:37
Modified files: sys/arch/amd64/stand/libsa: gidt.S sys/arch/i386/stand/libsa: gidt.S Log message: 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.