Changeset 778c1e1 in mainline for arch/sparc64/include


Ignore:
Timestamp:
2006-02-22T14:52:18Z (20 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
7d53ef4
Parents:
effee6f
Message:

Move OFW functionality of ppc32 memory_init to genarch so that the code can also be used by sparc64.
sparc64 is now close to broken as it lacks functionality to provide identity mapping for the whole phyisical memory.

Location:
arch/sparc64/include
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • arch/sparc64/include/mm/memory_init.h

    reffee6f r778c1e1  
    3030#define __sparc64_MEMORY_INIT_H__
    3131
    32 #include <config.h>
     32#include <typedefs.h>
    3333
    34 #define get_memory_size()       CONFIG_MEMORY_SIZE
     34extern size_t get_memory_size(void);
    3535
    3636#endif
  • arch/sparc64/include/trap/mmu.h

    reffee6f r778c1e1  
    4040#define FAST_MMU_HANDLER_SIZE                   128
    4141
     42#ifdef __ASM__
    4243.macro FAST_INSTRUCTION_ACCESS_MMU_MISS_HANDLER
    4344        call fast_instruction_access_mmu_miss
     
    5758        retry
    5859.endm
     60#endif /* __ASM__ */
    5961
    6062#endif
Note: See TracChangeset for help on using the changeset viewer.