Changeset 9982674 in rtems


Ignore:
Timestamp:
Oct 26, 1999, 1:35:36 AM (20 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
2ca64b5
Parents:
f70598c7
Message:

Modifications from Erik Ivanenko <erik.ivanenko@…> to add
proper Multiboot signature to pc386 BSP. This enables Grub to
recognize the image.

Location:
c/src/lib/libbsp/i386/pc386/startup
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/i386/pc386/startup/ldsegs.S

    rf70598c7 r9982674  
    140140        call    SYM(delay)
    141141
     142        movw    $0xFFFB, SYM(i8259s_cache) /* set up same values in cache */
     143       
    142144        jmp     SYM (_establish_stack)  # return to the bsp entry code
    143145
     
    218220END_CODE
    219221
     222    .section .m_hdr
     223        .long 0x1BADB002
     224        .long 0
     225        .long 0xE4524FFE
    220226END
  • c/src/lib/libbsp/i386/pc386/startup/linkcmds

    rf70598c7 r9982674  
    3636SECTIONS
    3737{
     38/*  .m_hdr : 
     39  {
     40    . = ALIGN(4);
     41    *(.m_hdr)
     42  }
     43*/
    3844  .text :
    3945  {
    4046    _text_start = . ;
     47    . = ALIGN(4);
     48    *(.m_hdr)
    4149    *(.text)
    4250    . = ALIGN (16);
     
    6876    _etext = ALIGN( 0x10 ) ;
    6977  }
    70   .init :
    71   { *( .init ) } = 0x9090
    72   .fini :
    73   { *( .fini ) } = 0x9090
    7478
     79  .init : { *(.init) } = 0x9090
     80  .fini : { *(.fini) } = 0x9090
    7581  .data ADDR( .fini ) + SIZEOF( .fini ):
    7682  {
Note: See TracChangeset for help on using the changeset viewer.