mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-12-23 18:56:03 +00:00
thermosphere: we expose a GICv2, not a GICv1
This commit is contained in:
parent
3ca3e094fe
commit
0f0228e240
1 changed files with 1 additions and 1 deletions
|
@ -334,7 +334,7 @@ static inline u32 vgicGetDistributorTypeRegister(void)
|
||||||
static inline u32 vgicGetDistributorImplementerIdentificationRegister(void)
|
static inline u32 vgicGetDistributorImplementerIdentificationRegister(void)
|
||||||
{
|
{
|
||||||
u32 iidr = ((u32)'A' << 24); // Product Id: Atmosphère (?)
|
u32 iidr = ((u32)'A' << 24); // Product Id: Atmosphère (?)
|
||||||
iidr |= 1 << 16; // Major revision 1
|
iidr |= 2 << 16; // Major revision 2 (GICv2)
|
||||||
iidr |= 0 << 12; // Minor revision 0
|
iidr |= 0 << 12; // Minor revision 0
|
||||||
iidr |= 0x43B; // Implementer: Arm (value copied from physical GICD)
|
iidr |= 0x43B; // Implementer: Arm (value copied from physical GICD)
|
||||||
return iidr;
|
return iidr;
|
||||||
|
|
Loading…
Reference in a new issue