cpu.h (29dc49f0310ad4439424eeaf179de46d15bd2d6b) | cpu.h (761c46425e2d2a7a65cbbd1ee65f0abce769618c) |
---|---|
1/* 2 * ARM virtual CPU header 3 * 4 * Copyright (c) 2003 Fabrice Bellard 5 * 6 * This library is free software; you can redistribute it and/or 7 * modify it under the terms of the GNU Lesser General Public 8 * License as published by the Free Software Foundation; either --- 295 unchanged lines hidden (view full) --- 304 struct { 305 uint64_t _unused_sctlr; 306 uint64_t sctlr_ns; 307 uint64_t hsctlr; 308 uint64_t sctlr_s; 309 }; 310 uint64_t sctlr_el[4]; 311 }; | 1/* 2 * ARM virtual CPU header 3 * 4 * Copyright (c) 2003 Fabrice Bellard 5 * 6 * This library is free software; you can redistribute it and/or 7 * modify it under the terms of the GNU Lesser General Public 8 * License as published by the Free Software Foundation; either --- 295 unchanged lines hidden (view full) --- 304 struct { 305 uint64_t _unused_sctlr; 306 uint64_t sctlr_ns; 307 uint64_t hsctlr; 308 uint64_t sctlr_s; 309 }; 310 uint64_t sctlr_el[4]; 311 }; |
312 uint64_t vsctlr; /* Virtualization System control register. */ |
|
312 uint64_t cpacr_el1; /* Architectural feature access control register */ 313 uint64_t cptr_el[4]; /* ARMv8 feature trap registers */ 314 uint32_t c1_xscaleauxcr; /* XScale auxiliary control register. */ 315 uint64_t sder; /* Secure debug enable register. */ 316 uint32_t nsacr; /* Non-secure access control register. */ 317 union { /* MMU translation table base 0. */ 318 struct { 319 uint64_t _unused_ttbr0_0; --- 420 unchanged lines hidden (view full) --- 740 struct { 741 /* The PMSAv8 implementation also shares some PMSAv7 config 742 * and state: 743 * pmsav7.rnr (region number register) 744 * pmsav7_dregion (number of configured regions) 745 */ 746 uint32_t *rbar[M_REG_NUM_BANKS]; 747 uint32_t *rlar[M_REG_NUM_BANKS]; | 313 uint64_t cpacr_el1; /* Architectural feature access control register */ 314 uint64_t cptr_el[4]; /* ARMv8 feature trap registers */ 315 uint32_t c1_xscaleauxcr; /* XScale auxiliary control register. */ 316 uint64_t sder; /* Secure debug enable register. */ 317 uint32_t nsacr; /* Non-secure access control register. */ 318 union { /* MMU translation table base 0. */ 319 struct { 320 uint64_t _unused_ttbr0_0; --- 420 unchanged lines hidden (view full) --- 741 struct { 742 /* The PMSAv8 implementation also shares some PMSAv7 config 743 * and state: 744 * pmsav7.rnr (region number register) 745 * pmsav7_dregion (number of configured regions) 746 */ 747 uint32_t *rbar[M_REG_NUM_BANKS]; 748 uint32_t *rlar[M_REG_NUM_BANKS]; |
749 uint32_t *hprbar; 750 uint32_t *hprlar; |
|
748 uint32_t mair0[M_REG_NUM_BANKS]; 749 uint32_t mair1[M_REG_NUM_BANKS]; | 751 uint32_t mair0[M_REG_NUM_BANKS]; 752 uint32_t mair1[M_REG_NUM_BANKS]; |
753 uint32_t hprselr; |
|
750 } pmsav8; 751 752 /* v8M SAU */ 753 struct { 754 uint32_t *rbar; 755 uint32_t *rlar; 756 uint32_t rnr; 757 uint32_t ctrl; --- 143 unchanged lines hidden (view full) --- 901 bool has_neon; 902 /* CPU has M-profile DSP extension */ 903 bool has_dsp; 904 905 /* CPU has memory protection unit */ 906 bool has_mpu; 907 /* PMSAv7 MPU number of supported regions */ 908 uint32_t pmsav7_dregion; | 754 } pmsav8; 755 756 /* v8M SAU */ 757 struct { 758 uint32_t *rbar; 759 uint32_t *rlar; 760 uint32_t rnr; 761 uint32_t ctrl; --- 143 unchanged lines hidden (view full) --- 905 bool has_neon; 906 /* CPU has M-profile DSP extension */ 907 bool has_dsp; 908 909 /* CPU has memory protection unit */ 910 bool has_mpu; 911 /* PMSAv7 MPU number of supported regions */ 912 uint32_t pmsav7_dregion; |
913 /* PMSAv8 MPU number of supported hyp regions */ 914 uint32_t pmsav8r_hdregion; |
|
909 /* v8M SAU number of supported regions */ 910 uint32_t sau_sregion; 911 912 /* PSCI conduit used to invoke PSCI methods 913 * 0 - disabled, 1 - smc, 2 - hvc 914 */ 915 uint32_t psci_conduit; 916 --- 3436 unchanged lines hidden --- | 915 /* v8M SAU number of supported regions */ 916 uint32_t sau_sregion; 917 918 /* PSCI conduit used to invoke PSCI methods 919 * 0 - disabled, 1 - smc, 2 - hvc 920 */ 921 uint32_t psci_conduit; 922 --- 3436 unchanged lines hidden --- |