acpica.h (fa96bd91) acpica.h (aa2aa9a6)
1/*
2 * CDDL HEADER START
3 *
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
7 *
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE

--- 121 unchanged lines hidden (view full) ---

130#define ACPI_FEATURE_OSI_MODULE 0x8
131
132/* ACPI device configuration features. */
133#define ACPI_DEVCFG_CPU 0x1
134#define ACPI_DEVCFG_MEMORY 0x2
135#define ACPI_DEVCFG_CONTAINER 0x4
136
137/*
1/*
2 * CDDL HEADER START
3 *
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
7 *
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE

--- 121 unchanged lines hidden (view full) ---

130#define ACPI_FEATURE_OSI_MODULE 0x8
131
132/* ACPI device configuration features. */
133#define ACPI_DEVCFG_CPU 0x1
134#define ACPI_DEVCFG_MEMORY 0x2
135#define ACPI_DEVCFG_CONTAINER 0x4
136
137/*
138 * master_ops.c
139 */
140typedef struct device_id {
141 struct device_id *next;
142 char *id;
143} device_id_t;
144
145typedef struct property {
146 struct property *next;
147 char *name;
148 char *value;
149} property_t;
150
151typedef struct master_rec {
152 struct master_rec *next;
153 device_id_t *device_ids;
154 char *name;
155 char *description;
156 property_t *properties;
157} master_rec_t;
158
159extern const master_rec_t *master_file_lookup(device_id_t *);
160extern device_id_t *mf_alloc_device_id(void);
161extern void mf_free_device_id(device_id_t *);
162extern void process_master_file(void);
163extern void free_master_data(void);
164
165/*
138 * Function prototypes
139 */
140extern ACPI_STATUS acpica_get_sci(int *, iflag_t *);
141extern int acpica_get_bdf(dev_info_t *, int *, int *, int *);
142extern ACPI_STATUS acpica_eval_int(ACPI_HANDLE, char *, int *);
143extern void acpica_ddi_save_resources(dev_info_t *);
144extern void acpica_ddi_restore_resources(dev_info_t *);
145extern void acpica_get_global_FADT(ACPI_TABLE_FADT **);

--- 27 unchanged lines hidden ---
166 * Function prototypes
167 */
168extern ACPI_STATUS acpica_get_sci(int *, iflag_t *);
169extern int acpica_get_bdf(dev_info_t *, int *, int *, int *);
170extern ACPI_STATUS acpica_eval_int(ACPI_HANDLE, char *, int *);
171extern void acpica_ddi_save_resources(dev_info_t *);
172extern void acpica_ddi_restore_resources(dev_info_t *);
173extern void acpica_get_global_FADT(ACPI_TABLE_FADT **);

--- 27 unchanged lines hidden ---