1*5084Sjohnlev /* 2*5084Sjohnlev * CDDL HEADER START 3*5084Sjohnlev * 4*5084Sjohnlev * The contents of this file are subject to the terms of the 5*5084Sjohnlev * Common Development and Distribution License (the "License"). 6*5084Sjohnlev * You may not use this file except in compliance with the License. 7*5084Sjohnlev * 8*5084Sjohnlev * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9*5084Sjohnlev * or http://www.opensolaris.org/os/licensing. 10*5084Sjohnlev * See the License for the specific language governing permissions 11*5084Sjohnlev * and limitations under the License. 12*5084Sjohnlev * 13*5084Sjohnlev * When distributing Covered Code, include this CDDL HEADER in each 14*5084Sjohnlev * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15*5084Sjohnlev * If applicable, add the following below this CDDL HEADER, with the 16*5084Sjohnlev * fields enclosed by brackets "[]" replaced with your own identifying 17*5084Sjohnlev * information: Portions Copyright [yyyy] [name of copyright owner] 18*5084Sjohnlev * 19*5084Sjohnlev * CDDL HEADER END 20*5084Sjohnlev */ 21*5084Sjohnlev 22*5084Sjohnlev /* 23*5084Sjohnlev * Copyright 2007 Sun Microsystems, Inc. All rights reserved. 24*5084Sjohnlev * Use is subject to license terms. 25*5084Sjohnlev */ 26*5084Sjohnlev 27*5084Sjohnlev #ifndef _DBOOT_ASM_H 28*5084Sjohnlev #define _DBOOT_ASM_H 29*5084Sjohnlev 30*5084Sjohnlev #pragma ident "%Z%%M% %I% %E% SMI" 31*5084Sjohnlev 32*5084Sjohnlev #ifdef __cplusplus 33*5084Sjohnlev extern "C" { 34*5084Sjohnlev #endif 35*5084Sjohnlev 36*5084Sjohnlev extern uint32_t get_cpuid_edx(uint32_t *eax); 37*5084Sjohnlev extern void outb(int port, uint8_t value); 38*5084Sjohnlev extern uint8_t inb(int port); 39*5084Sjohnlev 40*5084Sjohnlev #ifdef __cplusplus 41*5084Sjohnlev } 42*5084Sjohnlev #endif 43*5084Sjohnlev 44*5084Sjohnlev #endif /* _DBOOT_ASM_H */ 45