Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-01-12 | naddy observed the TSC fallback code could encounter (high word) %edx | Theo de Raadt | |
being 0; after multiply there is no perturbance to the from-disk entropy buffer. Further investigation showed perturbance was biased towards the lower bytes of a word. Compensate for this with a hocus pocus bit-spreading operation which applies a result byte by byte. discussion with kettenis, tb, mlarkin, naddy ok naddy | |||
2016-01-10 | match up code and comments, add missing $OpenBSD$; ok jsing@ a while ago | Christian Weisgerber | |
2016-01-07 | We want the first, not the last, OpenBSD partition in the MBR. | Kenneth R Westerback | |
2015-11-23 | downfalls -> pitfalls | mmcc | |
2015-10-28 | Support backspace in softraid boot passphrase prompt. | Joel Sing | |
From uwe@ | |||
2015-10-08 | After replacement alloca() with alloc(), out-of-heap happened when booting | YASUOKA Masahiko | |
on a large block size (32K) partition. Increase the HEAP_LIMIT from 0x90000 to 0xA0000. try this, deraadt | |||
2015-10-08 | 16 years after E801 memprobe was disabled, probably safe to delete it. | Ted Unangst | |
ok deraadt jung kettenis ratchov | |||
2015-10-08 | Simpify some code by noting that DOSBBSECTOR is 0, so "if (n > | Kenneth R Westerback | |
n+DOSBBSSECTOR) ..." is pointless, as is "n = n + DOSBBSECTOR;". | |||
2015-10-01 | Use DOS_LABELSECTOR rather than LABELSECTOR to indicate offset into an | Kenneth R Westerback | |
OpenBSD partition when accessing the disklabel. For these files both are '1', but this makes the usage consistent across all archs. ok guenther@ miod@ | |||
2015-09-19 | trivial "if(x) free(x)" replacement by "free(x)" | Sebastien Marie | |
ok miod@ | |||
2015-09-18 | Remove support for building the boot blocks with DEBUGFLAGS=-D_TEST, which is | Miod Vallat | |
supposed to create a userland binary in order to test non-boot related functionality. This feature has been bitrotting in a non-compiling state for years, and causes a too-many-ifdefs disease now that there are intrusive EFI changes. No functional change. | |||
2015-09-10 | reduce .Nd to one line and kill .Tn while here | Ingo Schwarze | |
2015-09-02 | Fix the bios boot to pass the bootargs properly. | YASUOKA Masahiko | |
ok deraddt | |||
2015-09-02 | alloca() no longer needed | Theo de Raadt | |
2015-09-02 | Bring the boot changes on amd64 to i386. alloca is deleted. | YASUOKA Masahiko | |
Also fix the boot from BIOS and bump the version. input and ok deraadt | |||
2015-07-21 | A few more daddr_t fixes. Rename 'phys_off' variables to 'offset' | Kenneth R Westerback | |
since they are now relative to chunks. Use 'blkno' as normal variable name for daddr_t items rather than mix of 'blkno, blk, offset. Change field name ssd_data_offset to ssd_data_blkno since it is a block and not byte quantity. No intentional functional change. | |||
2015-07-19 | Use DEV_BSIZE instead of 512 where appropriate. Use DL_SECTOBLK() | Kenneth R Westerback | |
where appropriate. Noop for disks with 512-byte sectors. i.e. the only kind currently allowed in softraid volumes. But starts laying the groundwork to allow disks with other sector sizes. ok jsing@ | |||
2015-06-22 | document that boot.conf can contain comments; | Jason McIntyre | |
from tilo stritzky thanks miod for help with the diff, and who also noted that leading whitespace gets stripped too; | |||
2015-05-29 | Nuke annoying whitespace nits to shrink some future diffs. | Kenneth R Westerback | |
2015-01-24 | correct the syntax description of the boot command; ok jmc@ | Christian Weisgerber | |
2014-11-19 | Only keep {recv,send}udp() in the pxe-specific code, the remainder of what | Miod Vallat | |
used to be local net.c (renamed to pxe_udp.c) can now be obtained from libsa's net.c rather than being duplicated. No functional change. | |||
2014-11-18 | Nuke some obvious #include duplications. | Kenneth R Westerback | |
ok espie@ deraadt@ millert@ tedu@ | |||
2014-09-23 | Fix constraint. | Brad Smith | |
We need a register here, and not a generic memory reference. We get lucky with GCC that it chooses a register for "p", but we can't blame clang for choosing a memory reference if we allow it to do so. Pointed out by LLVM. time.c:80:17: error: unexpected token in memory operand ok kettenis@ | |||
2014-08-21 | Kill the remaining <netinet/in_systm.h> inclusion! | Martin Pieuchot | |
2014-07-15 | mode 644 for installing these files | Theo de Raadt | |
2014-07-13 | Stop using old n_long and n_short types. | Martin Pieuchot | |
2014-07-13 | move putchar() into libsa | Jasper Lievisse Adriaanse | |
"sure" miod@ | |||
2014-07-12 | move getchar() into libsa where applicable | Jasper Lievisse Adriaanse | |
ok miod@ | |||
2014-07-12 | revert more free fallout | Ted Unangst | |
2014-07-12 | add a size argument to free. will be used soon, but for now default to 0. | Ted Unangst | |
after discussions with beck deraadt kettenis. | |||
2014-07-08 | This is bootblock code. Don't pull in uvm header files to deal with | Theo de Raadt | |
page rounding! Disgusting. Instead, define local copies of those macros. | |||
2014-06-09 | Remove {amd64,i386}/stand/installboot - we now use usr.sbin/installboot | Joel Sing | |
and these have been unhooked from the build for a while now. | |||
2014-05-20 | remove irrelevant, outdated, and misleading sentence suggesting that | Alexander Hall | |
you need to set up a local mirror for the install sets brought to attention by pascal@ ok krw@ | |||
2014-03-29 | It's been a quarter century: we can assume volatile is present with that name. | Philip Guenther | |
ok dlg@ mpi@ deraadt@ | |||
2014-03-13 | Unhook httpd(8) from build; man page bits | Florian Obser | |
tweaks jmc@ OK krw@, gilles@, lteo@, tedu@, todd@, benno@, sthen@ "The time is right." and much help getting the show on the road deraadt@ | |||
2014-02-18 | Bump version numbers. | Joel Sing | |
2014-02-18 | Actually check to see if the CPU supports tsc, rather than assuming that | Joel Sing | |
it does and triggering an illegal instruction trap when it does not. Found the hard way and fix tested by nick@ | |||
2014-01-20 | These fd0 testing things are not used | Theo de Raadt | |
2014-01-20 | Unlink the old amd64/i386 installboot. | Joel Sing | |
2014-01-18 | Fix comment re size of input buffer. | Joel Sing | |
2014-01-06 | document random buffer must be multiple of 4 in size | Theo de Raadt | |
2014-01-02 | crank version after random instruction fix from jsing | Theo de Raadt | |
2014-01-02 | Simplify things slightly by using four byte indexing. | Joel Sing | |
2014-01-02 | Ensure that we preserve callee-save registers. | Joel Sing | |
2013-12-28 | Further clean up and unification of the amd64 and i386 boot(8) makefiles. | Joel Sing | |
2013-12-28 | crank the version | Theo de Raadt | |
2013-12-28 | Try to load entropy data from disk:/etc/random.seed, and additionally | Theo de Raadt | |
use a MD-supplied random function. Then, insert this into the ELF openbsd.randomdata of the kernel, so that it has entropy right from the start. Some help from jsing for the softraid aspects. Also tested by phessler | |||
2013-12-28 | If we fail to decrypt the softraid keys, return EPERM rather than falling | Joel Sing | |
through and failing when we attempt to read and validate the disklabel. Also return ENOTSUP rather than EPERM if an attempt is made to write to a softraid volume. | |||
2013-12-28 | Use preprocessor symbols where possible. | Theo de Raadt | |
2013-12-28 | Add initial implementations of early MD random, for use in the boot code. | Joel Sing | |
This makes use of rdrand if the CPU supports it, otherwise we fall back to using rdtsc. Further development will happen in the tree. Tested by phessler@ ok deraadt@ |