History log of /openbsd/sys/arch/i386/stand/mbr/mbr.S (Results 1 – 25 of 27)
Revision Date Author Comments
# 4ed81583 02-Sep-2022 krw <krw@openbsd.org>

Adopt a terser specification of an MBR partition table of
64 zeros, suggested by miod@ a while ago.

ok mlarkin@


# 2a1e2e55 15-Aug-2022 daniel <daniel@openbsd.org>

drop detection code for 386sx/386dx CPUs

OpenBSD/i386 doesn't actually support running on 386sx or 386dx CPUs
so we don't need to test whether we're running on one of these CPUs
anymore.

The 486 (w

drop detection code for 386sx/386dx CPUs

OpenBSD/i386 doesn't actually support running on 386sx or 386dx CPUs
so we don't need to test whether we're running on one of these CPUs
anymore.

The 486 (which was launched in 1989) added a few new features over
the 386:
- an alignment check flag in EFLAGS
- 3 new userland instructions: bswap / cmpxchg / xadd
- 3 new kernel mode instructions: invd / wbinvd / invlpg
- new bits in CR0 (386 CPUs did not support ring0 write protection)
- new bits in CR3

In this diff, we remove the code that checks for the alignment check
flag as we've only supported Pentium (or newer) CPUs for some time.

The rest of the diff is about updating comments related to pre-486
CPUs. 2 files under arch/amd64 are updated to keep them in sync
with the arch/i386 updates.

ok mlarkin@, jsg@; tweak from miod@

show more ...


# 51249ee3 27-Jun-2022 deraadt <deraadt@openbsd.org>

Delete the ancient "hold Shift key to force CHS" code. Noone has needed
this in decades.
ok sthen krw


# e06b5b43 24-May-2022 krw <krw@openbsd.org>

fdisk(8) no longer uses the partition table it finds in
/usr/mdec/mbr. Make the partition table all zeros and
see if any hidden uses fall out.

ok deraadt@


# bd4e04c6 04-Jun-2012 mglocker <mglocker@openbsd.org>

Fix serial port output.

OK weingart@


# 4bd49a9a 29-May-2012 mglocker <mglocker@openbsd.org>

Remove unused define CHAR_CHS_FORCE.

OK deraadt@


# ef9decb1 25-Jun-2007 tom <tom@openbsd.org>

"of of" is wrong - it should be "off of" - but "from" is even nicer


# 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@.


# 4ffab3b9 05-Jan-2004 tom <tom@openbsd.org>

Major overhaul of our master boot record.

We now use EDD calls if the disk supports it, so we can boot partitions
that start above the 8 GB CHS limit. Of itself, this change does not
remove the cur

Major overhaul of our master boot record.

We now use EDD calls if the disk supports it, so we can boot partitions
that start above the 8 GB CHS limit. Of itself, this change does not
remove the current 8 GB limit for OpenBSD/i386.

Much testing nick@; thanks.

ok weingart@, deraadt@.

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@


# f78e0fe9 08-Jan-2002 kjell <kjell@openbsd.org>

Fix 16 vs. 32-bit mismatch. Solves the most common MBR hang.
This is from Mickey's tree. I inadvertently committed it
without his permission last time. ok mickey@


# ab933682 15-Dec-2001 mickey <mickey@openbsd.org>

first i gave you one of the reasons it mmakes thing better.
second i did not see the final diff.
third i never said you should commit this.
fourth, 10x for running around offending lusers i'm
trying

first i gave you one of the reasons it mmakes thing better.
second i did not see the final diff.
third i never said you should commit this.
fourth, 10x for running around offending lusers i'm
trying to resolve their problems with.

show more ...


# 7ecfad9b 15-Dec-2001 kjell <kjell@openbsd.org>

Fix a long-standing alignment bug by removing the 32-but call/return
on Lchr. Notice Lmessage is using Lchr's return, and it has always
been a 16-bit call.

This should be the root of many (most?) of

Fix a long-standing alignment bug by removing the 32-but call/return
on Lchr. Notice Lmessage is using Lchr's return, and it has always
been a 16-bit call.

This should be the root of many (most?) of the Drive:0 Partition:3
hangs.

tip o the hat to mickey, who fixed it without necessarily knowing it,
and toby, who put the final nail in.

gas sucks.

show more ...


# a5eeb932 11-Mar-1998 graichen <graichen@openbsd.org>

remove wrong end of comment which breaks compilation with -DSERIAL
enabled


# d0860acc 05-Nov-1997 mickey <mickey@openbsd.org>

define puts()


# 9ef5a7b5 29-Aug-1997 mickey <mickey@openbsd.org>

don't use private defines, use ones exported from includes


# d31f1886 13-Aug-1997 mickey <mickey@openbsd.org>

reuse ret code for both message and chr
some tab adjustment (4-pos tab is not good ;)


# 9c1eca1b 13-Aug-1997 niklas <niklas@openbsd.org>

typo


# 9b631a36 09-Aug-1997 weingart <weingart@openbsd.org>

Fix boot message


# f347b02b 08-Aug-1997 weingart <weingart@openbsd.org>

Sync up


# 4bd64134 08-Aug-1997 weingart <weingart@openbsd.org>

Temporary fix


# aa01a798 08-Aug-1997 weingart <weingart@openbsd.org>

More pedantic


# bead446e 08-Aug-1997 weingart <weingart@openbsd.org>

Thanks Niklas (nuke push/pop)


# 424e8394 07-Aug-1997 niklas <niklas@openbsd.org>

grammar


12