Ignore:
Timestamp:
Jun 26, 2017, 6:45:41 PM (7 years ago)
Author:
ertl-honda
Message:

3.0.0のリリース版に追従

File:
1 edited

Legend:

Unmodified
Added
Removed
  • asp3_wo_tecs/trunk/arch/arm_gcc/common/core_kernel_impl.c

    r302 r305  
    66 *  Copyright (C) 2000-2003 by Embedded and Real-Time Systems Laboratory
    77 *                              Toyohashi Univ. of Technology, JAPAN
    8  *  Copyright (C) 2006-2015 by Embedded and Real-Time Systems Laboratory
     8 *  Copyright (C) 2006-2016 by Embedded and Real-Time Systems Laboratory
    99 *              Graduate School of Information Science, Nagoya Univ., JAPAN
    1010 *
     
    5353 *  の責任を負わない.
    5454 *
    55  *  $Id: core_kernel_impl.c 430 2015-08-08 11:38:46Z ertl-hiro $
     55 *  $Id: core_kernel_impl.c 541 2016-01-16 03:09:21Z ertl-hiro $
    5656 */
    5757
     
    7676#ifdef USE_ARM_MMU
    7777
    78 #define D0_CLIENT       0x01U           /* 変換テーブルに従ってドメイン0にアクセス */
    79 #define USE_ASID        1                       /* 使用するASID */
     78#define CP15_DACR_D0_CLIENT     0x01U   /* 変換テーブルに従いドメイン0にアクセス */
     79#define DEFAULT_ASID            1               /* 使用するASID */
    8080
    8181/*
     
    155155         * ドメインアクセス制御の設定
    156156         */
    157         CP15_WRITE_DACR(D0_CLIENT);
     157        CP15_WRITE_DACR(CP15_DACR_D0_CLIENT);
    158158
    159159        /*
     
    161161         */
    162162#if __TARGET_ARCH_ARM >= 6
    163         CP15_WRITE_CONTEXTIDR(USE_ASID);
     163        CP15_WRITE_CONTEXTIDR(DEFAULT_ASID);
    164164#endif /* __TARGET_ARCH_ARM >= 6 */
    165165
     
    197197         */
    198198        excpt_nest_count = 1U;
     199
     200        /*
     201         *  MMUを有効に
     202         */
     203#ifdef USE_ARM_MMU
     204        arm_mmu_initialize();
     205#endif /* USE_ARM_MMU */
    199206
    200207        /*
Note: See TracChangeset for help on using the changeset viewer.