Changeset f3776a3 in mainline


Ignore:
Timestamp:
2009-01-29T15:35:01Z (15 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
e5be99a
Parents:
6196dae
Message:

move loader base address to 16 MB
remove debugging output

Location:
boot/arch/ppc32/loader
Files:
1 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • boot/arch/ppc32/loader/_link.ld.in

    r6196dae rf3776a3  
    44 
    55SECTIONS {
    6         .boot 0x10000000: AT (0) {
     6        .boot 0x01000000: AT (0) {
    77                *(BOOTSTRAP);
    88                *(REALMODE);
  • boot/arch/ppc32/loader/asm.S

    r6196dae rf3776a3  
    2929#include "asm.h"
    3030#include "regname.h"
    31 #include "debug.inc"
    3231
    3332.text
     
    141140real_mode:
    142141       
    143         DEBUG_INIT
    144         DEBUG_real_mode
    145        
    146142        # copy kernel to proper location
    147143        #
     
    164160                lwz r29, 0(r5)
    165161               
    166                 DEBUG_INIT
    167                 DEBUG_copy_loop
    168                
    169162                copy_loop:
    170163                       
     
    181174                        bdnz copy_loop
    182175                       
    183                         DEBUG_end_copy_loop
    184                
    185176                addi r5, r5, 4
    186177                b page_copy
    187178       
    188179        copy_end:
    189        
    190         DEBUG_segments
    191180       
    192181        # initially fill segment registers
     
    221210        # invalidate block address translation registers
    222211       
    223         DEBUG_bat
    224        
    225212        li r30, 0
    226213       
     
    251238        # create empty Page Hash Table
    252239        # on top of memory, size 64 KB
    253        
    254         DEBUG_pht
    255240       
    256241        lwz r31, 0(r3)                # r31 = memory size
     
    283268               
    284269                bdnz pht_clear
    285 
    286                 DEBUG_end_pht_clear
    287270               
    288271        clear_end:
     
    291274       
    292275        # create BAT identity mapping
    293        
    294         DEBUG_mapping
    295276       
    296277        lwz r31, 0(r3)                # r31 = memory size
     
    316297                bdnz bat_mask
    317298       
    318         DEBUG_bat_mask
    319        
    320299        andi. r31, r31, 0x07ff        # mask = mask & 0x07ff (BAT can map up to 256 MB)
    321300       
     
    337316       
    338317        no_bat:
    339 
     318       
    340319#endif
    341        
    342         DEBUG_tlb
    343320       
    344321        tlbia
    345322        tlbsync
    346        
    347         DEBUG_prepare
    348323       
    349324        # start the kernel
     
    374349        sync
    375350        isync
    376        
    377         DEBUG_rfi
    378351        rfi
    379352
Note: See TracChangeset for help on using the changeset viewer.