md_var.h (16875) | md_var.h (19274) |
---|---|
1/*- 2 * Copyright (c) 1995 Bruce D. Evans. 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 12 unchanged lines hidden (view full) --- 21 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27 * SUCH DAMAGE. 28 * | 1/*- 2 * Copyright (c) 1995 Bruce D. Evans. 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 12 unchanged lines hidden (view full) --- 21 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27 * SUCH DAMAGE. 28 * |
29 * $Id: md_var.h,v 1.8 1996/03/02 19:37:45 peter Exp $ | 29 * $Id: md_var.h,v 1.9 1996/07/01 18:12:24 bde Exp $ |
30 */ 31 32#ifndef _MACHINE_MD_VAR_H_ 33#define _MACHINE_MD_VAR_H_ 34 35/* 36 * Miscellaneous machine-dependent declarations. 37 */ --- 12 unchanged lines hidden (view full) --- 50extern int szsigcode; 51 52typedef void alias_for_inthand_t __P((u_int cs, u_int ef, u_int esp, u_int ss)); 53struct proc; 54struct reg; 55 56void bcopyb __P((const void *from, void *to, size_t len)); 57void cpu_reset __P((void)); | 30 */ 31 32#ifndef _MACHINE_MD_VAR_H_ 33#define _MACHINE_MD_VAR_H_ 34 35/* 36 * Miscellaneous machine-dependent declarations. 37 */ --- 12 unchanged lines hidden (view full) --- 50extern int szsigcode; 51 52typedef void alias_for_inthand_t __P((u_int cs, u_int ef, u_int esp, u_int ss)); 53struct proc; 54struct reg; 55 56void bcopyb __P((const void *from, void *to, size_t len)); 57void cpu_reset __P((void)); |
58void cpu_halt __P((void)); |
|
58void doreti_iret __P((void)) __asm(__STRING(doreti_iret)); 59void doreti_iret_fault __P((void)) __asm(__STRING(doreti_iret_fault)); 60void doreti_popl_ds __P((void)) __asm(__STRING(doreti_popl_ds)); 61void doreti_popl_ds_fault __P((void)) __asm(__STRING(doreti_popl_ds_fault)); 62void doreti_popl_es __P((void)) __asm(__STRING(doreti_popl_es)); 63void doreti_popl_es_fault __P((void)) __asm(__STRING(doreti_popl_es_fault)); 64int fill_regs __P((struct proc *p, struct reg *regs)); 65void fillw __P((int /*u_short*/ pat, void *base, size_t cnt)); 66int fusword __P((void *base)); 67u_long kvtop __P((void *addr)); 68void setidt __P((int idx, alias_for_inthand_t *func, int typ, int dpl, 69 int selec)); 70void userconfig __P((void)); 71void vm_bounce_init __P((void)); 72int vm_page_zero_idle __P((void)); 73 74#endif /* !_MACHINE_MD_VAR_H_ */ | 59void doreti_iret __P((void)) __asm(__STRING(doreti_iret)); 60void doreti_iret_fault __P((void)) __asm(__STRING(doreti_iret_fault)); 61void doreti_popl_ds __P((void)) __asm(__STRING(doreti_popl_ds)); 62void doreti_popl_ds_fault __P((void)) __asm(__STRING(doreti_popl_ds_fault)); 63void doreti_popl_es __P((void)) __asm(__STRING(doreti_popl_es)); 64void doreti_popl_es_fault __P((void)) __asm(__STRING(doreti_popl_es_fault)); 65int fill_regs __P((struct proc *p, struct reg *regs)); 66void fillw __P((int /*u_short*/ pat, void *base, size_t cnt)); 67int fusword __P((void *base)); 68u_long kvtop __P((void *addr)); 69void setidt __P((int idx, alias_for_inthand_t *func, int typ, int dpl, 70 int selec)); 71void userconfig __P((void)); 72void vm_bounce_init __P((void)); 73int vm_page_zero_idle __P((void)); 74 75#endif /* !_MACHINE_MD_VAR_H_ */ |