cpu/intel: Get rid of device_t
Use of `device_t` has been abandoned in ramstage. Change-Id: I17675b004023453f137abd387cfacd308d9b98b5 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/23652 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
This commit is contained in:
parent
d2d8a31305
commit
f925c56fe9
|
@ -298,7 +298,7 @@ static void generate_P_state_entries(int core, int cores_per_package)
|
|||
acpigen_pop_len();
|
||||
}
|
||||
|
||||
void generate_cpu_entries(device_t device)
|
||||
void generate_cpu_entries(struct device *device)
|
||||
{
|
||||
int coreID, cpuID, pcontrol_blk = PMB0_BASE, plen = 6;
|
||||
int totalcores = dev_count_cpu();
|
||||
|
|
|
@ -259,7 +259,7 @@ static void generate_P_state_entries(int core, int cores_per_package)
|
|||
acpigen_pop_len();
|
||||
}
|
||||
|
||||
void generate_cpu_entries(device_t device)
|
||||
void generate_cpu_entries(struct device *device)
|
||||
{
|
||||
int coreID, cpuID, pcontrol_blk = PMB0_BASE, plen = 6;
|
||||
int totalcores = dev_count_cpu();
|
||||
|
|
|
@ -303,7 +303,7 @@ static void generate_P_state_entries(int core, int cores_per_package)
|
|||
acpigen_pop_len();
|
||||
}
|
||||
|
||||
void generate_cpu_entries(device_t device)
|
||||
void generate_cpu_entries(struct device *device)
|
||||
{
|
||||
int coreID, cpuID, pcontrol_blk = get_pmbase(), plen = 6;
|
||||
int totalcores = dev_count_cpu();
|
||||
|
|
|
@ -309,7 +309,7 @@ static void setup_ied_area(struct smm_relocation_params *params)
|
|||
void smm_info(uintptr_t *perm_smbase, size_t *perm_smsize,
|
||||
size_t *smm_save_state_size)
|
||||
{
|
||||
device_t dev = dev_find_slot(0, PCI_DEVFN(0, 0));
|
||||
struct device *dev = dev_find_slot(0, PCI_DEVFN(0, 0));
|
||||
|
||||
printk(BIOS_DEBUG, "Setting up SMI for CPU\n");
|
||||
|
||||
|
|
|
@ -295,7 +295,7 @@ static void generate_P_state_entries(int core, int cores_per_package)
|
|||
acpigen_pop_len();
|
||||
}
|
||||
|
||||
void generate_cpu_entries(device_t device)
|
||||
void generate_cpu_entries(struct device *device)
|
||||
{
|
||||
int coreID, cpuID, pcontrol_blk = PMB0_BASE, plen = 6;
|
||||
int totalcores = dev_count_cpu();
|
||||
|
|
|
@ -298,7 +298,7 @@ static void generate_P_state_entries(int core, int cores_per_package)
|
|||
acpigen_pop_len();
|
||||
}
|
||||
|
||||
void generate_cpu_entries(device_t device)
|
||||
void generate_cpu_entries(struct device *device)
|
||||
{
|
||||
int coreID, cpuID, pcontrol_blk = PMB0_BASE, plen = 6;
|
||||
int totalcores = dev_count_cpu();
|
||||
|
|
|
@ -113,7 +113,7 @@ static void gen_pstate_entries(const sst_table_t *const pstates,
|
|||
/**
|
||||
* @brief Generate ACPI entries for Speedstep for each cpu
|
||||
*/
|
||||
void generate_cpu_entries(device_t device)
|
||||
void generate_cpu_entries(struct device *device)
|
||||
{
|
||||
int coreID, cpuID, pcontrol_blk = PMB0_BASE, plen = 6;
|
||||
int totalcores = determine_total_number_of_cores();
|
||||
|
|
Loading…
Reference in New Issue