Age | Commit message (Collapse) | Author |
|
smaller than the normal 'boot', however for now it is identical.
ok deraadt@
|
|
the IDT that we have just finishing building.
|
|
device name is NULL.
From Tim Wiess
|
|
defined in sysarch.h again, they were broken following the change
to NO_IMPLICIT_EXTERN_C. help/ok kettenis@
|
|
|
|
|
|
full disk encryption since the kernel can now be loaded directly from the
crypto volume, instead of needing to be on FFS.
This is currently disabled by default, however can be enabled by compiling
with boot(8) 'make -DBOOT_CRYPTO'.
|
|
volume that it booted off.
|
|
works if .data is within the same segment.
|
|
"relocation truncated" linker errors.
|
|
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@
|
|
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.
|
|
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@
|
|
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
|
|
|
|
volume, always select the srX device unless the 'a' partition of the disk
is FFS.
|
|
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.
|
|
|
|
Part of the work to remove -Wno-uninitialized.
ok mikeb@
|
|
ok kettenis@
|
|
|
|
has the references, and the rfc is not that relevant anyway;
|
|
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@.
|
|
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@
|
|
|
|
Joint work with naddy@
ok naddy@ deraadt@
|
|
attach as scsi disks). These are paravirtualized devices offered by some
hypervisors like kvm and virtualbox.
The virtio transport driver has the pci specific parts separated out. This
will make it easier to add support for mmio (e.g. for ARM) later.
OK mikeb
OK jasper
"commit what you have" deraadt
|
|
Makes "make build" build with WARNINGS=Yes on amd64.
ok espie
|
|
for all the compat layers which are now gone. Linux compat still works
because it always used another method in any case, and nothing looks at
p_os anymore.
ok jsing
|
|
long, leaving no space for a trailing NUL; ok kettenis@
|
|
|
|
|
|
instruction is fldl sinze we try to load a double-precision value.
GCC actually gets it wrong and emits "flds" (which is harmless).
Pointed out by Brad. ok guenther@
|
|
directly instead. This will be the approach taken by every other arch too
in the near future. It is easier than relying on bsd.own.mk to set these
correctly.
discussed with and ok deraadt@
|
|
updated gcc and ld to understand the new -nopie flag.
ok deraadt@
|
|
Add display of more feature bits: DTES64 PCID DEADLINE F16C RDRAND
Add display of "Structured Extended Feature Flags Parameters":
FSGSBASE SMEP EREP INVPCID
ok mikeb@
|
|
|
|
invocations. This allows us to use the compiler builtin define __PIC__ to check
for PIC/PIEness rather than passing -DPIC. Simplifies PIE work a lot.
ok matthew@, conceptually ok kurt@
|
|
cleaned up later.
ok deraadt@
|
|
built with -fno-pie. This gets the hairiest part of PIE out of the way ...
ok deraadt@
|
|
|
|
|
|
ok deraadt@
|
|
sense as a for() body. One semicolon is enough. From llvm via Brad.
|
|
an MI file, <sys/syscall_mi.h>, correcting inconsistencies and the
handling when copyin() of arguments fails.
Tested on i386, amd64, sparc64, and alpha (thanks naddy@)
Any issues with other platforms will be fixed in tree.
header name from millert@; ok miod@
|
|
|
|
with a large physical address size (greater than 36 bit). Fixes a
major performance hit seen on newer servers where an incorrectly
programmed memory region length affects the PCI device mappings.
While here, make sure to invalidate the TLB after programming MSRs
and fix an incorrect behavior found by deraadt@ where MTRRdefType
was updated outside of the protected region.
The fix was partly obtained from FreeBSD, tested by many.
With and OK deraadt
|
|
|
|
|
|
ok deraadt@
|