acpigen: make acpigen_write_CST_package_entry non-static
It's used by Sandybridge specific C state generation code. Change-Id: Ia6f1e14e748841a9646fd93d0a18f9e8f2a55e29 Signed-off-by: Stefan Reinauer <reinauer@google.com> Reviewed-on: http://review.coreboot.org/949 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
This commit is contained in:
parent
6ea86b19f3
commit
f69b46805c
|
@ -448,7 +448,7 @@ int acpigen_write_PSD_package(u32 domain, u32 numprocs, PSD_coord coordtype)
|
||||||
return len + lenh;
|
return len + lenh;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int acpigen_write_CST_package_entry(acpi_cstate_t *cstate)
|
int acpigen_write_CST_package_entry(acpi_cstate_t *cstate)
|
||||||
{
|
{
|
||||||
int len, len0;
|
int len, len0;
|
||||||
char *start, *end;
|
char *start, *end;
|
||||||
|
|
|
@ -49,6 +49,7 @@ int acpigen_write_PSS_package(u32 coreFreq, u32 power, u32 transLat, u32 busmLat
|
||||||
u32 control, u32 status);
|
u32 control, u32 status);
|
||||||
typedef enum { SW_ALL=0xfc, SW_ANY=0xfd, HW_ALL=0xfe } PSD_coord;
|
typedef enum { SW_ALL=0xfc, SW_ANY=0xfd, HW_ALL=0xfe } PSD_coord;
|
||||||
int acpigen_write_PSD_package(u32 domain, u32 numprocs, PSD_coord coordtype);
|
int acpigen_write_PSD_package(u32 domain, u32 numprocs, PSD_coord coordtype);
|
||||||
|
int acpigen_write_CST_package_entry(acpi_cstate_t *cstate);
|
||||||
int acpigen_write_CST_package(acpi_cstate_t *entry, int nentries);
|
int acpigen_write_CST_package(acpi_cstate_t *entry, int nentries);
|
||||||
int acpigen_write_processor(u8 cpuindex, u32 pblock_addr, u8 pblock_len);
|
int acpigen_write_processor(u8 cpuindex, u32 pblock_addr, u8 pblock_len);
|
||||||
int acpigen_write_TSS_package(int entries, acpi_tstate_t *tstate_list);
|
int acpigen_write_TSS_package(int entries, acpi_tstate_t *tstate_list);
|
||||||
|
|
Loading…
Reference in New Issue