md_var.h (151348) | md_var.h (157908) |
---|---|
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 * $FreeBSD: head/sys/amd64/include/md_var.h 151348 2005-10-14 22:52:01Z jkim $ | 29 * $FreeBSD: head/sys/amd64/include/md_var.h 157908 2006-04-21 04:24:50Z peter $ |
30 */ 31 32#ifndef _MACHINE_MD_VAR_H_ 33#define _MACHINE_MD_VAR_H_ 34 35/* 36 * Miscellaneous machine-dependent declarations. 37 */ --- 10 unchanged lines hidden (view full) --- 48extern u_int cpu_high; 49extern u_int cpu_id; 50extern u_int cpu_procinfo; 51extern u_int cpu_procinfo2; 52extern char cpu_vendor[]; 53extern char kstack[]; 54extern char sigcode[]; 55extern int szsigcode; | 30 */ 31 32#ifndef _MACHINE_MD_VAR_H_ 33#define _MACHINE_MD_VAR_H_ 34 35/* 36 * Miscellaneous machine-dependent declarations. 37 */ --- 10 unchanged lines hidden (view full) --- 48extern u_int cpu_high; 49extern u_int cpu_id; 50extern u_int cpu_procinfo; 51extern u_int cpu_procinfo2; 52extern char cpu_vendor[]; 53extern char kstack[]; 54extern char sigcode[]; 55extern int szsigcode; |
56extern uint64_t *vm_page_dump; 57extern int vm_page_dump_size; |
|
56 57extern struct pcpu __pcpu[]; 58 59typedef void alias_for_inthand_t(u_int cs, u_int ef, u_int esp, u_int ss); 60struct thread; 61struct reg; 62struct fpreg; 63struct dbreg; | 58 59extern struct pcpu __pcpu[]; 60 61typedef void alias_for_inthand_t(u_int cs, u_int ef, u_int esp, u_int ss); 62struct thread; 63struct reg; 64struct fpreg; 65struct dbreg; |
66struct dumperinfo; |
|
64 65void busdma_swi(void); 66void cpu_setregs(void); 67void doreti_iret(void) __asm(__STRING(doreti_iret)); 68void doreti_iret_fault(void) __asm(__STRING(doreti_iret_fault)); | 67 68void busdma_swi(void); 69void cpu_setregs(void); 70void doreti_iret(void) __asm(__STRING(doreti_iret)); 71void doreti_iret_fault(void) __asm(__STRING(doreti_iret_fault)); |
72void dump_add_page(vm_paddr_t); 73void dump_drop_page(vm_paddr_t); |
|
69void initializecpu(void); 70void fillw(int /*u_short*/ pat, void *base, size_t cnt); 71void fpstate_drop(struct thread *td); 72int is_physical_memory(vm_paddr_t addr); 73int isa_nmi(int cd); 74void pagecopy(void *from, void *to); 75void pagezero(void *addr); 76void setidt(int idx, alias_for_inthand_t *func, int typ, int dpl, int ist); 77int user_dbreg_trap(void); | 74void initializecpu(void); 75void fillw(int /*u_short*/ pat, void *base, size_t cnt); 76void fpstate_drop(struct thread *td); 77int is_physical_memory(vm_paddr_t addr); 78int isa_nmi(int cd); 79void pagecopy(void *from, void *to); 80void pagezero(void *addr); 81void setidt(int idx, alias_for_inthand_t *func, int typ, int dpl, int ist); 82int user_dbreg_trap(void); |
83void minidumpsys(struct dumperinfo *); |
|
78 79#endif /* !_MACHINE_MD_VAR_H_ */ | 84 85#endif /* !_MACHINE_MD_VAR_H_ */ |