Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/mm/as.c

    re3ee9b9 r97bdb4a  
    116116as_t *AS_KERNEL = NULL;
    117117
    118 static int as_constructor(void *obj, unsigned int flags)
     118NO_TRACE static int as_constructor(void *obj, unsigned int flags)
    119119{
    120120        as_t *as = (as_t *) obj;
     
    128128}
    129129
    130 static size_t as_destructor(void *obj)
     130NO_TRACE static size_t as_destructor(void *obj)
    131131{
    132132        as_t *as = (as_t *) obj;
     
    274274 *
    275275 */
    276 void as_hold(as_t *as)
     276NO_TRACE void as_hold(as_t *as)
    277277{
    278278        atomic_inc(&as->refcount);
     
    287287 *
    288288 */
    289 void as_release(as_t *as)
     289NO_TRACE void as_release(as_t *as)
    290290{
    291291        if (atomic_predec(&as->refcount) == 0)
     
    303303 *
    304304 */
    305 static bool check_area_conflicts(as_t *as, uintptr_t va, size_t size,
     305NO_TRACE static bool check_area_conflicts(as_t *as, uintptr_t va, size_t size,
    306306    as_area_t *avoid_area)
    307307{
     
    463463 *
    464464 */
    465 static as_area_t *find_area_and_lock(as_t *as, uintptr_t va)
     465NO_TRACE static as_area_t *find_area_and_lock(as_t *as, uintptr_t va)
    466466{
    467467        ASSERT(mutex_locked(&as->lock));
     
    717717 *
    718718 */
    719 static void sh_info_remove_reference(share_info_t *sh_info)
     719NO_TRACE static void sh_info_remove_reference(share_info_t *sh_info)
    720720{
    721721        bool dealloc = false;
     
    987987 *
    988988 */
    989 bool as_area_check_access(as_area_t *area, pf_access_t access)
     989NO_TRACE bool as_area_check_access(as_area_t *area, pf_access_t access)
    990990{
    991991        int flagmap[] = {
     
    10101010 *
    10111011 */
    1012 static unsigned int area_flags_to_page_flags(unsigned int aflags)
     1012NO_TRACE static unsigned int area_flags_to_page_flags(unsigned int aflags)
    10131013{
    10141014        unsigned int flags = PAGE_USER | PAGE_PRESENT;
     
    13851385}
    13861386
    1387 
    1388 
    13891387/** Compute flags for virtual address translation subsytem.
    13901388 *
     
    13941392 *
    13951393 */
    1396 unsigned int as_area_get_flags(as_area_t *area)
     1394NO_TRACE unsigned int as_area_get_flags(as_area_t *area)
    13971395{
    13981396        ASSERT(mutex_locked(&area->lock));
     
    14121410 *
    14131411 */
    1414 pte_t *page_table_create(unsigned int flags)
     1412NO_TRACE pte_t *page_table_create(unsigned int flags)
    14151413{
    14161414        ASSERT(as_operations);
     
    14271425 *
    14281426 */
    1429 void page_table_destroy(pte_t *page_table)
     1427NO_TRACE void page_table_destroy(pte_t *page_table)
    14301428{
    14311429        ASSERT(as_operations);
     
    14481446 *
    14491447 */
    1450 void page_table_lock(as_t *as, bool lock)
     1448NO_TRACE void page_table_lock(as_t *as, bool lock)
    14511449{
    14521450        ASSERT(as_operations);
     
    14621460 *
    14631461 */
    1464 void page_table_unlock(as_t *as, bool unlock)
     1462NO_TRACE void page_table_unlock(as_t *as, bool unlock)
    14651463{
    14661464        ASSERT(as_operations);
     
    14771475 *         are locked, otherwise false.
    14781476 */
    1479 bool page_table_locked(as_t *as)
     1477NO_TRACE bool page_table_locked(as_t *as)
    14801478{
    14811479        ASSERT(as_operations);
Note: See TracChangeset for help on using the changeset viewer.