Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-11-02 | uvm_km_alloc() allocs bytes rounded up to the nearest page not pages. | Jonathan Gray | |
Problem spotted by and diff to fix this (and convert to km_alloc) from oga ok deraadt@ | |||
2012-11-01 | Fix merge errors. | Joel Sing | |
Found the hard way by deraadt@ | |||
2012-10-31 | Unbreak build on !i386. | Joel Sing | |
Pointed out by deraadt@ | |||
2012-10-31 | Bump version numbers. | Joel Sing | |
2012-10-31 | Enable softraid boot support for cdboot(8) and pxeboot(8). | Joel Sing | |
2012-10-31 | Make cdboot(8) and pxeboot(8) work correctly when it is larger than 64KB in | Joel Sing | |
size. When relocating use blocks that are a maximum of 32KB in size and increment the segment registers after relocating each block. This keeps us within the confines of the %cx register and the real mode segmented addressing. | |||
2012-10-31 | Save and restore %ebx across the call to read. Otherwise we load the first | Joel Sing | |
64KB segment at 0x7c00 and any additional 64KB segments over top of each other at 0x10000. | |||
2012-10-31 | Bump i386 boot(8) version. | Joel Sing | |
2012-10-31 | Enable softraid boot support for i386 boot(8). | Joel Sing | |
2012-10-31 | Bring softraid support to i386/stand/libsa. | Joel Sing | |
2012-10-31 | Add support for Intel's Supervisor Mode Access Prevention (SMAP) feature. | Jonathan Gray | |
When enabled SMAP will generate page faults on the kernel attempting to read/write user data pages unless an override flag is set. Instructions that modify the flag are patched into copyin/copyout and friends on boot if SMAP is enabled. Those with access to hardware with SMAP can contact me for a test case. joint work with deraadt@ ok miod@ deraadt@ | |||
2012-10-30 | Apply a bunch of style(9) and whitespace fixes to i386/amd64 libsa, making | Joel Sing | |
the code actually diffable. No binary change. | |||
2012-10-30 | Actually remove the Makefiles. | Joel Sing | |
2012-10-30 | Remove the now unused i386 libsa/libz Makefiles. | Joel Sing | |
ok deraadt@ | |||
2012-10-29 | add (consistent) STANDARDS; | Jason McIntyre | |
2012-10-29 | Build i386 cdboot(8) and pxeboot(8) using the same method as the amd64 | Joel Sing | |
versions. Compile all required sources directly, rather than linking against uninstalled libraries. Discussed with deraadt@ | |||
2012-10-25 | Some LIBC_SCCS found lurking in the shadows | Theo de Raadt | |
2012-10-19 | add an #ifdef HIBERNATE for diffability with amd64 | Mike Larkin | |
2012-10-17 | Document the 'boothowto hack' used to flag to (a few) DVACT_POWERDOWN | Theo de Raadt | |
handlers how hard they should hit the hardware. | |||
2012-10-17 | Swap arguments to wdog_register() since it is nicer, and prepare | Theo de Raadt | |
wdog_shutdown() for external usage. | |||
2012-10-13 | pxe spec reference is better placed in STANDARDS; | Jason McIntyre | |
2012-10-13 | Only build fdboot on the appropriate architectures. Also fix the path to | Joel Sing | |
check-boot.pl so that it works with both boot and fdboot. | |||
2012-10-12 | Now that the file offset/alignment issue has been found and fixed, switch | Joel Sing | |
back to using -N when linking i386 boot(8). This prevents issues with the .data file offset becoming mismatched with its LMA, once the binary grows. | |||
2012-10-12 | Force 16 byte alignment in boot(8) srt0.S, since this is more likely to get | Joel Sing | |
the required file offset (0x120) for the .text segment. | |||
2012-10-12 | Add a script that checks the file offsets for boot(8)'s .text and .data | Joel Sing | |
sections match up with their LMAs. This is necessary since biosboot does not perform relocation. Discussed with deraadt@ | |||
2012-10-12 | Build a 'fdboot' that will be used for floppy disk media. This can be made | Joel Sing | |
smaller than the normal 'boot', however for now it is identical. ok deraadt@ | |||
2012-10-11 | Initialise the protected mode IDT after zeroing .bss - otherwise we wipe | Joel Sing | |
the IDT that we have just finishing building. | |||
2012-10-10 | Oops. Need to handle the case of nfs diskless machines, where the block | Theo de Raadt | |
device name is NULL. From Tim Wiess | |||
2012-10-10 | Add __BEGIN_DECLS so that programs using C++ can use functions | Stuart Henderson | |
defined in sysarch.h again, they were broken following the change to NO_IMPLICIT_EXTERN_C. help/ok kettenis@ | |||
2012-10-09 | Bump boot versions due to recent changes. | Joel Sing | |
2012-10-09 | Allow boot(8) to pass information to the kernel, regarding the softraid | Joel Sing | |
volume that it booted off. | |||
2012-10-09 | Put the real mode IDT and the GDT back in .text - having them in .data only | Joel Sing | |
works if .data is within the same segment. | |||
2012-10-09 | Remove -noinhibit-exec now that we no longer have to deal with | Joel Sing | |
"relocation truncated" linker errors. | |||
2012-10-09 | Dynamically build the Interrupt Descriptor Table (IDT), instead of using | Joel Sing | |
a static table. This allows the IDT to be placed in .bss and avoids the "relocation truncated" errors that result from the linker trying to put a 32-bit address into a 16-bit hole. With input from Marco Peereboom. ok weingart@ | |||
2012-10-09 | Sync "Structured Extended Feature Flags" cpuid bits with | Jonathan Gray | |
the August 2012 revision of "Intel Architecture Instruction Set Extensions Programming Reference". Correct definitions of EREP and INVPCID, rename EREP to ERMS to match Intel's docs. Add some more Haswell feature bits. | |||
2012-10-09 | Enable Supervisor Mode Execution Protection (SMEP), found in recent | Jonathan Gray | |
Intel chips. If the kernel is tricked into running code from a user page while in supervisor mode we'll now get a page fault and panic instead of running it. suggestions and ok guenther@, ok deraadt@ | |||
2012-10-08 | Revamp the sequences for suspend/hibernate -> resume so that the code | Theo de Raadt | |
paths are reflexive. It is now possible to fail part-way through a suspend sequence, and recover along the resume code path. Split DVACT_SUSPEND by adding a new DVACT_POWERDOWN method is used after hibernate (and suspend too) to finish the job. Some drivers must be converted at the same time to use this instead of shutdown hooks (the others will follow at a later time) ok kettenis mlarkin | |||
2012-10-08 | enable 3 new OAK usb sensors on at least two architectures | Theo de Raadt | |
2012-10-08 | Avoid accessing .data or .bss from real mode, since they may not be within | Joel Sing | |
the current segment. Load and store the necessary BIOS registers from protected mode, preserving the register values across the real mode and protected mode switches by directly patching instructions. This allows for boot(8) to be larger than 64KB. | |||
2012-10-08 | reduce the difference between i386 and amd64 versions of the speedstep code | Jonathan Gray | |
2012-10-04 | Use information provided by ACPI to attach secondary PCI host bridges. | Christian Ehrhardt | |
ok kettenis@ | |||
2012-09-30 | Remove duplicated chunk; noticed by David Gilmore | Miod Vallat | |
2012-09-27 | enable smsc | Jonathan Gray | |
2012-09-27 | remove the zlib rfc text: these pages already point to gzip(1), which | Jason McIntyre | |
has the references, and the rfc is not that relevant anyway; | |||
2012-09-25 | Make sure we send MSIs to the primary CPU like we do on amd64. | Stuart Henderson | |
This is a fixed version reinstating the previous commit, fix from Christian Ehrhardt, same fix from brad@. | |||
2012-09-25 | Remove unused acpi locking code. | Paul Irofti | |
To be replaced with higher level C routines once we settle for a common consistent set of atomic operations across platforms. Discussed with and okay by deraadt@ and kettenis@. | |||
2012-09-25 | Reduce the diff between amd64/stand and i386/stand, requested by deraadt@. | Pascal Stumpf | |
These create essentially the same bootblocks, so the build system should not be diverging too much, or at least easily diffable. There is still a lot of work to be done here, but this is the low-hanging fruit. ok jsing@ | |||
2012-09-22 | revert previous, breaks the tree | Stuart Henderson | |
2012-09-21 | Make sure we send MSIs to the primary CPU like we do on amd64. | Mark Kettenis | |
Based on a diff from Christian Ehrhardt. | |||
2012-09-19 | Set up PCI bus number resource accounting for the main PCI bus hierarchy. | Mark Kettenis | |