diff options
author | marcel <marcel@FreeBSD.org> | 1999-10-07 12:40:34 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 1999-10-07 12:40:34 +0000 |
commit | 82d2a417f9f83101d1887aa1f696d8855b15cb8e (patch) | |
tree | 0f8242e8f4f2389aea38ffa052f3deaf4df7651d /sys/i386/include/md_var.h | |
parent | 92cdc096e64f4f2f9198db3941bce72a914b7350 (diff) | |
download | FreeBSD-src-82d2a417f9f83101d1887aa1f696d8855b15cb8e.zip FreeBSD-src-82d2a417f9f83101d1887aa1f696d8855b15cb8e.tar.gz |
Simplification of the signal trampoline and other cleanups.
o Remove unused defines from genassym.c that were needed
by the trampoline.
o Add load_gs_param function to support.s that catches
a fault when %gs is loaded with an invalid descriptor.
The function returns EFAULT in that case.
o Remove struct trapframe from mcontext_t and replace it
with the list of registers.
o Modify sendsig and sigreturn accordingly.
This commit contains a patch by bde.
Reviewed by: luoqi, jdp
Diffstat (limited to 'sys/i386/include/md_var.h')
-rw-r--r-- | sys/i386/include/md_var.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/i386/include/md_var.h b/sys/i386/include/md_var.h index 755e1e7..d9a43fa 100644 --- a/sys/i386/include/md_var.h +++ b/sys/i386/include/md_var.h @@ -91,6 +91,7 @@ int i586_copyout __P((const void *kaddr, void *udaddr, size_t len)); void i686_pagezero __P((void *addr)); int is_physical_memory __P((vm_offset_t addr)); u_long kvtop __P((void *addr)); +int load_gs_param __P((u_int sel)); void setidt __P((int idx, alias_for_inthand_t *func, int typ, int dpl, int selec)); void swi_vm __P((void)); |