Changes in kernel/arch/sparc64/src/mm/sun4v/as.c [b7fd2a0:63e27ef] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/sparc64/src/mm/sun4v/as.c
rb7fd2a0 r63e27ef 63 63 } 64 64 65 errno_t as_constructor_arch(as_t *as, unsigned int flags)65 int as_constructor_arch(as_t *as, unsigned int flags) 66 66 { 67 67 #ifdef CONFIG_TSB 68 68 uintptr_t tsb_base = frame_alloc(TSB_FRAMES, flags, TSB_SIZE - 1); 69 69 if (!tsb_base) 70 return ENOMEM;70 return -1; 71 71 72 72 tsb_entry_t *tsb = (tsb_entry_t *) PA2KA(tsb_base); … … 83 83 #endif 84 84 85 return EOK;85 return 0; 86 86 } 87 87 … … 97 97 } 98 98 99 errno_t as_create_arch(as_t *as, unsigned int flags)99 int as_create_arch(as_t *as, unsigned int flags) 100 100 { 101 101 #ifdef CONFIG_TSB … … 103 103 #endif 104 104 105 return EOK;105 return 0; 106 106 } 107 107
Note:
See TracChangeset
for help on using the changeset viewer.