mps_table.h revision ae115bc77f6fcde83175c75b4206dc2e50747966
/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License, Version 1.0 only
* (the "License"). You may not use this file except in compliance
* with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
* Copyright 2005 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*
* mps_table.h -- MP Specification table definitions
*/
#ifndef _MPS_TABLE_H
#define _MPS_TABLE_H
#pragma ident "%Z%%M% %I% %E% SMI"
#ifdef __cplusplus
extern "C" {
#endif
struct mps_fps_hdr { /* MP Floating Pointer Structure */
};
struct mps_ct_hdr { /* MP Configuration Table Header */
};
/* Base MP Configuration Table entry type definitions */
#define CPU_TYPE 0
#define BUS_TYPE 1
#define IO_APIC_TYPE 2
#define IO_INTR_TYPE 3
#define LOCAL_INTR_TYPE 4
/* Base MP Configuration Table entry size definitions */
#define CPU_SIZE 20
#define BUS_SIZE 8
#define IO_APIC_SIZE 8
#define IO_INTR_SIZE 8
#define LOCAL_INTR_SIZE 8
/* Extended MP Configuration Table entry type definitions */
#define SYS_AS_MAPPING 128
#define BUS_HIERARCHY_DESC 129
#define COMP_BUS_AS_MODIFIER 130
/* Extended MP Configuration Table entry size definitions */
#define SYS_AS_MAPPING_SIZE 20
#define BUS_HIERARCHY_DESC_SIZE 8
#define COMP_BUS_AS_MODIFIER_SIZE 8
struct sasm { /* System Address Space Mapping Entry */
/* system address type definitions */
#define IO_TYPE 0
#define MEM_TYPE 1
#define PREFETCH_TYPE 2
#define BUSRANGE_TYPE 3
};
struct bhd { /* Bus Hierarchy Descriptor Entry */
/* Bus Information bit definition */
};
struct cbasm { /* Compatibility Bus Address Space Modifier Entry */
/* Address Modifier bit definiton */
};
#ifdef __cplusplus
}
#endif
#endif /* _MPS_TABLE_H */