| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Delete unused/never-implemented sysarch defines and structs while here.
ports check and ok naddy@
ok deraadt@ mlarkin@
|
| |
|
|
|
|
| |
ok guenther millert kettenis
|
|
|
|
|
| |
defined in sysarch.h again, they were broken following the change
to NO_IMPLICIT_EXTERN_C. help/ok kettenis@
|
|
|
|
| |
Additional testing by jasper@ and pea@
|
|
|
|
| |
and the problem isn't obvious yet.
|
|
|
|
|
|
|
|
|
|
|
| |
Add pcb_fsbase to the PCB for tracking what the value for the thread
is, and ci_cur_fsbase to struct cpu_info for tracking the CPU's current
value for FS.base, then on return to user-space, skip the setting if the
CPU has the right value already. Non-threaded processes without TLS leave
FS.base zero, which can be conveniently optimized: setting %fs zeros
FS.base for fewer cycles than wrmsr.
ok kettenis@
|
|
|
|
| |
Discussed and okay drahn@. Okay deraadt@.
|
|
|
|
|
|
|
| |
of them, as well as some other unused proc md_flags bits: MDP_COMPAT and
MDP_SYSCALL.
ok mikeb@
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
register with the null selector (disabling use of it), stop reloading
it on every context switch, and blow away the table itself, as well
as the pcb and pmap bits that were used to track it. Also, delete
two other unused pcb members: pcb_usersp and pcb_flags. (Deleting
pcb_usersp also keeps the pcb_savefpu member aligned properly.)
Finally, delete the defines for the unimplemented AMD64_{GET,SET}_LDT
sysarch() calls.
Tested by various with both AMD and Intel chips
ok mikeb@
|
|
|
|
| |
ldt_{alloc,free} to shave a few. ok jasper@, oga@
|
| |
|
| |
|
|
hacked by art@ from netbsd sources and then later debugged
by me into the shape where it can host itself.
no bootloader yet as needs redoing from the
recent advanced i386 sources (anyone? ;)
|