Changeset a35b458 in mainline for kernel/arch/abs32le/include/arch/mm/page.h
- Timestamp:
- 2018-03-02T20:10:49Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f1380b7
- Parents:
- 3061bc1
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-02-28 17:38:31)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-03-02 20:10:49)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/abs32le/include/arch/mm/page.h
r3061bc1 ra35b458 140 140 unsigned int pat : 1; 141 141 unsigned int global : 1; 142 142 143 143 /** Valid content even if the present bit is not set. */ 144 144 unsigned int soft_valid : 1; … … 151 151 { 152 152 pte_t *p = &pt[i]; 153 153 154 154 return ( 155 155 ((unsigned int) (!p->page_cache_disable) << PAGE_CACHEABLE_SHIFT) | … … 168 168 { 169 169 pte_t *p = &pt[i]; 170 170 171 171 p->page_cache_disable = !(flags & PAGE_CACHEABLE); 172 172 p->present = !(flags & PAGE_NOT_PRESENT); … … 174 174 p->writeable = (flags & PAGE_WRITE) != 0; 175 175 p->global = (flags & PAGE_GLOBAL) != 0; 176 176 177 177 /* 178 178 * Ensure that there is at least one bit set even if the present bit is
Note:
See TracChangeset
for help on using the changeset viewer.