Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/include Fix CPU_ID_CORTEX_P and add CPU_ID_CORT...
details: https://anonhg.NetBSD.org/src/rev/0090cb9570a3
branches: trunk
changeset: 780174:0090cb9570a3
user: matt <matt%NetBSD.org@localhost>
date: Sat Jul 14 07:54:29 2012 +0000
description:
Fix CPU_ID_CORTEX_P and add CPU_ID_CORTEX_A8_P
diffstat:
sys/arch/arm/include/armreg.h | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (19 lines):
diff -r 31df0ad0f4af -r 0090cb9570a3 sys/arch/arm/include/armreg.h
--- a/sys/arch/arm/include/armreg.h Sat Jul 14 07:52:53 2012 +0000
+++ b/sys/arch/arm/include/armreg.h Sat Jul 14 07:54:29 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: armreg.h,v 1.52 2012/07/13 05:23:30 matt Exp $ */
+/* $NetBSD: armreg.h,v 1.53 2012/07/14 07:54:29 matt Exp $ */
/*
* Copyright (c) 1998, 2001 Ben Harris
@@ -210,7 +210,8 @@
#define CPU_ID_CORTEXA9R4 0x413fc090
#define CPU_ID_CORTEXA15R2 0x412fc0f0
#define CPU_ID_CORTEXA15R3 0x413fc0f0
-#define CPU_ID_CORTEX_P(n) ((n & 0xff0ffff0) == 0x410fc000)
+#define CPU_ID_CORTEX_P(n) ((n & 0xff0fff00) == 0x410fc000)
+#define CPU_ID_CORTEX_A8_P(n) ((n & 0xff0ffff0) == 0x410fc080)
#define CPU_ID_SA110 0x4401a100
#define CPU_ID_SA1100 0x4401a110
#define CPU_ID_TI925T 0x54029250
Home |
Main Index |
Thread Index |
Old Index