Changeset f7219b2 in rtems
- Timestamp:
- 05/21/04 15:26:20 (19 years ago)
- Children:
- e2ce15fc
- Parents:
- 922db65
- Location:
- c/src/lib/libbsp/i386/pc386
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/lib/libbsp/i386/pc386/ChangeLog
r922db65 rf7219b2 1 2004-05-21 Till Strauman <strauman@slac.stanford.edu> 2 3 * PR 624/bsps 4 startup/bspstart.c: When probing the memory, make sure not to 5 corrupt the application. Only probe addresses beyond rtemsFreeMemStart. 6 * Let IBMPC_outch() convert LF -> CRLF to avoid printk scrambling 7 the screen. 8 1 9 2003-10-02 Till Strauman <strauman@slac.stanford.edu> 2 10 -
c/src/lib/libbsp/i386/pc386/console/outch.c
r922db65 rf7219b2 271 271 static int escaped = 0; 272 272 273 if ( ! (escaped = handleEscape(escaped, c)) ) 273 if ( ! (escaped = handleEscape(escaped, c)) ) { 274 if ( '\n' == c ) 275 videoPutChar('\r'); 274 276 videoPutChar(c); 277 } 275 278 } /* _IBMPC_outch */ 276 279 -
c/src/lib/libbsp/i386/pc386/startup/bspstart.c
r922db65 rf7219b2 83 83 { 84 84 rtems_unsigned32 topAddr, val; 85 int i ;85 int i, lowest; 86 86 87 87 88 88 if (rtemsFreeMemStart & (CPU_ALIGNMENT - 1)) /* not aligned => align it */ 89 89 rtemsFreeMemStart = (rtemsFreeMemStart+CPU_ALIGNMENT) & ~(CPU_ALIGNMENT-1); 90 91 /* find the lowest 1M boundary to probe */ 92 lowest = ((rtemsFreeMemStart + (1<<20)) >> 20) + 1; 93 if ( lowest < 2 ) 94 lowest = 2; 95 90 96 91 97 if(_heap_size == 0) … … 96 102 * let us first write 97 103 */ 98 for(i=2048; i>= 2; i--)104 for(i=2048; i>=lowest; i--) 99 105 { 100 106 topAddr = i*1024*1024 - 4; … … 102 108 } 103 109 104 for(i= 2; i<=2048; i++)110 for(i=lowest; i<=2048; i++) 105 111 { 106 112 topAddr = i*1024*1024 - 4;
Note: See TracChangeset
for help on using the changeset viewer.