Changeset 96e08225 in mainline


Ignore:
Timestamp:
2006-03-14T16:49:14Z (19 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
46bbccb
Parents:
d9b46dd
Message:

ppc32: support for exception vectors

File:
1 edited

Legend:

Unmodified
Added
Removed
  • arch/ppc32/loader/main.c

    rd9b46dd r96e08225  
    3131#include "asm.h"
    3232
    33 #define KERNEL_PHYSICAL_ADDRESS 0x2000
    34 #define KERNEL_VIRTUAL_ADDRESS 0x80002000
     33#define KERNEL_PHYSICAL_ADDRESS 0x0000
     34#define KERNEL_VIRTUAL_ADDRESS 0x80000000
     35#define KERNEL_BOOT_OFFSET 0x2000
    3536#define KERNEL_START &_binary_____________kernel_kernel_bin_start
    3637#define KERNEL_END &_binary_____________kernel_kernel_bin_end
     
    6869       
    6970        flush_instruction_cache();
    70         jump_to_kernel((void *) KERNEL_VIRTUAL_ADDRESS, ofw_translate(&memmap));
     71        jump_to_kernel((void *) KERNEL_VIRTUAL_ADDRESS + KERNEL_BOOT_OFFSET, ofw_translate(&memmap));
    7172}
Note: See TracChangeset for help on using the changeset viewer.