18d7e7a98SRuslan Bukin /*- 28d7e7a98SRuslan Bukin * Copyright (c) 1995 Bruce D. Evans. 38d7e7a98SRuslan Bukin * All rights reserved. 48d7e7a98SRuslan Bukin * 58d7e7a98SRuslan Bukin * Redistribution and use in source and binary forms, with or without 68d7e7a98SRuslan Bukin * modification, are permitted provided that the following conditions 78d7e7a98SRuslan Bukin * are met: 88d7e7a98SRuslan Bukin * 1. Redistributions of source code must retain the above copyright 98d7e7a98SRuslan Bukin * notice, this list of conditions and the following disclaimer. 108d7e7a98SRuslan Bukin * 2. Redistributions in binary form must reproduce the above copyright 118d7e7a98SRuslan Bukin * notice, this list of conditions and the following disclaimer in the 128d7e7a98SRuslan Bukin * documentation and/or other materials provided with the distribution. 138d7e7a98SRuslan Bukin * 3. Neither the name of the author nor the names of contributors 148d7e7a98SRuslan Bukin * may be used to endorse or promote products derived from this software 158d7e7a98SRuslan Bukin * without specific prior written permission. 168d7e7a98SRuslan Bukin * 178d7e7a98SRuslan Bukin * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 188d7e7a98SRuslan Bukin * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 198d7e7a98SRuslan Bukin * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 208d7e7a98SRuslan Bukin * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 218d7e7a98SRuslan Bukin * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 228d7e7a98SRuslan Bukin * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 238d7e7a98SRuslan Bukin * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 248d7e7a98SRuslan Bukin * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 258d7e7a98SRuslan Bukin * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 268d7e7a98SRuslan Bukin * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 278d7e7a98SRuslan Bukin * SUCH DAMAGE. 288d7e7a98SRuslan Bukin * 298d7e7a98SRuslan Bukin * from: FreeBSD: src/sys/i386/include/md_var.h,v 1.40 2001/07/12 308d7e7a98SRuslan Bukin * $FreeBSD$ 318d7e7a98SRuslan Bukin */ 328d7e7a98SRuslan Bukin 338d7e7a98SRuslan Bukin #ifndef _MACHINE_MD_VAR_H_ 348d7e7a98SRuslan Bukin #define _MACHINE_MD_VAR_H_ 358d7e7a98SRuslan Bukin 368d7e7a98SRuslan Bukin extern long Maxmem; 378d7e7a98SRuslan Bukin extern char sigcode[]; 388d7e7a98SRuslan Bukin extern int szsigcode; 398d7e7a98SRuslan Bukin extern uint64_t *vm_page_dump; 408d7e7a98SRuslan Bukin extern int vm_page_dump_size; 41ffedb98bSMitchell Horne extern u_long elf_hwcap; 42*0a0f40c7SMitchell Horne extern register_t mvendorid; 43*0a0f40c7SMitchell Horne extern register_t marchid; 44*0a0f40c7SMitchell Horne extern register_t mimpid; 458d7e7a98SRuslan Bukin 468d7e7a98SRuslan Bukin struct dumperinfo; 478d7e7a98SRuslan Bukin 488d7e7a98SRuslan Bukin void busdma_swi(void); 498d7e7a98SRuslan Bukin void dump_add_page(vm_paddr_t); 508d7e7a98SRuslan Bukin void dump_drop_page(vm_paddr_t); 518d7e7a98SRuslan Bukin int minidumpsys(struct dumperinfo *); 528d7e7a98SRuslan Bukin 538d7e7a98SRuslan Bukin #endif /* !_MACHINE_MD_VAR_H_ */ 54