1 // 2 // Copyright (c) 2010-2025 Antmicro 3 // 4 // This file is licensed under the MIT License. 5 // Full license text is available in 'licenses/MIT.txt'. 6 // 7 8 namespace Antmicro.Renode.Peripherals.CPU 9 { 10 public abstract class CortexMImplementationDefinedAttributionUnit 11 { AttributionCheckCallback(uint address, bool secure, AccessType type, int accessWidth, out int region, out SecurityAttribution attribution)12 public abstract bool AttributionCheckCallback(uint address, bool secure, AccessType type, int accessWidth, out int region, out SecurityAttribution attribution); 13 CortexMImplementationDefinedAttributionUnit(CortexM cpu)14 protected CortexMImplementationDefinedAttributionUnit(CortexM cpu) 15 { 16 cpu.ImplementationDefinedAttributionUnit = this; 17 } 18 } 19 20 public enum SecurityAttribution 21 { 22 NonSecure = 0, 23 NonSecureCallable = 1, 24 Secure = 2, 25 } 26 } 27