mca_machdep.h revision 4fd606d1f5abe38e1f42c38de1d2e895166bd0f4
d8c54e3d070f57cc1b4d6c8262f0868219c8ce7cSam Cramer/* $NetBSD: mca_machdep.h,v 1.1 2006/04/07 14:21:18 cherry Exp $ */
d8c54e3d070f57cc1b4d6c8262f0868219c8ce7cSam Cramer * Copyright (c) 2002 Marcel Moolenaar
d8c54e3d070f57cc1b4d6c8262f0868219c8ce7cSam Cramer * All rights reserved.
d8c54e3d070f57cc1b4d6c8262f0868219c8ce7cSam Cramer * Redistribution and use in source and binary forms, with or without
d8c54e3d070f57cc1b4d6c8262f0868219c8ce7cSam Cramer * modification, are permitted provided that the following conditions
d8c54e3d070f57cc1b4d6c8262f0868219c8ce7cSam Cramer * 1. Redistributions of source code must retain the above copyright
d8c54e3d070f57cc1b4d6c8262f0868219c8ce7cSam Cramer * notice, this list of conditions and the following disclaimer.
d8c54e3d070f57cc1b4d6c8262f0868219c8ce7cSam Cramer * 2. Redistributions in binary form must reproduce the above copyright
d8c54e3d070f57cc1b4d6c8262f0868219c8ce7cSam Cramer * notice, this list of conditions and the following disclaimer in the
d8c54e3d070f57cc1b4d6c8262f0868219c8ce7cSam Cramer * documentation and/or other materials provided with the distribution.
d8c54e3d070f57cc1b4d6c8262f0868219c8ce7cSam Cramer * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
d8c54e3d070f57cc1b4d6c8262f0868219c8ce7cSam Cramer * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
d8c54e3d070f57cc1b4d6c8262f0868219c8ce7cSam Cramer * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
d8c54e3d070f57cc1b4d6c8262f0868219c8ce7cSam Cramer * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
d8c54e3d070f57cc1b4d6c8262f0868219c8ce7cSam Cramer * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
d8c54e3d070f57cc1b4d6c8262f0868219c8ce7cSam Cramer * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
d8c54e3d070f57cc1b4d6c8262f0868219c8ce7cSam Cramer * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
d8c54e3d070f57cc1b4d6c8262f0868219c8ce7cSam Cramer * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
d8c54e3d070f57cc1b4d6c8262f0868219c8ce7cSam Cramer * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
d8c54e3d070f57cc1b4d6c8262f0868219c8ce7cSam Cramer * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
d8c54e3d070f57cc1b4d6c8262f0868219c8ce7cSam Cramer#define MCA_RH_FLAGS_PLATFORM_ID 0x01 /* Platform_id present. */
struct mca_section_header {
struct mca_cpu_record {
struct mca_cpu_cpuid {
struct mca_cpu_mod {
struct mca_cpu_psi {
struct mca_mem_record {
struct mca_pcibus_record {
struct mca_pcidev_record {
} pcidev_info;
struct mca_pcidev_reg {
#define MCA_UUID_CPU \
#define MCA_UUID_MEMORY \
#define MCA_UUID_SEL \
#define MCA_UUID_PCI_BUS \
#define MCA_UUID_SMBIOS \
#define MCA_UUID_PCI_DEV \
#define MCA_UUID_GENERIC \
#ifdef _KERNEL
void ia64_mca_init(void);
void ia64_mca_save_state(int);