Initial commit of OpenSPARC T2 architecture model.
[OpenSPARC-T2-SAM] / S10image / 4c8t / legion.conf
CommitLineData
920dae64
AT
1/*
2 * Copyright 2005 Sun Microsystems, Inc. All rights reserved.
3 * Use is subject to license terms.
4 *
5 */
6
7// Legion config file - automatically generated
8
9debug {
10 save_state {
11 trap_pc 0x1ff0000000;
12 format "legion";
13 patch 0xfff0000200 0x1ff0000000;
14 }
15}
16system "ldm" {
17 domain {
18 sysclkfreq 0x42c1d80;
19
20 processor "niagara2" {
21 clkfreq 0x42c1d80;
22 cores 4;
23 vthreads 8;
24 nglobals 4;
25 nwins 8;
26 rstv 0xfff0000020;
27 maxtl 7;
28 itlb {
29 entries 64;
30 }
31 dtlb {
32 entries 128;
33 }
34 }
35
36 addressmap {
37 device "memory" 0x0 +0x100000000 {
38 load +0x100000 "4c8t/legion-guest-domain0.md";
39 load +0x180000 "4c8t/legion-hv.md";
40 }
41 device "memory" 0x1ff0000000 +320K {
42 load +0x0 "savestate_n2.bin";
43 }
44
45 /////////////////////////////////////////
46 // ROM images //
47 /////////////////////////////////////////
48 device "memory" 0xfff0000000 + 0x800000 {
49 rom;
50 load +0x0 "reset.bin";
51 content +0x100 64 {
52 0x200000 0x3e00000 0x180000 0xfff0010000
53 }
54 load +0x10000 "q.bin";
55 load +0x80000 "openboot.bin";
56 }
57 // PIU
58 device "piu" 0x8800000000 +8M, 0xc000000000 +64G;
59
60 // NIU
61// mmi_device "n2niu" 0x8100000000 +4G;
62
63 // TOD (XXX hack)
64 device "dumbtod" 0xfff0d22000 +0x8;
65
66 // HV console
67 device "dumbserial" 0xfff0ca0000 +0x50 {
68 //xterm "xterm -l -lf hv.log -bg black -fg yellow -geometry 80x25+550+30 -T 'HV Debug ' -e netcons %s %d &";
69 }
70
71 /////////////////////////////////////////
72 // Partition 1
73 /////////////////////////////////////////
74
75 // Guest console
76 device "dumbserial" 0x1f10002000 +0x50 {
77 xterm "xterm -l -lf guest1.log -bg black -fg yellow -geometry 80x25+50+30 -T 'domain0 0' -e netcons %s %d &";
78 time_string "console login:";
79 }
80
81
82 // nvram
83 device "memory" 0x1f11000000 +0x2000 {
84 // private;
85 load +0x0 "nvram.bin";
86 }
87
88 // disk
89 device "memory" 0x1f40000000 +0x20000000 {
90 virtual_disk;
91 load s0 rom "disk1.img";
92 }
93
94 }
95 }
96}