#
b4b4e563 |
| 01-Sep-2022 |
krw <krw@openbsd.org> |
Stop setting d_bbsize and d_sbsize. Nobody has paid any attention for some time.
ok otto@ as part of larger diff
|
#
3e58d19e |
| 09-Dec-2020 |
krw <krw@openbsd.org> |
Use daddr_t and not daddr32_t in boot media.
At a minimum, amd64/i386 should now boot from 4TB GPT formatted disks.
More daddr32_t terminations with extreme prejudice to follow.
Tested by various,
Use daddr_t and not daddr32_t in boot media.
At a minimum, amd64/i386 should now boot from 4TB GPT formatted disks.
More daddr32_t terminations with extreme prejudice to follow.
Tested by various, in snaps for a few days.
ok deraadt@
show more ...
|
#
5f717200 |
| 24-Jun-2019 |
mlarkin <mlarkin@openbsd.org> |
Remove a 15 year old #if 0 and wrap a long line (KNF)
|
#
43d589df |
| 10-May-2019 |
mlarkin <mlarkin@openbsd.org> |
Disentangle #ifdef EFIBOOT.
Separate out files used by both BIOS and EFI boot modes. These files had many #ifdef EFIBOOT code paths that make it difficult to move forward with changes needed to supp
Disentangle #ifdef EFIBOOT.
Separate out files used by both BIOS and EFI boot modes. These files had many #ifdef EFIBOOT code paths that make it difficult to move forward with changes needed to support random base VA linked kernels.
ok deraadt@
show more ...
|
#
b392953e |
| 18-Jun-2018 |
krw <krw@openbsd.org> |
"a = 1; b = 100; c = a * b; if (c == 0) c = 100;"
is pretty silly. Nuke the if's.
ok millert@
|
#
bac5600a |
| 18-Dec-2017 |
fcambus <fcambus@openbsd.org> |
Add sizes for free() in libsa for amd64 and i386.
OK tom@, deraadt@
|
#
47026318 |
| 06-Nov-2017 |
yasuoka <yasuoka@openbsd.org> |
Call CD-ROM devices cdN instead of hdN. Also select the booted device properly when the system is booted from CD-ROM.
Initial diff from FUKAUMI Naoki.
|
#
6ce082ff |
| 21-Jul-2017 |
yasuoka <yasuoka@openbsd.org> |
Check the hibernation signature for softraid disks and select valid bsd for unhibernation. reported by Natasha Kerensikova. tested by Theo Buehler.
ok deraadt
|
#
1892fe18 |
| 22-Jun-2017 |
deraadt <deraadt@openbsd.org> |
Only print the magic '&' letter on a disk if the hibernate partition is valid. This is an undocumented little debugging diagnostic, much like the '*'.
|
#
7a1d3142 |
| 19-Jun-2017 |
deraadt <deraadt@openbsd.org> |
As early as possible, create a link /bsd.booted to the /bsd kernel we presume we booted from. If you boot from another kernel, we cannot help you later with hibernate, sorry -- The kernel does not g
As early as possible, create a link /bsd.booted to the /bsd kernel we presume we booted from. If you boot from another kernel, we cannot help you later with hibernate, sorry -- The kernel does not get a useable filename from the bootblocks.
In the bootblocks, detect a live hibernate signature and boot from /bsd.booted instead.
with yasuoka, lots of discussion with mlarkin, ok tom
show more ...
|
#
65f4a3c7 |
| 11-Sep-2016 |
jsing <jsing@openbsd.org> |
Rename softraid boot files, which are currently in an MD location. This will allow us to bring in a MI softraid.{c,h} in lib/libsa.
|
#
7b5f1cbe |
| 02-Sep-2015 |
yasuoka <yasuoka@openbsd.org> |
Initial commit of uefi boot loader of OpenBSD.
ok deraadt yuo
|
#
ef432583 |
| 12-Jul-2014 |
tedu <tedu@openbsd.org> |
revert more free fallout
|
#
f8e6c425 |
| 12-Jul-2014 |
tedu <tedu@openbsd.org> |
add a size argument to free. will be used soon, but for now default to 0. after discussions with beck deraadt kettenis.
|
#
862ef960 |
| 05-Nov-2013 |
krw <krw@openbsd.org> |
Replace direct references to p_size, p_offset and d_secperunit with DL_[GET|SET]PSIZE(), DL_[GET|SET]POFFSET(), DL_[GET|SET]DSIZE() in order to get|set correct value that includes the high bits of th
Replace direct references to p_size, p_offset and d_secperunit with DL_[GET|SET]PSIZE(), DL_[GET|SET]POFFSET(), DL_[GET|SET]DSIZE() in order to get|set correct value that includes the high bits of the value.
show more ...
|
#
ae539668 |
| 30-Oct-2012 |
jsing <jsing@openbsd.org> |
Apply a bunch of style(9) and whitespace fixes to i386/amd64 libsa, making the code actually diffable. No binary change.
|
#
92befcdd |
| 27-Oct-2012 |
jsing <jsing@openbsd.org> |
Move the code for softraid boot into separate files, leaving only minimal hooks that are called from the normal code path. This allows softraid boot support to be completely enabled or disabled at co
Move the code for softraid boot into separate files, leaving only minimal hooks that are called from the normal code path. This allows softraid boot support to be completely enabled or disabled at compile time. For boot(8) all softraid boot support is now enabled by default, including support for booting from crypto volumes. Disable softraid boot support for fdboot, which further shrinks the binary.
show more ...
|
#
70197c51 |
| 09-Oct-2012 |
jsing <jsing@openbsd.org> |
Teach amd64 boot(8) how to access a softraid crypto volume. This allows for full disk encryption since the kernel can now be loaded directly from the crypto volume, instead of needing to be on FFS.
Teach amd64 boot(8) how to access a softraid crypto volume. This allows for full disk encryption since the kernel can now be loaded directly from the crypto volume, instead of needing to be on FFS.
This is currently disabled by default, however can be enabled by compiling with boot(8) 'make -DBOOT_CRYPTO'.
show more ...
|
#
e995780e |
| 11-Jan-2012 |
jsing <jsing@openbsd.org> |
Teach OpenBSD/amd64 boot(8) how to access softraid(8) volumes. This allows a kernel to be loaded from a softraid RAID 1 volume. Furthermore, if you boot from a disk that is a member of a bootable sof
Teach OpenBSD/amd64 boot(8) how to access softraid(8) volumes. This allows a kernel to be loaded from a softraid RAID 1 volume. Furthermore, if you boot from a disk that is a member of a bootable softraid volume then it will default to booting from the softraid volume (sr[0-9]a:/bsd).
Discussed with deraadt@
show more ...
|
#
d8b1e0ec |
| 23-Apr-2010 |
jsing <jsing@openbsd.org> |
Recycle unused disklabel fields in order to create a disklabel unique identifier, allowing the disk to be identified without relying on the device name.
ok deraadt@ krw@ beck@ marco@ todd@
|
#
e96b4495 |
| 21-May-2009 |
krw <krw@openbsd.org> |
The only value that d_npartitions should have is MAXPARTITIONS.
|
#
70b37f97 |
| 10-Dec-2008 |
krw <krw@openbsd.org> |
When booting from a CD on i386/amd64, assume the root filesystem is on the CD rather than always asking for its location. Behaviour pointed out at OpenCON by Stephan Rickauer.
Tested by Stephan. ni
When booting from a CD on i386/amd64, assume the root filesystem is on the CD rather than always asking for its location. Behaviour pointed out at OpenCON by Stephan Rickauer.
Tested by Stephan. nick@ has no objections.
ok deraadt@
show more ...
|
#
0eed1f68 |
| 18-Jun-2007 |
krw <krw@openbsd.org> |
Calculate the disklabel checksum *after* filling in all the fields in the disklabel.
ok deraadt@
|
#
13900414 |
| 26-Sep-2006 |
krw <krw@openbsd.org> |
Zap D_REMOVABLE flag from disklabel. If you didn't already know that floppies and cd's were removable, displaying that fact in disklabel output was unlikely to help. And the display in disklabel was
Zap D_REMOVABLE flag from disklabel. If you didn't already know that floppies and cd's were removable, displaying that fact in disklabel output was unlikely to help. And the display in disklabel was the only use of D_REMOVABLE in the tree.
ok marco@
show more ...
|
#
338feb3a |
| 21-Aug-2004 |
tom <tom@openbsd.org> |
Enter cdboot, a CD-specific second-stage bootrap. Based on the i386 cdboot that Toby and I put together at the hackathon.
"go for it" deraadt@
|