lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
Last change
on this file since 177e4ea was e731b0d, checked in by Martin Decky <martin@…>, 16 years ago |
make ppc32 OFW usage on par with sparc64, make appropriate modifications elsewhere
- introduce ofw_tree_walk_by_device_type() to gather all OFW devices of a given type
- ppc32 uses canonized OFW tree, mac-io and display devices are detected in kernel (not by the boot loader) by means of device type
- various busses (PCI, EBUS, etc.) stay sparc64 specific for now
- boot memcpy() is defined in a common way
- BALLOC_MAX_SIZE is platform-dependent
- ppc32 and sparc64 boot loaders cleanup (removal of obsolete stuff, data is not passed by global variables if not necessary, etc.)
- balloc and OFW tree canonizer have now a provision to support different mapping of the data during boot time and kernel run-time
- OFW tree canonizer uses balloc_rebase() to store pointers suitable for access during kernel run-time (with potentially different memory mapping than during boot time)
|
-
Property mode
set to
100644
|
File size:
432 bytes
|
Line | |
---|
1 | OUTPUT_FORMAT("elf32-powerpc")
|
---|
2 | OUTPUT_ARCH(powerpc:common)
|
---|
3 | ENTRY(start)
|
---|
4 |
|
---|
5 | SECTIONS {
|
---|
6 | .boot 0x01000000: AT (0) {
|
---|
7 | *(BOOTSTRAP);
|
---|
8 | *(REALMODE);
|
---|
9 | *(.text);
|
---|
10 |
|
---|
11 | *(.rodata);
|
---|
12 | *(.rodata.*);
|
---|
13 | *(.data); /* initialized data */
|
---|
14 | *(.sdata);
|
---|
15 | *(.sdata2);
|
---|
16 | *(.sbss);
|
---|
17 | *(.bss); /* uninitialized static variables */
|
---|
18 | *(COMMON); /* global variables */
|
---|
19 | [[COMPONENTS]]
|
---|
20 | }
|
---|
21 |
|
---|
22 | /DISCARD/ : {
|
---|
23 | *(.comment);
|
---|
24 | *(.note*);
|
---|
25 | }
|
---|
26 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.