Changes in kernel/arch/sparc64/src/mm/sun4u/as.c [b7fd2a0:63e27ef] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/sparc64/src/mm/sun4u/as.c
rb7fd2a0 r63e27ef 60 60 } 61 61 62 errno_t as_constructor_arch(as_t *as, unsigned int flags)62 int as_constructor_arch(as_t *as, unsigned int flags) 63 63 { 64 64 #ifdef CONFIG_TSB 65 65 uintptr_t tsb_base = frame_alloc(TSB_FRAMES, flags, TSB_SIZE - 1); 66 66 if (!tsb_base) 67 return ENOMEM;67 return -1; 68 68 69 69 tsb_entry_t *tsb = (tsb_entry_t *) PA2KA(tsb_base); … … 74 74 #endif 75 75 76 return EOK;76 return 0; 77 77 } 78 78 … … 88 88 } 89 89 90 errno_t as_create_arch(as_t *as, unsigned int flags)90 int as_create_arch(as_t *as, unsigned int flags) 91 91 { 92 92 #ifdef CONFIG_TSB
Note:
See TracChangeset
for help on using the changeset viewer.