epoc32/include/assp/omap3530_assp/assp.mmh
branchSymbian3
changeset 4 837f303aceeb
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/epoc32/include/assp/omap3530_assp/assp.mmh	Wed Mar 31 12:33:34 2010 +0100
     1.3 @@ -0,0 +1,141 @@
     1.4 +// Copyright (c) 1998-2009 Nokia Corporation and/or its subsidiary(-ies).
     1.5 +// All rights reserved.
     1.6 +// This component and the accompanying materials are made available
     1.7 +// under the terms of the License "Eclipse Public License v1.0"
     1.8 +// which accompanies this distribution, and is available
     1.9 +// at the URL "http://www.eclipse.org/legal/epl-v10.html".
    1.10 +//
    1.11 +// Initial Contributors:
    1.12 +// Nokia Corporation - initial contribution.
    1.13 +//
    1.14 +// Contributors:
    1.15 +//
    1.16 +// Description:
    1.17 +// omap3530/omap3530_assp/assp.mmh
    1.18 +// TO DO: (mandatory)
    1.19 +// Add here a definition for your CPU (list in CONFIG.INC)
    1.20 +// macro __CPU_CORTEX_A8__
    1.21 +//
    1.22 +
    1.23 +macro __CPU_CORTEX_A8N__
    1.24 +
    1.25 +// TO DO: (mandatory)
    1.26 +//
    1.27 +// Add here a definition for your Memory Model
    1.28 +//
    1.29 +#define MM_MULTIPLE
    1.30 +
    1.31 +// TO DO: (mandatory)
    1.32 +//
    1.33 +// Macro which generates the names for the binaries for this platform
    1.34 +//
    1.35 +#define AsspTarget(name,ext) _omap3530_##name##.##ext
    1.36 +
    1.37 +//Include debug support. Some e32 tests require debug support
    1.38 +macro __DEBUGGER_SUPPORT__
    1.39 +
    1.40 +//
    1.41 +// TO DO: 
    1.42 +//
    1.43 +// If euser is built from the variant, uncomment the following line to build it
    1.44 +// as ARM rather than Thumb
    1.45 +// 
    1.46 +// #define __BUILD_VARIANT_EUSER_AS_ARM__
    1.47 +
    1.48 +// TO DO: (optional)
    1.49 +//
    1.50 +// To replace some of the generic utility functions with variant specific
    1.51 +// versions (eg to replace memcpy with a version optimised for the hardware),
    1.52 +// uncomment the two lines below and edit the files in the replacementUtils
    1.53 +// directory.
    1.54 +//
    1.55 +// #define REPLACE_GENERIC_UTILS
    1.56 +// #define VariantReplacementUtilsPath beagle/beagle_variant/replacement_utils
    1.57 +
    1.58 +// TO DO: (optional)
    1.59 +//
    1.60 +// Enable BTrace support in release versions of the kernel by adding
    1.61 +// the following BTRACE macro declarations
    1.62 +//
    1.63 +// macro BTRACE_KERNEL_ALL
    1.64 +
    1.65 +// TO DO:
    1.66 +//
    1.67 +// Uncomment the following line if using the r1p0 release or later of the ARM1136 processor.
    1.68 +// 
    1.69 +// macro __CPU_ARM1136_IS_R1__
    1.70 +
    1.71 +// TO DO:
    1.72 +//
    1.73 +// Include the following line if default memory mapping should use shared memory.
    1.74 +// Should be on for multicore (SMP) devices.
    1.75 +//
    1.76 +// macro	__CPU_USE_SHARED_MEMORY
    1.77 +//
    1.78 +
    1.79 +// TO DO:
    1.80 +//
    1.81 +// Uncomment the next line if using the ARM1136 processor and ARM1136 Erratum 406973
    1.82 +// "CLREX instruction might be ignored during data cache line fill"
    1.83 +// is fixed on this hardware.
    1.84 +// 
    1.85 +// macro __CPU_ARM1136_ERRATUM_406973_FIXED
    1.86 +
    1.87 +// Uncomment next line if:
    1.88 +//	1) using the ARM1136 processor and ARM1136 Erratum 408022 "Cancelled write to CONTEXTID register might update ASID" 
    1.89 +//	   is fixed on this hardware, or
    1.90 +//	2) using the ARM1176 processor and ARM1176 Erratum 415047 "Cancelled write to CONTEXTID register might update ASID" 
    1.91 +//	   is fixed on this hardware.
    1.92 +//
    1.93 +// macro __CPU_ARM1136_ERRATUM_408022_FIXED
    1.94 +
    1.95 +// Uncomment if:
    1.96 +//	1)	using ARM1136 processor and ARM1136 Erratum 411920: "Invalidate Entire Instruction Cache
    1.97 +//	  	operation might fail to invalidate some lines if coincident with linefill"
    1.98 +//  	  	is fixed on this hardware, or
    1.99 +//	2)	using ARM1176 processor and ARM1176 Erratum 415045: "Invalidate Entire Instruction Cache
   1.100 +// 	  	operation might fail to invalidate some lines if coincident with linefill
   1.101 +//	  	is fixed on this hardware.
   1.102 +// Workaround:
   1.103 +//	1)	Disables the use of of prefetch range cache operations by setting RV bit in Auxiliary Ctrl Reg.
   1.104 +//	2)	Replaces Invalidate ICache operation with the sequence defined in the errata document.
   1.105 +// If this macro is enabled, it should be accompanied by:
   1.106 +// 	"GBLL CFG_CPU_ARM1136_ERRATUM_411920_FIXED" in variant.mmh
   1.107 +//
   1.108 +// macro __CPU_ARM1136_ERRATUM_411920_FIXED
   1.109 +
   1.110 +// Uncomment the following line if Page Tables/Dirs have to be updated in main memory.
   1.111 +// Standard platforms shouldn't have this feature switched on.
   1.112 +// This must be accompanied by __ARM_L210_CACHE__ or __ARM_L220_CACHE__ macro.
   1.113 +// Omission::  The solution doesn't update temporary mappings 
   1.114 +// of inter-process communication (IPC) - aka aliasing.
   1.115 +//
   1.116 +// macro __FLUSH_PT_INTO_RAM__
   1.117 +
   1.118 +// Uncomment the following line if Symbian OS is running in TrustZone non-secure state and the
   1.119 +// secure state has prevented code executing in non-secure state from being able to mask FIQs by
   1.120 +// setting the SCR.FW bit in the secure configuration register.
   1.121 +//
   1.122 +// macro __FIQ_RESERVED_FOR_SECURE_STATE__
   1.123 +
   1.124 +// Various PlatSec configuration options cannot be disabled even by clearing the appropriate
   1.125 +// bits in the kernel configuration flags - they are enforced at compile time.  Uncomment the
   1.126 +// following to allow the clearing of bits in the kernel config flags to disable the relevant
   1.127 +// options at run time.
   1.128 +//
   1.129 +//macro __PLATSEC_UNLOCKED__
   1.130 +
   1.131 +// If this macro is enabled then EMapAttrBufferedNC memory will be remapped as EMapAttrFullyBlocking
   1.132 +//macro FAULTY_NONSHARED_DEVICE_MEMORY
   1.133 +
   1.134 +// Uncomment the following line if L210/20 cache is running in forced-WT mode.
   1.135 +// (Forced_WT bit set in Debug Control Register of L210/20 cache controller.)
   1.136 +// macro __ARM_L2_CACHE_WT_MODE
   1.137 +
   1.138 +// For the status of errata of L210 & L220 cache, see the header of source file:
   1.139 +// e32\kernel\arm\cachel2.cpp
   1.140 +
   1.141 +#if defined(__USING_USING_ASSP_REGISTER_API__) || defined(__USING_INTERRUPT_API__) || defined(__USING_ASSP_REGISTER_API__)
   1.142 +library	AsspTarget(kaomap3530,lib)
   1.143 +#endif
   1.144 +