Ignore:
File:
1 edited

Legend:

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

    r63e27ef rb7fd2a0  
    6060}
    6161
    62 int as_constructor_arch(as_t *as, unsigned int flags)
     62errno_t 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 -1;
     67                return ENOMEM;
    6868
    6969        tsb_entry_t *tsb = (tsb_entry_t *) PA2KA(tsb_base);
     
    7474#endif
    7575       
    76         return 0;
     76        return EOK;
    7777}
    7878
     
    8888}
    8989
    90 int as_create_arch(as_t *as, unsigned int flags)
     90errno_t as_create_arch(as_t *as, unsigned int flags)
    9191{
    9292#ifdef CONFIG_TSB
Note: See TracChangeset for help on using the changeset viewer.