Changeset c884ef1 in mainline


Ignore:
Timestamp:
2005-05-11T22:14:29Z (20 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
ea3fb2e
Parents:
6a27d63
Message:

More of IA-64 initialization.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • arch/ia64/src/start.S

    r6a27d63 rc884ef1  
    3333k_text_start:
    3434
    35 .section K_TEXT_END
    36 .global k_text_end
    37 k_text_end:
    38 
    39 .section K_DATA_START
    40 .global k_data_start
    41 k_data_start:
    42 
    43 .section K_DATA_END
    44 .global k_data_end
    45 k_data_end:
    46 
    47 
    48 .text
    49 
    5035.global kernel_image_start
    5136
    5237stack0:
    5338kernel_image_start:
     39        # initialize register stack
     40        alloc r1 = ar.pfs, 0, 0, 0, 0   ;;
     41
     42        # initialize memory stack to some sane value
     43        movl r12=stack0
     44
    5445        # initialize gp (Global Pointer) register
    55         movl r1=k_text_start;
    56 
    57         # set stack pointer to some sane value
    58         movl r12=stack0
     46        movl r1=k_text_start
    5947
    6048        #
     
    8674        br 0b
    8775
     76.section K_TEXT_END
     77.global k_text_end
     78k_text_end:
     79
     80.section K_DATA_START
     81.global k_data_start
     82k_data_start:
     83
     84.section K_DATA_END
     85.global k_data_end
     86k_data_end:
Note: See TracChangeset for help on using the changeset viewer.