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 Add tpidruro and tpidrurw inlines
details: https://anonhg.NetBSD.org/src/rev/e7508d538436
branches: trunk
changeset: 795434:e7508d538436
user: matt <matt%NetBSD.org@localhost>
date: Sun Apr 13 02:23:00 2014 +0000
description:
Add tpidruro and tpidrurw inlines
diffstat:
sys/arch/arm/include/armreg.h | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (20 lines):
diff -r 2a88373f21ea -r e7508d538436 sys/arch/arm/include/armreg.h
--- a/sys/arch/arm/include/armreg.h Sun Apr 13 02:22:21 2014 +0000
+++ b/sys/arch/arm/include/armreg.h Sun Apr 13 02:23:00 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: armreg.h,v 1.95 2014/03/29 23:33:20 matt Exp $ */
+/* $NetBSD: armreg.h,v 1.96 2014/04/13 02:23:00 matt Exp $ */
/*
* Copyright (c) 1998, 2001 Ben Harris
@@ -978,6 +978,10 @@
/* cp15 c13 registers */
ARMREG_READ_INLINE(contextidr, "p15,0,%0,c13,c0,1") /* Context ID Register */
ARMREG_WRITE_INLINE(contextidr, "p15,0,%0,c13,c0,1") /* Context ID Register */
+ARMREG_READ_INLINE(tpidrurw, "p15,0,%0,c13,c0,2") /* User read-write Thread ID Register */
+ARMREG_WRITE_INLINE(tpidrurw, "p15,0,%0,c13,c0,2") /* User read-write Thread ID Register */
+ARMREG_READ_INLINE(tpidruro, "p15,0,%0,c13,c0,3") /* User read-only Thread ID Register */
+ARMREG_WRITE_INLINE(tpidruro, "p15,0,%0,c13,c0,3") /* User read-only Thread ID Register */
ARMREG_READ_INLINE(tpidrprw, "p15,0,%0,c13,c0,4") /* PL1 only Thread ID Register */
ARMREG_WRITE_INLINE(tpidrprw, "p15,0,%0,c13,c0,4") /* PL1 only Thread ID Register */
/* cp14 c12 registers */
Home |
Main Index |
Thread Index |
Old Index