Ignore:
File:
1 edited

Legend:

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

    r97bdb4a re3ee9b9  
    116116as_t *AS_KERNEL = NULL;
    117117
    118 NO_TRACE static int as_constructor(void *obj, unsigned int flags)
     118static int as_constructor(void *obj, unsigned int flags)
    119119{
    120120        as_t *as = (as_t *) obj;
     
    128128}
    129129
    130 NO_TRACE static size_t as_destructor(void *obj)
     130static size_t as_destructor(void *obj)
    131131{
    132132        as_t *as = (as_t *) obj;
     
    274274 *
    275275 */
    276 NO_TRACE void as_hold(as_t *as)
     276void as_hold(as_t *as)
    277277{
    278278        atomic_inc(&as->refcount);
     
    287287 *
    288288 */
    289 NO_TRACE void as_release(as_t *as)
     289void as_release(as_t *as)
    290290{
    291291        if (atomic_predec(&as->refcount) == 0)
     
    303303 *
    304304 */
    305 NO_TRACE static bool check_area_conflicts(as_t *as, uintptr_t va, size_t size,
     305static bool check_area_conflicts(as_t *as, uintptr_t va, size_t size,
    306306    as_area_t *avoid_area)
    307307{
     
    463463 *
    464464 */
    465 NO_TRACE static as_area_t *find_area_and_lock(as_t *as, uintptr_t va)
     465static as_area_t *find_area_and_lock(as_t *as, uintptr_t va)
    466466{
    467467        ASSERT(mutex_locked(&as->lock));
     
    717717 *
    718718 */
    719 NO_TRACE static void sh_info_remove_reference(share_info_t *sh_info)
     719static void sh_info_remove_reference(share_info_t *sh_info)
    720720{
    721721        bool dealloc = false;
     
    987987 *
    988988 */
    989 NO_TRACE bool as_area_check_access(as_area_t *area, pf_access_t access)
     989bool as_area_check_access(as_area_t *area, pf_access_t access)
    990990{
    991991        int flagmap[] = {
     
    10101010 *
    10111011 */
    1012 NO_TRACE static unsigned int area_flags_to_page_flags(unsigned int aflags)
     1012static unsigned int area_flags_to_page_flags(unsigned int aflags)
    10131013{
    10141014        unsigned int flags = PAGE_USER | PAGE_PRESENT;
     
    13851385}
    13861386
     1387
     1388
    13871389/** Compute flags for virtual address translation subsytem.
    13881390 *
     
    13921394 *
    13931395 */
    1394 NO_TRACE unsigned int as_area_get_flags(as_area_t *area)
     1396unsigned int as_area_get_flags(as_area_t *area)
    13951397{
    13961398        ASSERT(mutex_locked(&area->lock));
     
    14101412 *
    14111413 */
    1412 NO_TRACE pte_t *page_table_create(unsigned int flags)
     1414pte_t *page_table_create(unsigned int flags)
    14131415{
    14141416        ASSERT(as_operations);
     
    14251427 *
    14261428 */
    1427 NO_TRACE void page_table_destroy(pte_t *page_table)
     1429void page_table_destroy(pte_t *page_table)
    14281430{
    14291431        ASSERT(as_operations);
     
    14461448 *
    14471449 */
    1448 NO_TRACE void page_table_lock(as_t *as, bool lock)
     1450void page_table_lock(as_t *as, bool lock)
    14491451{
    14501452        ASSERT(as_operations);
     
    14601462 *
    14611463 */
    1462 NO_TRACE void page_table_unlock(as_t *as, bool unlock)
     1464void page_table_unlock(as_t *as, bool unlock)
    14631465{
    14641466        ASSERT(as_operations);
     
    14751477 *         are locked, otherwise false.
    14761478 */
    1477 NO_TRACE bool page_table_locked(as_t *as)
     1479bool page_table_locked(as_t *as)
    14781480{
    14791481        ASSERT(as_operations);
Note: See TracChangeset for help on using the changeset viewer.