Changeset cb6ffcd in rtems-libbsd


Ignore:
Timestamp:
Apr 19, 2012, 7:10:20 PM (8 years ago)
Author:
Jennifer Averett <jennifer.averett@…>
Branches:
4.11, afaeccc05a556f6aa25ba044a7e49d6aa634a59e, freebsd-9.3, master
Children:
9ee7689
Parents:
74587c3
Message:

Added in uma_find_refcnt() and vtoslab()
The vtoslab returns NULL for now which will cause a fault when the
code runs.

Location:
freebsd/vm
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • freebsd/vm/uma_core.c

    r74587c3 rcb6ffcd  
    30443044}
    30453045
    3046 #ifndef __rtems__
    30473046/* See uma.h */
    30483047u_int32_t *
     
    30643063        return refcnt;
    30653064}
    3066 #endif /* __rtems__ */
    30673065
    30683066/* See uma.h */
  • freebsd/vm/uma_int.h

    r74587c3 rcb6ffcd  
    392392}
    393393
    394 #ifndef __rtems__
    395394static __inline uma_slab_t
    396395vtoslab(vm_offset_t va)
    397396{
     397#ifndef __rtems__
    398398        vm_page_t p;
    399399        uma_slab_t slab;
     
    406406        else
    407407                return (NULL);
     408#else /* __rtems__ */
     409        return (NULL);  /* XXX - FIX THIS!!! */
     410#endif /* __rtems__ */
    408411}
    409412
     413#ifndef __rtems__
    410414static __inline void
    411415vsetslab(vm_offset_t va, uma_slab_t slab)
Note: See TracChangeset for help on using the changeset viewer.