ARM920T CPU ID
PATCH 1/1 ARM920T CPU ID
Hi,
Attached is a patch which supplies the ARM920T CPU ID for ARM emulation. This is another step along the way to supporting Simtec Electronics' development boards, and other Samsung ARM9 SoC based systems such as the Openmoko GTA02.
Regards,
Daniel.
Signature · 2 lines
Daniel Silverstone http://www.simtec.co.uk/ PGP mail accepted and encouraged. Key Id: 2BC8 4016 2068 7895
ARM CPU ID: ARM920T
Simply put, this patch adds the ARM920T CPU ID as an option. This will later be needed by the Samsung S3C24xx ARM9 SOCs.
cpu.h | 1 + helper.c | 3 +++ 2 files changed, 4 insertions(+)
=== modified file 'target-arm/cpu.h'
cpu.h +1 -0
@@ -356,6 +356,7 @@#define ARM_CPUID_ARM1026 0x4106a262#define ARM_CPUID_ARM926 0x41069265#define ARM_CPUID_ARM946 0x41059461 +#define ARM_CPUID_ARM920T 0x41129200#define ARM_CPUID_TI915T 0x54029152#define ARM_CPUID_TI925T 0x54029252#define ARM_CPUID_PXA250 0x69052100
=== modified file 'target-arm/helper.c'
helper.c +3 -0
@@ -37,6 +37,8 @@ { env->cp15.c0_cpuid = id;switch (id) { +case ARM_CPUID_ARM920T : +break ;case ARM_CPUID_ARM926 :set_feature (env,ARM_FEATURE_VFP ); env->vfp.xregs[ARM_VFP_FPSID ] =0x41011090 ;
@@ -268,6 +270,7 @@ { ARM_CPUID_ARM926, "arm926"}, { ARM_CPUID_ARM946, "arm946"}, { ARM_CPUID_ARM1026, "arm1026"}, + { ARM_CPUID_ARM920T, "arm920t"}, { ARM_CPUID_ARM1136, "arm1136"}, { ARM_CPUID_ARM1136_R2, "arm1136-r2"}, { ARM_CPUID_ARM11MPCORE, "arm11mpcore"},
Quoted 6 lines · Daniel Silverstone
Hi,
Attached is a patch which supplies the ARM920T CPU ID for ARM emulation. This is another step along the way to supporting Simtec Electronics' development boards, and other Samsung ARM9 SoC based systems such as the Openmoko GTA02.
This at least needs a comment saying that what we implement doesn't look anything like a real ARM920, but most software doesn't care.
Paul
Quoted 6 lines · Paul Brook
Quoted 4 lines
Attached is a patch which supplies the ARM920T CPU ID for ARM emulation. This is another step along the way to supporting Simtec Electronics' development boards, and other Samsung ARM9 SoC based systems such as the Openmoko GTA02.
This at least needs a comment saying that what we implement doesn't look anything like a real ARM920, but most software doesn't care.
Where would such a comment best reside? I'm not sure where the documentation for this kind of thing is meant to go.
(I agree that it's worthwhile to note this information though)
Regards,
D.
Signature · 2 lines
Daniel Silverstone http://www.simtec.co.uk/ PGP mail accepted and encouraged. Key Id: 2BC8 4016 2068 7895