Changeset 9b2c969 in rtems for c/src/lib/libbsp/m68k/efi332


Ignore:
Timestamp:
Jan 13, 2000, 3:07:03 PM (21 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
0724b658
Parents:
c0ebf02
Message:

Made sweep of changes to get all BSPs to the same point on the linkcmds
and memory layout. Next step is to share the same bsp_pretasking_hook.

Location:
c/src/lib/libbsp/m68k/efi332
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/m68k/efi332/include/bsp.h

    rc0ebf02 r9b2c969  
    7676extern char _copy_start[];
    7777extern char _edata[];
    78 extern char _bss_start[];
     78extern char _clear_start[];
    7979extern char end[];
    8080extern char _copy_data_from_rom[];
  • c/src/lib/libbsp/m68k/efi332/start/start.c

    rc0ebf02 r9b2c969  
    208208   
    209209    /* Zero bss */
    210     for (dst = _bss_start; dst< end; dst++)
     210    for (dst = _clear_start; dst< end; dst++)
    211211      *dst = 0;
    212212  }
  • c/src/lib/libbsp/m68k/efi332/startup/bspstart.c

    rc0ebf02 r9b2c969  
    8686{
    8787  void           *vbr;
     88  extern        unsigned int _WorkspaceBase;
    8889
    8990  /*
     
    9899
    99100  BSP_Configuration.work_space_start = (void *)
     101    (((unsigned int)_WorkspaceBase + STACK_SIZE + 0x100) & 0xffffff00);
     102
     103#if 0
    100104    (((unsigned int)_end + STACK_SIZE + 0x100) & 0xffffff00);
     105#endif
    101106
    102107  /* Clock_exit is done as an atexit() function */
  • c/src/lib/libbsp/m68k/efi332/startup/linkcmds

    rc0ebf02 r9b2c969  
    2121 * +--------------------+
    2222 * | .bss               |
    23  * |        __bss_start | start of bss, cleared by crt0
     23 * |        _clear_start| start of bss, cleared by crt0
    2424 * |        _end        | start of heap, used by sbrk()
    2525 * +--------------------+
     
    136136        } >ram
    137137        .bss : {
    138                 PROVIDE (_bss_start = .);
    139138                PROVIDE (_clear_start = .);
    140139                *(.bss)
     
    151150                PROVIDE (_HeapEnd = .);
    152151
    153                 clear_end = .;
     152                PROVIDE (_clear_end = .);
    154153
    155154                PROVIDE (_WorkspaceBase = .);
Note: See TracChangeset for help on using the changeset viewer.