Initial commit of OpenSPARC T2 architecture model.
[OpenSPARC-T2-SAM] / S10image / 2c8t / legion.conf
/*
* Copyright 2005 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*
*/
// Legion config file - automatically generated
debug {
save_state {
trap_pc 0x1ff0000000;
format "legion";
patch 0xfff0000200 0x1ff0000000;
}
}
system "ldm" {
domain {
sysclkfreq 0x42c1d80;
processor "niagara2" {
clkfreq 0x42c1d80;
cores 2;
vthreads 8;
nglobals 4;
nwins 8;
rstv 0xfff0000020;
maxtl 7;
itlb {
entries 64;
}
dtlb {
entries 128;
}
}
addressmap {
device "memory" 0x0 +0x100000000 {
load +0x100000 "2c8t/legion-guest-domain0.md";
load +0x180000 "2c8t/legion-hv.md";
}
device "memory" 0x1ff0000000 +320K {
load +0x0 "savestate_n2.bin";
}
/////////////////////////////////////////
// ROM images //
/////////////////////////////////////////
device "memory" 0xfff0000000 + 0x800000 {
rom;
load +0x0 "reset.bin";
content +0x100 64 {
0x200000 0x3e00000 0x180000 0xfff0010000
}
load +0x10000 "q.bin";
load +0x80000 "openboot.bin";
}
// PIU
device "piu" 0x8800000000 +8M, 0xc000000000 +64G;
// NIU
// mmi_device "n2niu" 0x8100000000 +4G;
// TOD (XXX hack)
device "dumbtod" 0xfff0d22000 +0x8;
// HV console
device "dumbserial" 0xfff0ca0000 +0x50 {
//xterm "xterm -l -lf hv.log -bg black -fg yellow -geometry 80x25+550+30 -T 'HV Debug ' -e netcons %s %d &";
}
/////////////////////////////////////////
// Partition 1
/////////////////////////////////////////
// Guest console
device "dumbserial" 0x1f10002000 +0x50 {
xterm "xterm -l -lf guest1.log -bg black -fg yellow -geometry 80x25+50+30 -T 'domain0 0' -e netcons %s %d &";
time_string "console login:";
}
// nvram
device "memory" 0x1f11000000 +0x2000 {
// private;
load +0x0 "nvram.bin";
}
// disk
device "memory" 0x1f40000000 +0x20000000 {
virtual_disk;
load s0 rom "disk1.img";
}
}
}
}