blob: e1773b6200a677692aefacfad15dae4614f5cccc [file] [log] [blame]
Morgan Tsai1602dd52007-10-29 21:00:14 +00001/*
2 * This file is part of the LinuxBIOS project.
3 *
4 * Copyright (C) 2004 Tyan Computer
5 * Written by Yinghai Lu <yhlu@tyan.com> for Tyan Computer.
6 * Copyright (C) 2007 Silicon Integrated Systems Corp. (SiS)
7 * Written by Morgan Tsai <my_tsai@sis.com> for SiS.
8 *
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as published by
11 * the Free Software Foundation; either version 2 of the License, or
12 * (at your option) any later version.
13 *
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
18 *
19 * You should have received a copy of the GNU General Public License
20 * along with this program; if not, write to the Free Software
21 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
22 */
23
24 .section ".romstrap", "a", @progbits
25
26
27 .globl __romstrap_start
28__romstrap_start:
29rstables:
30 .long 0x2b16d065
31 .long 0x0
32 .long 0x0
33 .long linkedlist
34
35linkedlist:
36 .long 0x0003001C // 10h
37 .long 0x08000000 // 14h
38 .long 0x00000000 // 18h
39 .long 0xFFFFFFFF // 1Ch
40
41 .long 0xFFFFFFFF // 20h
42 .long 0xFFFFFFFF // 24h
43 .long 0xFFFFFFFF // 28h
44 .long 0xFFFFFFFF // 2Ch
45
46// MAC address -------------------------------- 0x7FFC0h
47 .long 0x56341200 // 30h, MAC address low 4 byte ---> keep it in 0xffffffc0
48 .long 0x00009078 // 34h, MAC address high 4 byte
49
50 .long 0x002309CE // 38h, UUID low 4 byte
51 .long 0x00E08100 // 3Ch, UUID high 4 byte
52
53
54// Firmware Trap -------------------------------- 0x7FFD0h
55/*
56//Firmware trap for SiS761+966
57 .long 0x00402000
58 .long 0x6043A800
59 .long 0x00180000
60 .long 0x1421C402
61*/
62
63//Firmware trap for SiS756+966 ---> keep it in 0xffffffd0
64 .long 0x00402000
65 .long 0xE043A800
66 .long 0x00180000
67 .long 0x1421C402
68
69rspointers:
70 .long rstables // It will be 0xffffffe0
71 .long rstables
72 .long rstables
73 .long rstables
74
75 .globl __romstrap_end
76
77__romstrap_end:
78.previous