History log of /openbsd-current/sys/arch/landisk/stand/boot/libsa.h
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.10 23-Feb-2023 miod

Remove dangerous user-settable "addr" variable from MI boot loader, and
only compile tty-related code (stty command, tty variable) on platforms
where it makes sense for the boot loader to control it, rather than the
PROM/firmware/whatever.


Revision tags: OPENBSD_7_2_BASE
# 1.9 24-Aug-2022 miod

Add prototype declarations for a bunch of functions.


Revision tags: OPENBSD_6_9_BASE OPENBSD_7_0_BASE OPENBSD_7_1_BASE
# 1.8 09-Dec-2020 krw

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@


Revision tags: OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE
# 1.7 17-Jul-2014 miod

Turn the console code into regular cons_decl() ones, to better fit libsa
getchar/putchar and be able to link again. Crank minor version.


# 1.6 13-Jul-2014 jasper

move putchar() into libsa

"sure" miod@


# 1.5 12-Jul-2014 jasper

move getchar() into libsa where applicable

ok miod@


Revision tags: OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE
# 1.4 13-Mar-2011 deraadt

Change daddr_t to daddr32_t. The bootblocks on our architectures only
do 32-bit block spanning. If later on we get some that can/should do
64-bit, that can be done now using daddr64_t (but of course, we are taking
this step to finalize the daddr_t 64-bit conversion).
ok miod krw


Revision tags: OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE
# 1.3 29-Oct-2006 drahn

Disable cache before jumping into the kernel, makes bootloader more reliable.
ok miod@


# 1.2 11-Oct-2006 drahn

flush the cache before jumping into the just loaded kernel.
Now it succesfully gets into the kernel 100%


# 1.1 06-Oct-2006 mickey

w/ help of netbsd srcs and some mother unzel made it lift off


# 1.9 24-Aug-2022 miod

Add prototype declarations for a bunch of functions.


Revision tags: OPENBSD_6_9_BASE OPENBSD_7_0_BASE OPENBSD_7_1_BASE
# 1.8 09-Dec-2020 krw

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@


Revision tags: OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE
# 1.7 17-Jul-2014 miod

Turn the console code into regular cons_decl() ones, to better fit libsa
getchar/putchar and be able to link again. Crank minor version.


# 1.6 13-Jul-2014 jasper

move putchar() into libsa

"sure" miod@


# 1.5 12-Jul-2014 jasper

move getchar() into libsa where applicable

ok miod@


Revision tags: OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE
# 1.4 13-Mar-2011 deraadt

Change daddr_t to daddr32_t. The bootblocks on our architectures only
do 32-bit block spanning. If later on we get some that can/should do
64-bit, that can be done now using daddr64_t (but of course, we are taking
this step to finalize the daddr_t 64-bit conversion).
ok miod krw


Revision tags: OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE
# 1.3 29-Oct-2006 drahn

Disable cache before jumping into the kernel, makes bootloader more reliable.
ok miod@


# 1.2 11-Oct-2006 drahn

flush the cache before jumping into the just loaded kernel.
Now it succesfully gets into the kernel 100%


# 1.1 06-Oct-2006 mickey

w/ help of netbsd srcs and some mother unzel made it lift off


# 1.8 09-Dec-2020 krw

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@


Revision tags: OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE
# 1.7 17-Jul-2014 miod

Turn the console code into regular cons_decl() ones, to better fit libsa
getchar/putchar and be able to link again. Crank minor version.


# 1.6 13-Jul-2014 jasper

move putchar() into libsa

"sure" miod@


# 1.5 12-Jul-2014 jasper

move getchar() into libsa where applicable

ok miod@


Revision tags: OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE
# 1.4 13-Mar-2011 deraadt

Change daddr_t to daddr32_t. The bootblocks on our architectures only
do 32-bit block spanning. If later on we get some that can/should do
64-bit, that can be done now using daddr64_t (but of course, we are taking
this step to finalize the daddr_t 64-bit conversion).
ok miod krw


Revision tags: OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE
# 1.3 29-Oct-2006 drahn

Disable cache before jumping into the kernel, makes bootloader more reliable.
ok miod@


# 1.2 11-Oct-2006 drahn

flush the cache before jumping into the just loaded kernel.
Now it succesfully gets into the kernel 100%


# 1.1 06-Oct-2006 mickey

w/ help of netbsd srcs and some mother unzel made it lift off


Revision tags: OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE
# 1.7 17-Jul-2014 miod

Turn the console code into regular cons_decl() ones, to better fit libsa
getchar/putchar and be able to link again. Crank minor version.


# 1.6 13-Jul-2014 jasper

move putchar() into libsa

"sure" miod@


# 1.5 12-Jul-2014 jasper

move getchar() into libsa where applicable

ok miod@


Revision tags: OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE
# 1.4 13-Mar-2011 deraadt

Change daddr_t to daddr32_t. The bootblocks on our architectures only
do 32-bit block spanning. If later on we get some that can/should do
64-bit, that can be done now using daddr64_t (but of course, we are taking
this step to finalize the daddr_t 64-bit conversion).
ok miod krw


Revision tags: OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE
# 1.3 29-Oct-2006 drahn

Disable cache before jumping into the kernel, makes bootloader more reliable.
ok miod@


# 1.2 11-Oct-2006 drahn

flush the cache before jumping into the just loaded kernel.
Now it succesfully gets into the kernel 100%


# 1.1 06-Oct-2006 mickey

w/ help of netbsd srcs and some mother unzel made it lift off