diff options
author | mh27603 <none@none> | 2007-07-16 10:30:27 -0700 |
---|---|---|
committer | mh27603 <none@none> | 2007-07-16 10:30:27 -0700 |
commit | 5cff782560a1c3cf913ba5574a5123a299f3315e (patch) | |
tree | 0d22fab7021826f6ce98a3efcb9a1e42fa8d27bc /usr/src/uts/intel/sys | |
parent | c198d18e90b390e955c8766a91af6e2db1fccd57 (diff) | |
download | illumos-joyent-5cff782560a1c3cf913ba5574a5123a299f3315e.tar.gz |
PSARC/2004/826 Opteron Athlon64 Frequency Management
6358066 PSARC/2004/826 Opteron Athlon64 Frequency Management
6512756 Solaris should support Intel's Enhanced Speedstep
6335616 AMD64 CPU PwrMgmt needs Notify/_PPC for changes in P-states
--HG--
rename : usr/src/uts/sun4u/io/us_drv.c => usr/src/uts/common/io/cpudrv.c
rename : usr/src/uts/sun4u/io/ppm/ppm.c => usr/src/uts/common/io/ppm/ppm.c
rename : usr/src/uts/sun4u/io/ppm/ppm_subr.c => usr/src/uts/common/io/ppm/ppm_subr.c
rename : usr/src/uts/sun4u/sys/us_drv.h => usr/src/uts/common/sys/cpudrv.h
rename : usr/src/uts/sun4u/sys/ppmvar.h => usr/src/uts/common/sys/ppmvar.h
rename : usr/src/uts/sun4u/io/ppm.c => usr/src/uts/sun4u/io/ppm_xgsubr.c
Diffstat (limited to 'usr/src/uts/intel/sys')
-rw-r--r-- | usr/src/uts/intel/sys/acpica.h | 34 |
1 files changed, 9 insertions, 25 deletions
diff --git a/usr/src/uts/intel/sys/acpica.h b/usr/src/uts/intel/sys/acpica.h index 8dcf8d29e9..b760afcb97 100644 --- a/usr/src/uts/intel/sys/acpica.h +++ b/usr/src/uts/intel/sys/acpica.h @@ -19,7 +19,7 @@ * CDDL HEADER END */ /* - * Copyright 2006 Sun Microsystems, Inc. All rights reserved. + * Copyright 2007 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ @@ -56,9 +56,6 @@ extern unsigned int acpi_options_prop; extern int acpica_init(void); extern void acpica_ec_init(void); -extern int acpica_eval_int(ACPI_HANDLE, char *, int *); -extern int acpica_find_pciobj(dev_info_t *, ACPI_HANDLE *); -extern int acpica_find_pcidip(ACPI_HANDLE, dev_info_t **); /* * acpi_status property values @@ -70,23 +67,6 @@ extern int acpica_find_pcidip(ACPI_HANDLE, dev_info_t **); #define SCI_IPL (LOCK_LEVEL-1) /* - * Mapping table from dip to ACPI object for PCI nodes that might have - * _PRT. Note: we keep bus/dev/func, but they're not really used; - * lookups on this table are from dip to acpiobj. b/d/f are there - * primarily for debugging ease. For peer/root PCI buses, dev and func - * are irrelevant, and so are set to bogus illegal values; bus is set to - * the PCI bus *under* that peer-bus node. - */ - -typedef struct dip_to_acpiobj_t { - dev_info_t *dip; - ACPI_HANDLE acpiobj; - unsigned char bus; - unsigned char dev; - unsigned char func; -} d2a; - -/* * definitions of Bus Type */ #define BUS_CBUS 1 @@ -134,16 +114,20 @@ typedef struct iflag { bustype: 4; } iflag_t; - /* _HID for PCI bus object */ #define HID_PCI_BUS 0x30AD041 #define HID_PCI_EXPRESS_BUS 0x080AD041 /* - * Internal functions + * Function prototypes */ -extern ACPI_STATUS acpica_get_sci(int *sci_irq, iflag_t *sci_flags); -extern int acpica_get_bdf(dev_info_t *dip, int *bus, int *device, int *func); +extern ACPI_STATUS acpica_get_sci(int *, iflag_t *); +extern int acpica_get_bdf(dev_info_t *, int *, int *, int *); +extern ACPI_STATUS acpica_get_devinfo(ACPI_HANDLE, dev_info_t **); +extern ACPI_STATUS acpica_get_handle(dev_info_t *, ACPI_HANDLE *); +extern ACPI_STATUS acpica_eval_int(ACPI_HANDLE, char *, int *); +extern void acpica_map_cpu(processorid_t, MADT_PROCESSOR_APIC *); +extern void acpica_build_processor_map(); #ifdef __cplusplus } |