diff options
author | luoqi <luoqi@FreeBSD.org> | 1999-12-06 04:53:08 +0000 |
---|---|---|
committer | luoqi <luoqi@FreeBSD.org> | 1999-12-06 04:53:08 +0000 |
commit | 5c9244cd12f812687a0e1da3fa8fd69c320bdb42 (patch) | |
tree | 3d2bdc635a51af92e9000f2fe294d685906d5387 /sys/amd64/include/pcb_ext.h | |
parent | 5851b69ff706eaa8e3a487bdfbbf3fe0177ed46a (diff) | |
download | FreeBSD-src-5c9244cd12f812687a0e1da3fa8fd69c320bdb42.zip FreeBSD-src-5c9244cd12f812687a0e1da3fa8fd69c320bdb42.tar.gz |
User ldt sharing.
Diffstat (limited to 'sys/amd64/include/pcb_ext.h')
-rw-r--r-- | sys/amd64/include/pcb_ext.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/sys/amd64/include/pcb_ext.h b/sys/amd64/include/pcb_ext.h index 154cf94..42e8abf 100644 --- a/sys/amd64/include/pcb_ext.h +++ b/sys/amd64/include/pcb_ext.h @@ -43,4 +43,22 @@ struct pcb_ext { struct vm86_kernel ext_vm86; /* vm86 area */ }; +struct pcb_ldt { + caddr_t ldt_base; + int ldt_len; + int ldt_refcnt; + u_long ldt_active; + struct segment_descriptor ldt_sd; +}; + +#ifdef KERNEL + +#ifdef USER_LDT +void set_user_ldt __P((struct pcb *)); +struct pcb_ldt *user_ldt_alloc __P((struct pcb *, int)); +void user_ldt_free __P((struct pcb *)); +#endif + +#endif + #endif /* _I386_PCB_EXT_H_ */ |