History log of /openbsd/sys/arch/i386/stand/biosboot/biosboot.S (Results 1 – 25 of 45)
Revision Date Author Comments
# b076d4fb 30-May-2023 jsg <jsg@openbsd.org>

spelling
ok jmc@ guenther@ tb@


# c1de27d7 01-Sep-2022 krw <krw@openbsd.org>

Delete force CHS remnants here too.

Makes file identical to amd64 version again.

ok mlarkin@


# fe786928 09-Mar-2020 otto <otto@openbsd.org>

Recommit, now that we found out how to fix the BIOS related issues: go
back to a 4 byte add instruction.
We do not know *why* though, so if somebody likes a challenge...
Lots of help from semarie@ wh

Recommit, now that we found out how to fix the BIOS related issues: go
back to a 4 byte add instruction.
We do not know *why* though, so if somebody likes a challenge...
Lots of help from semarie@ who has a few systems showing the issue.
ok deraadt@

show more ...


# eac155ac 07-Mar-2020 otto <otto@openbsd.org>

Revert previous, there are BIOS that do not like these changes.
Sorry for the inconvenience. With help from semarie@.


# 9fbc2b83 28-Feb-2020 otto <otto@openbsd.org>

Adapt biosboot(8) so it can read boot(8) from an ffs2 filesystem.
To do this, installboot(8) patches an extra value into biosboot(8).
Code originally from Pedro Martelletto with a twist from myself a

Adapt biosboot(8) so it can read boot(8) from an ffs2 filesystem.
To do this, installboot(8) patches an extra value into biosboot(8).
Code originally from Pedro Martelletto with a twist from myself and
kettenis@; ok jsing@ kettenis@

show more ...


# ef93a5ee 05-Jul-2011 krw <krw@openbsd.org>

More non-512-byte sector groundwork. Don't let disklabel hint that
a ffs frag size can be less than the d_secsize of the disk. Make
sure amd64 writedisklabel() puts the disklabel where readdoslabel(

More non-512-byte sector groundwork. Don't let disklabel hint that
a ffs frag size can be less than the d_secsize of the disk. Make
sure amd64 writedisklabel() puts the disklabel where readdoslabel()
will read it. Tweak i386/amd64 installboot/biosboot so sectors are
indeed used where sectors are claimed.

Lets me fdisk, newfs, mount and installboot onto 2048 and 4096
byte sector devices. Other filesystem utilites will still hold
surprises.

Note that actually booting from such devices will await BIOSen that
acknowledge such devices as bootable.

ok guenther@

show more ...


# f634e714 30-Sep-2009 weingart <weingart@openbsd.org>

Fix comments to match reality.
Thank you Vladimir Kirillov <proger () hackndev ! com>


# 75771a6b 07-Sep-2007 weingart <weingart@openbsd.org>

Comment fix. It's 0x7F ELF, not 0xFF ELF.


# b9e4b788 31-May-2007 weingart <weingart@openbsd.org>

It's the time to squash antique bugs. This has been there
for some time. I can't believe it took a re-read for future
functionality plus something I wrote and kjell@ saved from '97
for me to find t

It's the time to squash antique bugs. This has been there
for some time. I can't believe it took a re-read for future
functionality plus something I wrote and kjell@ saved from '97
for me to find this.

ok tom@

show more ...


# 314d399b 10-Feb-2004 tom <tom@openbsd.org>

Enable interrupts before halt when we error out. Allows use of
Ctl-Alt-Del to reboot in case of failure.

Much testing nick@; thanks.

ok weingart@, deraadt@.


# 91a78840 26-Jan-2004 tom <tom@openbsd.org>

Major overhaul of biosboot and installboot, using EDD (LBA) reads if
the BIOS supports it. File location data now geometry-independent
(biosboot groks part of the inode), so installboot loses -h and

Major overhaul of biosboot and installboot, using EDD (LBA) reads if
the BIOS supports it. File location data now geometry-independent
(biosboot groks part of the inode), so installboot loses -h and -s.

Many thanks to all those brave enough to try the snapshots. Thanks
for the test reports, everyone.

ok deraadt@

show more ...


# 97abf93a 27-Jun-2003 weingart <weingart@openbsd.org>

Cleanup biosboot to remove uneeded 32-bit opcodes, initializations of
32-bit segment registers, and other things not really necessary. Cleanup
some comments while there as well. Tweak blocktable to

Cleanup biosboot to remove uneeded 32-bit opcodes, initializations of
32-bit segment registers, and other things not really necessary. Cleanup
some comments while there as well. Tweak blocktable to max size these
changes allow us. This should help in shrinking the code some, making
future changes easier.

nate@ ok.

show more ...


# a1ce454b 03-Jun-2003 mickey <mickey@openbsd.org>

three four kills


# d95e68c6 17-Apr-2003 drahn <drahn@openbsd.org>

i386 ELF bootloader. developed with weingart@


# 69753b5c 28-Aug-2002 mickey <mickey@openbsd.org>

ancient file name in .file; from pbastos@rdc.puc-rio.br


# b131660d 25-Jun-2002 mickey <mickey@openbsd.org>

and kill a now bogus comment


# fa860ec3 25-Jun-2002 mickey <mickey@openbsd.org>

this monkey has not been a mbr for a couple of years already


# 9a304ed4 21-Feb-2002 tdeval <tdeval@openbsd.org>

Pasto. Ok mickey@


# d8aa399c 04-Jul-1998 deraadt <deraadt@openbsd.org>

add nop; fixes Kapok Computer AMI WinBIOS boot sector detection garbage


# 9f2d58df 18-Apr-1998 deraadt <deraadt@openbsd.org>

i386 bootblocks that work for 2.3. A tale too long to tell


# 8a2e8c85 13-Apr-1998 deraadt <deraadt@openbsd.org>

the problem is in /boot, not in biosboot


# ce04e14c 11-Apr-1998 deraadt <deraadt@openbsd.org>

Well, the changes make do not work


# be46ac21 03-Apr-1998 deraadt <deraadt@openbsd.org>

new changes from weingart: -DDEBUG not needed anymore


# 3c8fa159 30-Mar-1998 deraadt <deraadt@openbsd.org>

temporary fixes to the bootblocks


# 7040ffa9 24-Feb-1998 weingart <weingart@openbsd.org>

Changes/updates to /boot stuff. More to come.
Fixes many divide by zero and pointer bugs.


12