summaryrefslogtreecommitdiff
path: root/sys/arch/i386/stand
AgeCommit message (Collapse)Author
2013-04-04zap redundant assignmentsAlexander Hall
2013-03-23Avoid using DEV_BSHIFT, and use DEV_BSIZE instead.Theo de Raadt
2013-03-21NBPG -> PAGE_SIZE, PGSHIFT -> PAGE_SHIFT, PGOFSET -> PAGE_MASKTheo de Raadt
2013-01-18fix bogus dependencies, and allow mkdep to runMarc Espie
checked on amd64 by rpe@ okay jsing@
2013-01-18Generate assym.h where we need it, instead of reaching around into otherJoel Sing
object directories.
2013-01-18Clean up/standardise makefiles for i386/stand.Joel Sing
2013-01-16properly distinguish /boot and biosboot in informational and error messagesChristian Weisgerber
ok guenther@
2013-01-02Zero out sbv_maskkey to make it boot when there's a softraid cryptoMartynas Venckus
partition. OK jsing@.
2012-11-01Fix merge errors.Joel Sing
Found the hard way by deraadt@
2012-10-31Unbreak build on !i386.Joel Sing
Pointed out by deraadt@
2012-10-31Bump version numbers.Joel Sing
2012-10-31Enable softraid boot support for cdboot(8) and pxeboot(8).Joel Sing
2012-10-31Make cdboot(8) and pxeboot(8) work correctly when it is larger than 64KB inJoel Sing
size. When relocating use blocks that are a maximum of 32KB in size and increment the segment registers after relocating each block. This keeps us within the confines of the %cx register and the real mode segmented addressing.
2012-10-31Save and restore %ebx across the call to read. Otherwise we load the firstJoel Sing
64KB segment at 0x7c00 and any additional 64KB segments over top of each other at 0x10000.
2012-10-31Bump i386 boot(8) version.Joel Sing
2012-10-31Enable softraid boot support for i386 boot(8).Joel Sing
2012-10-31Bring softraid support to i386/stand/libsa.Joel Sing
2012-10-30Apply a bunch of style(9) and whitespace fixes to i386/amd64 libsa, makingJoel Sing
the code actually diffable. No binary change.
2012-10-30Actually remove the Makefiles.Joel Sing
2012-10-30Remove the now unused i386 libsa/libz Makefiles.Joel Sing
ok deraadt@
2012-10-29add (consistent) STANDARDS;Jason McIntyre
2012-10-29Build i386 cdboot(8) and pxeboot(8) using the same method as the amd64Joel Sing
versions. Compile all required sources directly, rather than linking against uninstalled libraries. Discussed with deraadt@
2012-10-25Some LIBC_SCCS found lurking in the shadowsTheo de Raadt
2012-10-13pxe spec reference is better placed in STANDARDS;Jason McIntyre
2012-10-13Only build fdboot on the appropriate architectures. Also fix the path toJoel Sing
check-boot.pl so that it works with both boot and fdboot.
2012-10-12Now that the file offset/alignment issue has been found and fixed, switchJoel Sing
back to using -N when linking i386 boot(8). This prevents issues with the .data file offset becoming mismatched with its LMA, once the binary grows.
2012-10-12Force 16 byte alignment in boot(8) srt0.S, since this is more likely to getJoel Sing
the required file offset (0x120) for the .text segment.
2012-10-12Add a script that checks the file offsets for boot(8)'s .text and .dataJoel Sing
sections match up with their LMAs. This is necessary since biosboot does not perform relocation. Discussed with deraadt@
2012-10-12Build a 'fdboot' that will be used for floppy disk media. This can be madeJoel Sing
smaller than the normal 'boot', however for now it is identical. ok deraadt@
2012-10-11Initialise the protected mode IDT after zeroing .bss - otherwise we wipeJoel Sing
the IDT that we have just finishing building.
2012-10-09Bump boot versions due to recent changes.Joel Sing
2012-10-09Put the real mode IDT and the GDT back in .text - having them in .data onlyJoel Sing
works if .data is within the same segment.
2012-10-09Remove -noinhibit-exec now that we no longer have to deal withJoel Sing
"relocation truncated" linker errors.
2012-10-09Dynamically build the Interrupt Descriptor Table (IDT), instead of usingJoel Sing
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@
2012-10-08Avoid accessing .data or .bss from real mode, since they may not be withinJoel Sing
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.
2012-09-27remove the zlib rfc text: these pages already point to gzip(1), whichJason McIntyre
has the references, and the rfc is not that relevant anyway;
2012-09-25Reduce the diff between amd64/stand and i386/stand, requested by deraadt@.Pascal Stumpf
These create essentially the same bootblocks, so the build system should not be diverging too much, or at least easily diffable. There is still a lot of work to be done here, but this is the low-hanging fruit. ok jsing@
2012-09-03remove a NOPIE= that was still lying aroundTheo de Raadt
2012-08-29Kill all NOPIE and NOPIE_FLAGS in i386/stand, replacing them with -fno-piePascal Stumpf
and -nopie directly. Binaries from a PIE system are identical to those from a recent snapshot. ok deraadt@
2012-08-21Add NOPIE= bits for sys/arch/*/stand to ensure that bootblocks will always bePascal Stumpf
built with -fno-pie. This gets the hairiest part of PIE out of the way ... ok deraadt@
2012-08-15use Lk for links;Jason McIntyre
2012-06-11serial -> serial port; ok phessler@Otto Moerbeek
2012-06-10Document the "machine comaddr" command.Mark Kettenis
2012-06-10Always allow serial console, even if the BIOS doesn't report the presence ofMark Kettenis
any serial ports. Otherwise the new code to use puc(4) ports as serial console isn't all that useful. ok sthen@, miod@
2012-06-04Fix serial port output.Marcus Glocker
OK weingart@
2012-06-03Add support for serial consoles at non-standard addresses. This implementsMark Kettenis
a new "machine comaddr" command that makes it possible to configure the io port used to access the serial port. This can be used to use serial ports on a puc(4) device as serial console.
2012-05-29Remove unused define CHAR_CHS_FORCE.Marcus Glocker
OK deraadt@
2012-03-09- remove a redundant note about tftpd; ok dlgJason McIntyre
- whilst here, normalise Nd
2012-01-11Pass the DUID of the boot disk via bootduid instead of rootduid, since itJoel Sing
is the DUID that we booted from, which is not always going to be the same as the DUID that we mount root on.
2011-12-03Remove an OpenBSD-specific tweak regarding .Xr spacingIngo Schwarze
and make it compatible with bsd.lv mandoc and with groff-1.21. This tweak was originally added for compatibility with groff-1.15, which is no longer needed. ok jmc@ kristaps@