Fix CPU_ID_CORTEX_P and add CPU_ID_CORTEX_A8_P

This commit is contained in:
matt 2012-07-14 07:54:29 +00:00
parent 1ca677e576
commit 3a3f70c6ee

View File

@ -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