Changes in kernel/arch/ppc32/include/mm/frame.h [e49e234:7a0359b] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/ppc32/include/mm/frame.h
re49e234 r7a0359b 42 42 #ifndef __ASM__ 43 43 44 #include <arch/types.h> 44 #include <typedefs.h> 45 #include <trace.h> 45 46 46 47 extern uintptr_t last_frame; 48 49 NO_TRACE static inline uint32_t physmem_top(void) 50 { 51 uint32_t physmem; 52 53 asm volatile ( 54 "mfsprg3 %[physmem]\n" 55 : [physmem] "=r" (physmem) 56 ); 57 58 return physmem; 59 } 47 60 48 61 extern void frame_arch_init(void);
Note:
See TracChangeset
for help on using the changeset viewer.