summaryrefslogtreecommitdiff
path: root/sys/arch/i386/stand/libsa
AgeCommit message (Expand)Author
2022-12-08_C_LABEL() and _ASM_LABEL() are no longer useful in the "everythingPhilip Guenther
2022-09-01Stop setting d_bbsize and d_sbsize. Nobody has paidKenneth R Westerback
2022-07-07retire NexGen CPU identification codeDaniel Dickman
2022-03-29off-by-one check didn't recognize partition 'a' section on specifiedTheo de Raadt
2021-10-24#define open O_* flags in libsa/stand.h, so that bootblocks can useTheo de Raadt
2021-02-23remove some unused includesJonathan Gray
2020-12-09Use daddr_t and not daddr32_t in boot media.Kenneth R Westerback
2020-06-19fold the TSC value in fewer operations, same result; ok deraadt@Christian Weisgerber
2020-06-15Check rdrand for success and try up to ten times, as recommended by Intel.Christian Weisgerber
2020-06-14do not need assym.hTheo de Raadt
2020-06-14asm versions of mdrandom() no longer neededTheo de Raadt
2020-06-14rewrite mdrandom() in C. previously this XOR'd against rdrand if available,Theo de Raadt
2020-05-25Adjust mdrandom() to also return 0 for success, -1 for failureTheo de Raadt
2019-11-09move NT eflag clearing after register saving, otherwise %eax isTheo de Raadt
2019-06-08When loading intel microcode in the non-efi case, error if the file isJonathan Gray
2019-04-10change marks[] array to uint64_t, so the code can track full 64-bitTheo de Raadt
2019-03-07Return early in ucode loading if cpuid is not available. Should fixJonathan Gray
2018-12-16Avoid using a too big bounce buffer by splitting up large reads. AllowsOtto Moerbeek
2018-12-10Ensure that we close the file descriptor after loading microcode.Joel Sing
2018-12-10Do not call free on a non-allocated pointer.Joel Sing
2018-09-06fix whitespaceJonathan Gray
2018-08-23port the amd64 code for loading intel microcode on boot to i386Jonathan Gray
2018-08-10Retry on incorrect passphrase for softraid crypto boot.Joel Sing
2018-07-11Detect vmm(4) in the bootloader and automatically switch to the serialMike Larkin
2018-06-18"a = 1; b = 100; c = a * b; if (c == 0) c = 100;"Kenneth R Westerback
2017-12-18Add sizes for free() in libsa for amd64 and i386.Frederic Cambus
2017-09-08If you use sys/param.h, you don't need sys/types.hTheo de Raadt
2017-07-21Check the hibernation signature for softraid disks and select valid bsdYASUOKA Masahiko
2017-06-22Only print the magic '&' letter on a disk if the hibernate partition isTheo de Raadt
2017-06-19As early as possible, create a link /bsd.booted to the /bsd kernel weTheo de Raadt
2017-05-08Guard debug printf with NETIF_DEBUG ifdef like the other debug prints.Patrick Wildt
2016-09-18Fix a bug in the bounce buffer handling of BIOS disk I/O.Joel Sing
2016-09-11Switch i386 boot code to libsa MI softraid.Joel Sing
2016-09-11Update header guards.Joel Sing
2016-09-11Rename softraid boot files, which are currently in an MD location. ThisJoel Sing
2016-09-10Clean up some softraid crypto code - rename struct sr_crypto_kdf_pbkdf2 toJoel Sing
2016-09-10Rename libsa pbkdf2.c to pkcs5_pbkdf2.c so that we match libutil.Joel Sing
2016-06-10fix some typos in commentsJoshua Stein
2016-05-27Modify com_init to match the com driver initializaiton, and addBob Beck
2016-03-07Sync no-argument function declaration and definition by adding (void).Christian Weisgerber
2016-02-12Remove the "GenuineIntel" check from x86 mdrandom(). Checking theChristian Weisgerber
2016-01-12naddy observed the TSC fallback code could encounter (high word) %edxTheo de Raadt
2016-01-10match up code and comments, add missing $OpenBSD$; ok jsing@ a while agoChristian Weisgerber
2016-01-07We want the first, not the last, OpenBSD partition in the MBR.Kenneth R Westerback
2015-10-28Support backspace in softraid boot passphrase prompt.Joel Sing
2015-10-0816 years after E801 memprobe was disabled, probably safe to delete it.Ted Unangst
2015-10-08Simpify some code by noting that DOSBBSECTOR is 0, so "if (n >Kenneth R Westerback
2015-10-01Use DOS_LABELSECTOR rather than LABELSECTOR to indicate offset into anKenneth R Westerback
2015-09-19trivial "if(x) free(x)" replacement by "free(x)"Sebastien Marie
2015-09-18Remove support for building the boot blocks with DEBUGFLAGS=-D_TEST, which isMiod Vallat