Changeset d9e11ff2 in mainline
- Timestamp:
- 2006-03-14T14:31:28Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 8b1439e
- Parents:
- 5581c45e
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/mips32/include/mm/page.h
r5581c45e rd9e11ff2 97 97 #define PTE_VALID_ARCH(pte) (*((__u32 *) (pte)) != 0) 98 98 #define PTE_PRESENT_ARCH(pte) ((pte)->p != 0) 99 #define PTE_GET_FRAME_ARCH(pte) ((pte)->pfn<< FRAME_WIDTH)99 #define PTE_GET_FRAME_ARCH(pte) ((pte)->pfn<<12) 100 100 101 101 #ifndef __ASM__ -
generic/include/errno.h
r5581c45e rd9e11ff2 30 30 #define __ERRNO_H__ 31 31 32 #define ENOENT 1 32 /* 1-255 are kernel error codes, 256-512 are user error codes */ 33 34 #define ENOENT -1 /* No such entry */ 35 #define ENOMEM -2 /* Not enough memory */ 33 36 34 37 #endif -
generic/src/ipc/ipc.c
r5581c45e rd9e11ff2 191 191 } else { 192 192 if (!(flags & IPC_WAIT_NONBLOCKING)) { 193 /* Wait for event to appear */ 193 194 condvar_wait(&box->cv, &box->mutex); 194 195 continue; 195 196 } 196 if (condvar_trywait(&box->cv, &box->mutex) != ESYNCH_WOULD_BLOCK)197 continue;198 197 request = NULL; 199 198 } -
generic/src/mm/as.c
r5581c45e rd9e11ff2 401 401 */ 402 402 pte = page_mapping_find(as, area->base + i*PAGE_SIZE); 403 if (pte ) {403 if (pte && PTE_VALID(pte)) { 404 404 ASSERT(PTE_PRESENT(pte)); 405 405 frame_free(ADDR2PFN(PTE_GET_FRAME(pte)));
Note:
See TracChangeset
for help on using the changeset viewer.