diff options
author | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2018-03-13 13:51:06 +0000 |
---|---|---|
committer | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2018-03-13 13:51:06 +0000 |
commit | d0f73983bbaf73f2ac481f54e354a1d3c85dd116 (patch) | |
tree | c7b56f49521b2f48dc5a6af177349ea444d63755 /sys/scsi | |
parent | 8449427a6bcd373843363cf05df2497f09bff926 (diff) |
Preparation for i386 Meltdown fix:
- provide a cpu_softc for cpu_attach() etc.
- replace per PCB TSS with per CPU TSS
The first change prepares for cpu_info being embedded in a
cpu_full_info. Therefore during autoconf/cpu_attach we hand down
a softc.
The second change removes the per PCB TSS. We now have one TSS per
CPU, thus in cpu_switchto() we only have to patch the ring 0 stack
pointer instead of loading a new TSS. This also allows for cleaning
up the GDT, so we only have a single slot for the TSS.
from hshoexer@; OK deraadt@
Diffstat (limited to 'sys/scsi')
0 files changed, 0 insertions, 0 deletions