Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/sparc64/src/mm/sun4v/as.c

    rb7fd2a0 r63e27ef  
    6363}
    6464
    65 errno_t as_constructor_arch(as_t *as, unsigned int flags)
     65int as_constructor_arch(as_t *as, unsigned int flags)
    6666{
    6767#ifdef CONFIG_TSB
    6868        uintptr_t tsb_base = frame_alloc(TSB_FRAMES, flags, TSB_SIZE - 1);
    6969        if (!tsb_base)
    70                 return ENOMEM;
     70                return -1;
    7171
    7272        tsb_entry_t *tsb = (tsb_entry_t *) PA2KA(tsb_base);
     
    8383#endif
    8484       
    85         return EOK;
     85        return 0;
    8686}
    8787
     
    9797}
    9898
    99 errno_t as_create_arch(as_t *as, unsigned int flags)
     99int as_create_arch(as_t *as, unsigned int flags)
    100100{
    101101#ifdef CONFIG_TSB
     
    103103#endif
    104104       
    105         return EOK;
     105        return 0;
    106106}
    107107
Note: See TracChangeset for help on using the changeset viewer.