diff options
author | Luca Dariz <luca@orpolo.org> | 2023-04-19 21:47:03 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2023-05-01 03:30:18 +0200 |
commit | 31dd30a94a682955c3c9e2f42252b4a07687067a (patch) | |
tree | 66be830d547a1e9cbd1b9b7bbc0378398be089d8 /kern/ipc_mig.h | |
parent | 660bc8ab3813737b3857648b7ec60d88494aeed1 (diff) | |
download | gnumach-31dd30a94a682955c3c9e2f42252b4a07687067a.tar.gz gnumach-31dd30a94a682955c3c9e2f42252b4a07687067a.tar.bz2 gnumach-31dd30a94a682955c3c9e2f42252b4a07687067a.zip |
add setting gs/fsbase
* i386/i386/i386asm.sym: add offsets for asm
* i386/i386/pcb.c: switch FSBASE/GSBASE on context switch and
implement accessors in thread setstatus/getstatus
* i386/i386/thread.h: add new state to thread saved state
* kern/thread.c: add i386_FSGS_BASE_STATE handler
* x86_64/locore.S: fix fs/gs handling, skipping the base address and
avoid resetting it by manually re-loading fs/gs
Message-Id: <20230419194703.410575-5-luca@orpolo.org>
Diffstat (limited to 'kern/ipc_mig.h')
0 files changed, 0 insertions, 0 deletions