diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1998-11-19 17:35:49 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1998-11-19 17:35:49 +0000 |
commit | 847375f3ad4af55b9bd4d8a6daff313165de5fd8 (patch) | |
tree | 53d4acf4aaffaaaa6e7aafa52f2457fdf2758e44 /c/src/lib/libbsp/powerpc | |
parent | Changed BOOTP -> BOOTP/DHCP. (diff) | |
download | rtems-847375f3ad4af55b9bd4d8a6daff313165de5fd8.tar.bz2 |
Patch from Eric Norum <eric@skatter.usask.ca>:
1) Socket timeout field changed from `short' to `long'. This makes longer
timeouts possible. With a 1 kHz system clock the old system allowed
timeouts only up to a little over 30 seconds! This change is a
slightly cleaned-up version of the patch proposed by Ian Lance Taylor.
2) Major changes to BOOTP/DHCP reply handling. Now supports much of
RFC2132. These changes were done at the request of, and with the
assistance of, Erik Ivanenko.
If you're making changes, you might want to change the network
supplement Essentially just do a global search and replace of BOOTP
with BOOTP/DHCP.
Diffstat (limited to 'c/src/lib/libbsp/powerpc')
-rw-r--r-- | c/src/lib/libbsp/powerpc/psim/startup/device-tree | 3 | ||||
-rw-r--r-- | c/src/lib/libbsp/powerpc/psim/startup/linkcmds | 7 |
2 files changed, 6 insertions, 4 deletions
diff --git a/c/src/lib/libbsp/powerpc/psim/startup/device-tree b/c/src/lib/libbsp/powerpc/psim/startup/device-tree index 29873839e5..bd2a2a56ef 100644 --- a/c/src/lib/libbsp/powerpc/psim/startup/device-tree +++ b/c/src/lib/libbsp/powerpc/psim/startup/device-tree @@ -1,3 +1,4 @@ #/openprom/init/register/pc 0 #/openprom/options/smp 2 -/openprom/options/oea-memory-size 4194304 +#/openprom/options/oea-memory-size 4194304 +/openprom/options/oea-memory-size 8388608 diff --git a/c/src/lib/libbsp/powerpc/psim/startup/linkcmds b/c/src/lib/libbsp/powerpc/psim/startup/linkcmds index 61b61bf5c0..fd691586fb 100644 --- a/c/src/lib/libbsp/powerpc/psim/startup/linkcmds +++ b/c/src/lib/libbsp/powerpc/psim/startup/linkcmds @@ -19,9 +19,10 @@ ENTRY(_start) /* Do we need any of these for elf? __DYNAMIC = 0; */ PROVIDE (PSIM_INSTRUCTIONS_PER_MICROSECOND = 100); +PROVIDE (CPU_PPC_CLICKS_PER_MS = 16667); MEMORY { - RAM : ORIGIN = 0, LENGTH = 4M + RAM : ORIGIN = 0, LENGTH = 8M EPROM : ORIGIN = 0xFFF00000, LENGTH = 0x20000 } @@ -67,7 +68,7 @@ SECTIONS .fini : { *(.fini) } >RAM .rodata : { *(.rodata) *(.gnu.linkonce.r*) } >RAM .rodata1 : { *(.rodata1) } >RAM - _etext = .; + PROVIDE (_etext = .); PROVIDE (etext = .); PROVIDE (__SDATA2_START__ = .); .sdata2 : { *(.sdata2) } >RAM @@ -139,7 +140,7 @@ SECTIONS _edata = .; PROVIDE (edata = .); - PROVIDE (RAM_END = 0x3f0000); + PROVIDE (RAM_END = 0x7f0000); .sbss : { PROVIDE (__sbss_start = .); |