Age | Commit message (Collapse) | Author |
|
is ELF" world. Eliminate use of them in amd64, arm64, armv7, i386,
macppc, mips64, and sparc64 code.
ok deraadt@ jca@ krw@
|
|
corrupted with the eflags value. Found by julius zint.
ok guenther
|
|
|
|
works if .data is within the same segment.
|
|
a static table. This allows the IDT to be placed in .bss and avoids the
"relocation truncated" errors that result from the linker trying to put
a 32-bit address into a 16-bit hole.
With input from Marco Peereboom.
ok weingart@
|
|
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.
|
|
|
|
from charlie root;
|
|
%bx. Fixes problem introduced in gidt.S r1.29, which could lead to an
incomplete memory map, and "too little memory available; running in
degraded mode", as found by Roy Morris rmorris (at) internetsecure (dot)
com. (Thanks for the report, and for testing the fix.)
Bump version on boot, cdboot and pxeboot accordingly.
ok weingart@
|
|
Make boot code use real mode with 64K segments instead of 1M
segments. Improves stability with some disk controller cards.
Also explicitly state operand size on some moves.
Bump version on boot, cdboot and pxeboot accordingly.
"just get them in" beck@ ok weingart@
|
|
intended to support network installs using bsd.rd over TFTP.
Thanks to the many who tested, including Diana Eichert.
ok deraadt@
|
|
|
|
|
|
|
|
|
|
clean NT bit in eflags after switching back into prot mode.
solves bug in 2940UW and HP recent motherboards bios combination.
some more flags should be set/clean at that point.
leave that for later investigation.
light optimize.
|
|
|
|
|
|
|
|
Fixes many divide by zero and pointer bugs.
|
|
|
|
|
|
Probe for BIOS supported disks.
Use BIOS to get geometry for supported disks.
All in preparation to passing the whole thing
to the kernel.
|
|
|
|
BOOTREL as a linear address, not segment one
more heap (;
|
|
|
|
|
|
|
|
if he puts the tree in an unbuildable state again..
anyway, all these problems came from the fact that etc/genassym.cf
wasn't even being used, and assym.h is where key defines were supposed
to be coming from. now we actually include etc/genassym.cf in the
genassym.sh processing, and remove the #includes i had in place to
work around it. now if mickey had committed machine/biosvar.h, etc/Makefile,
and these asm files all at the same time, there wouldn't have been
a problem....
|
|
1) missing include files in biosboot.S and gidt.S
2) macros in apm_init.S, biosdisk.S, gidt.S wrong case
|
|
|
|
|
|
save some 2-3k
|
|
|
|
no more explicit real<-->prot switching!
fix 2.88 floppy drives.....
kbd fixes coming soon!
test it!
|
|
|
|
|
|
print trapno in dump_regs.
no more NO_IDTR.
|