Changeset 2a2fbc8 in mainline for kernel/arch/ppc32/include
- Timestamp:
- 2016-09-01T17:05:13Z (9 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 42d08592
- Parents:
- f126c87 (diff), fb63c06 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - File:
-
- 1 edited
-
kernel/arch/ppc32/include/arch/mm/page.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/ppc32/include/arch/mm/page.h
rf126c87 r2a2fbc8 140 140 141 141 /* Macros for querying the last-level PTEs. */ 142 #define PTE_VALID_ARCH(pte) ( *((uint32_t *) (pte))!= 0)142 #define PTE_VALID_ARCH(pte) ((pte)->valid != 0) 143 143 #define PTE_PRESENT_ARCH(pte) ((pte)->present != 0) 144 144 #define PTE_GET_FRAME_ARCH(pte) ((pte)->pfn << 12)
Note:
See TracChangeset
for help on using the changeset viewer.
