diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2001-04-20 13:14:55 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2001-04-20 13:14:55 +0000 |
commit | b335c503112791edc634167b59ed98d377547701 (patch) | |
tree | 144e316e346758a243a9d0e8babd35481bc76ff4 /c/src/lib/libbsp/mips/jmr3904/startup | |
parent | 2001-04-20 Joel Sherrill <joel@OARcorp.com> (diff) | |
download | rtems-b335c503112791edc634167b59ed98d377547701.tar.bz2 |
2001-04-20 Joel Sherrill <joel@OARcorp.com>
* include/bsp.h (Clear_tm27_intr): Stop the timer and disable
the interrupt. This was not quite right before and we were
getting uncontrolled interrupt nesting in tm27.
* timer/timer.c (Timer_Initialize): Added an extra reset and
changed the ITMR register so we will never get an interrupt.
(Read_timer): Fixed so the timer actually stops before it
is read. Before some times reported were outraguously high.
* start/start.S: Major clean including using stack in linkcmds,
deleting unused code, and zeroing the BSS using the linkcmds
information.
* startup/linkcmds: Put heap in lower memory than workspace
and move _clear_end so both are zeroed.
Diffstat (limited to 'c/src/lib/libbsp/mips/jmr3904/startup')
-rw-r--r-- | c/src/lib/libbsp/mips/jmr3904/startup/linkcmds | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/c/src/lib/libbsp/mips/jmr3904/startup/linkcmds b/c/src/lib/libbsp/mips/jmr3904/startup/linkcmds index 17836e5319..885cfc292e 100644 --- a/c/src/lib/libbsp/mips/jmr3904/startup/linkcmds +++ b/c/src/lib/libbsp/mips/jmr3904/startup/linkcmds @@ -108,12 +108,12 @@ SECTIONS . += _StackSize; __stack = .; _stack_init = .; - _clear_end = .; + HeapBase = .; + . += HeapSize; /* reserve some memory for heap */ WorkspaceBase = .; /* HACK -- tied to value bspstart */ . += 4096K; /* reserve some memory for workspace */ - HeapBase = .; - . += HeapSize; /* reserve some memory for heap */ + _clear_end = .; } end = .; _end = .; |