mirror of
https://gitlab.com/qemu-project/openbios.git
synced 2024-02-13 08:34:06 +08:00
Add more CPU definitions
git-svn-id: svn://coreboot.org/openbios/openbios-devel@326 f158a5a8-5612-0410-a976-696ce0be7e32
This commit is contained in:
@@ -233,6 +233,12 @@ cpu_generic_init(const struct cpudef *cpu)
|
||||
fword("finish-device");
|
||||
}
|
||||
|
||||
static void
|
||||
cpu_604_init(const struct cpudef *cpu)
|
||||
{
|
||||
cpu_generic_init(cpu);
|
||||
}
|
||||
|
||||
static void
|
||||
cpu_750_init(const struct cpudef *cpu)
|
||||
{
|
||||
@@ -246,6 +252,54 @@ cpu_g4_init(const struct cpudef *cpu)
|
||||
}
|
||||
|
||||
static const struct cpudef ppc_defs[] = {
|
||||
{
|
||||
.iu_version = 0x00040000,
|
||||
.name = "PowerPC,604",
|
||||
.icache_size = 0x4000,
|
||||
.dcache_size = 0x4000,
|
||||
.icache_sets = 0x80,
|
||||
.dcache_sets = 0x80,
|
||||
.icache_block_size = 0x20,
|
||||
.dcache_block_size = 0x20,
|
||||
.clock_frequency = 0x07de2900,
|
||||
.initfn = cpu_604_init,
|
||||
},
|
||||
{ // XXX find out real values
|
||||
.iu_version = 0x00090000,
|
||||
.name = "PowerPC,604e",
|
||||
.icache_size = 0x4000,
|
||||
.dcache_size = 0x4000,
|
||||
.icache_sets = 0x80,
|
||||
.dcache_sets = 0x80,
|
||||
.icache_block_size = 0x20,
|
||||
.dcache_block_size = 0x20,
|
||||
.clock_frequency = 0x07de2900,
|
||||
.initfn = cpu_604_init,
|
||||
},
|
||||
{ // XXX find out real values
|
||||
.iu_version = 0x000a0000,
|
||||
.name = "PowerPC,604r",
|
||||
.icache_size = 0x4000,
|
||||
.dcache_size = 0x4000,
|
||||
.icache_sets = 0x80,
|
||||
.dcache_sets = 0x80,
|
||||
.icache_block_size = 0x20,
|
||||
.dcache_block_size = 0x20,
|
||||
.clock_frequency = 0x07de2900,
|
||||
.initfn = cpu_604_init,
|
||||
},
|
||||
{ // XXX find out real values
|
||||
.iu_version = 0x80040000,
|
||||
.name = "PowerPC,MPC86xx",
|
||||
.icache_size = 0x8000,
|
||||
.dcache_size = 0x8000,
|
||||
.icache_sets = 0x80,
|
||||
.dcache_sets = 0x80,
|
||||
.icache_block_size = 0x20,
|
||||
.dcache_block_size = 0x20,
|
||||
.clock_frequency = 0x14dc9380,
|
||||
.initfn = cpu_750_init,
|
||||
},
|
||||
{
|
||||
.iu_version = 0x000080000,
|
||||
.name = "PowerPC,750",
|
||||
@@ -258,6 +312,54 @@ static const struct cpudef ppc_defs[] = {
|
||||
.clock_frequency = 0x14dc9380,
|
||||
.initfn = cpu_750_init,
|
||||
},
|
||||
{ // XXX find out real values
|
||||
.iu_version = 0x10080000,
|
||||
.name = "PowerPC,750",
|
||||
.icache_size = 0x8000,
|
||||
.dcache_size = 0x8000,
|
||||
.icache_sets = 0x80,
|
||||
.dcache_sets = 0x80,
|
||||
.icache_block_size = 0x20,
|
||||
.dcache_block_size = 0x20,
|
||||
.clock_frequency = 0x14dc9380,
|
||||
.initfn = cpu_750_init,
|
||||
},
|
||||
{ // XXX find out real values
|
||||
.iu_version = 0x70000000,
|
||||
.name = "PowerPC,750",
|
||||
.icache_size = 0x8000,
|
||||
.dcache_size = 0x8000,
|
||||
.icache_sets = 0x80,
|
||||
.dcache_sets = 0x80,
|
||||
.icache_block_size = 0x20,
|
||||
.dcache_block_size = 0x20,
|
||||
.clock_frequency = 0x14dc9380,
|
||||
.initfn = cpu_750_init,
|
||||
},
|
||||
{ // XXX find out real values
|
||||
.iu_version = 0x70020000,
|
||||
.name = "PowerPC,750",
|
||||
.icache_size = 0x8000,
|
||||
.dcache_size = 0x8000,
|
||||
.icache_sets = 0x80,
|
||||
.dcache_sets = 0x80,
|
||||
.icache_block_size = 0x20,
|
||||
.dcache_block_size = 0x20,
|
||||
.clock_frequency = 0x14dc9380,
|
||||
.initfn = cpu_750_init,
|
||||
},
|
||||
{ // XXX find out real values
|
||||
.iu_version = 0x800c0000,
|
||||
.name = "PowerPC,74xx",
|
||||
.icache_size = 0x8000,
|
||||
.dcache_size = 0x8000,
|
||||
.icache_sets = 0x80,
|
||||
.dcache_sets = 0x80,
|
||||
.icache_block_size = 0x20,
|
||||
.dcache_block_size = 0x20,
|
||||
.clock_frequency = 0x14dc9380,
|
||||
.initfn = cpu_750_init,
|
||||
},
|
||||
{
|
||||
.iu_version = 0x0000c0000,
|
||||
.name = "PowerPC,G4",
|
||||
|
||||
Reference in New Issue
Block a user