Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/ppc32/include/mm/frame.h

    rd99c1d2 rda1bafb  
    4646extern uintptr_t last_frame;
    4747
     48static inline uint32_t physmem_top(void)
     49{
     50        uint32_t physmem;
     51       
     52        asm volatile (
     53                "mfsprg3 %[physmem]\n"
     54                : [physmem] "=r" (physmem)
     55        );
     56       
     57        return physmem;
     58}
     59
    4860extern void frame_arch_init(void);
    4961extern void physmem_print(void);
Note: See TracChangeset for help on using the changeset viewer.