1/* 2 * Copyright (c) 2013, 2018-2019 ARM Limited 3 * All rights reserved 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 297 unchanged lines hidden (view full) --- 306 EndBitUnion(DWORD2) 307 DWORD2 dw2; 308 309 uint64_t mair; 310 uint64_t amair; 311 uint64_t _pad[3]; 312}; 313 |
314enum { 315 CR0_SMMUEN_MASK = 0x1, 316 CR0_PRIQEN_MASK = 0x2, 317 CR0_EVENTQEN_MASK = 0x4, 318 CR0_CMDQEN_MASK = 0x8, 319 CR0_ATSCHK_MASK = 0x10, 320 CR0_VMW_MASK = 0x1C0, 321}; 322 |
323enum SMMUCommandType { 324 CMD_PRF_CONFIG = 0x1000, 325 CMD_PRF_ADDR = 0x1001, 326 CMD_INV_STE = 0x1100, 327 CMD_INV_CD = 0x1101, 328 CMD_INV_CD_ALL = 0x1102, 329 CMD_INV_ALL = 0x1104, 330 CMD_TLBI_ALL = 0x1110, --- 41 unchanged lines hidden --- |