Ignore:
File:
1 edited

Legend:

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

    rb7fd2a0 r63e27ef  
    6060}
    6161
    62 errno_t as_constructor_arch(as_t *as, unsigned int flags)
     62int as_constructor_arch(as_t *as, unsigned int flags)
    6363{
    6464#ifdef CONFIG_TSB
    6565        uintptr_t tsb_base = frame_alloc(TSB_FRAMES, flags, TSB_SIZE - 1);
    6666        if (!tsb_base)
    67                 return ENOMEM;
     67                return -1;
    6868
    6969        tsb_entry_t *tsb = (tsb_entry_t *) PA2KA(tsb_base);
     
    7474#endif
    7575       
    76         return EOK;
     76        return 0;
    7777}
    7878
     
    8888}
    8989
    90 errno_t as_create_arch(as_t *as, unsigned int flags)
     90int as_create_arch(as_t *as, unsigned int flags)
    9191{
    9292#ifdef CONFIG_TSB
Note: See TracChangeset for help on using the changeset viewer.