summaryrefslogtreecommitdiff
path: root/sys/dev/microcode
diff options
context:
space:
mode:
authordsl <dsl@NetBSD.org>2012-07-15 15:17:56 +0000
committerdsl <dsl@NetBSD.org>2012-07-15 15:17:56 +0000
commit6309299050fbec3bc6c7a333bdc1ba8c092b646d (patch)
tree9af65f21c4f857edd1e7fcd1497ba8cd60b4f7fb /sys/dev/microcode
parent8fea2fb3e441b7bf2ffe9abc981f5eaf5c470c14 (diff)
Rename MDP_IRET to MDL_IRET since it is an lwp flag, not a proc one.
Add an MDL_COMPAT32 flag to the lwp's md_flags, set it for 32bit lwps and use it to force 'return to user' with iret (as is done when MDL_IRET is set). Split the iret/sysret code paths much later. Remove all the replicated code for 32bit system calls - which was only needed so that iret was always used. frameasm.h for XEN contains '#define swapgs', while XEN probable never needs swapgs, this is likely to be confusing. Add a SWAPGS which is a nop on XEN and swapgs otherwise. (I've not yet checked all the swapgs in files that include frameasm.h) Simple x86 programs still work. Hijack 6.99.9 kernel bump (needed for compat32 modules)
Diffstat (limited to 'sys/dev/microcode')
0 files changed, 0 insertions, 0 deletions