summaryrefslogtreecommitdiffstats
path: root/sys/arch/sparc64/stand
AgeCommit message (Expand)AuthorFilesLines
2021-01-30satisfy -fno-commonderaadt2-4/+4
2020-12-09Use daddr_t and not daddr32_t in boot media.krw5-9/+9
2020-06-13Load CTF section to enable DDB's "show struct"kn2-4/+19
2020-06-05Qemu does not like we load ofwboot on top of the bootblocks and asotto1-3/+11
2020-05-26/etc/random.seed reuse can now be detected. The stat +T bit marks the filederaadt1-1/+7
2020-05-26Implement write support for block devices and add readdir and fchmodkettenis1-6/+10
2020-05-26increment version numbers, due to recent RB_GOODSEED and fchmod +T changesderaadt1-1/+1
2020-05-25fchmod() will be needed soon.deraadt1-3/+3
2020-05-25make loadrandom() return 0 for success, -1 for failure. While here,deraadt1-14/+14
2020-05-25Pass boothowto from bootloader to kernel using .openbsd.bootdata. To makekettenis2-4/+18
2020-04-02Change bootblocks to be able to read from ffs1, ffs2 and softraid.otto4-440/+651
2020-03-15Teach sparc64 boot(8) about ffs2 and fix a bug while there: devopen()otto3-5/+12
2020-01-04Remove BOOT_FLAGS and simplify the boot blocks logic.kettenis2-20/+19
2019-10-29Use arc4 to bit-spread the 512-byte random buffer over the .openbsd.randomdataderaadt4-14/+18
2019-08-04crank version, following fchmod changederaadt1-1/+1
2019-08-03Add F_WRITE support to the block layer (not yet used)deraadt1-6/+5
2019-05-10Add bsd.upgrade support to sparc64 bootloader.claudio2-2/+18
2019-04-20libsa's memcpy() is actually memmove(). make a proper memmove(), and givederaadt1-2/+2
2018-12-31Cleanup bootloader code. Compile with -ffreestanding and add ffs.S as aclaudio12-19/+43
2018-08-10Bump boot loader versions for softraid passphrase handling change.jsing1-1/+1
2018-08-10Retry on incorrect passphrase for softraid crypto boot.jsing1-2/+2
2018-06-26The disk specification in an Open Firmware device path depends on the buskettenis3-4/+32
2018-03-29Make sparc64 ofwboot open the softraid boot chunk early on and keep thestsp6-56/+62
2017-10-17remove the remaining references to .depend files since nothing creates themnaddy1-4/+1
2016-11-06Do not create machine@ symlinks in obj as root during includes:, buttb3-6/+9
2016-09-18Bump boot loader versions due to bcrypt pbkdf support.jsing1-1/+1
2016-09-18Add bcrypt pbkdf support to the softraid crypto boot loader code.jsing1-3/+3
2016-09-13crank bootloader version after .SUNW_ctf changejasper1-1/+1
2016-09-11Switch sparc64 boot code to libsa MI softraid.jsing5-214/+16
2016-09-11Update header guards.jsing1-4/+4
2016-09-11Rename softraid boot files, which are currently in an MD location. Thisjsing5-9/+9
2016-09-10Clean up some softraid crypto code - rename struct sr_crypto_kdf_pbkdf2 tojsing1-3/+3
2016-09-10Rename libsa pbkdf2.c to pkcs5_pbkdf2.c so that we match libutil.jsing2-4/+4
2016-07-30Prep for relro: make sure it's off for any non-PIE stand/ programguenther1-2/+2
2016-03-14Change a bunch of (<blah> *)0 to NULL.krw1-2/+2
2016-03-07Sync no-argument function declaration and definition by adding (void).naddy1-2/+2
2016-01-20Check for disks deeper than 4 levels down in the Open Firmware device tree.stsp1-4/+4
2015-11-16Replace unbounded gets() in libsa with getln() which takes a buffer size,miod2-7/+7
2015-10-28Support backspace in softraid boot passphrase prompt.jsing1-1/+5
2015-10-01Remove more blinding trailing whitespace.krw1-13/+13
2015-09-14unify free(NULL,size) behaviour by allowing passing NULLsemarie1-2/+7
2015-07-23Missed file in *_data_offset -> *_data_blkno switch.krw1-4/+4
2015-07-19Use DEV_BSIZE instead of 512 where appropriate. Use DL_SECTOBLK()krw1-10/+11
2014-12-11Delete #ifdef'd code that hasn't been compiled in years from sparc64 ofwboot.stsp3-192/+8
2014-12-09Check strlcpy(), strlcat(), and snprintf() return values in sparc64 ofwboot.stsp3-33/+71
2014-12-04The sparc64 Open Firmware package-to-path call (used since softraid bootstsp1-5/+23
2014-11-26Introduce softraid boot support to sparc64 ofwboot.stsp9-65/+498
2014-11-26Add softraid support to sparc64 first-level boot blocks.stsp2-34/+170
2014-11-26Add softraid boot support code files ported by me to sparc64 from amd64.stsp2-0/+667
2014-11-26Copy some Open Firmware interface functions from the kernel to ofwboot.stsp2-2/+70