summaryrefslogtreecommitdiff
path: root/arch/parisc
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2018-10-06 22:14:56 +0300
committerHelge Deller <deller@gmx.de>2018-10-17 09:18:01 +0300
commit8dbac7746e55e0c83fe818c137b1235c9fa1bd75 (patch)
treeddd342cab20274fa85e7db56b40ee0dd78283458 /arch/parisc
parent32a7901f6d1d518ce25290c78553428110399212 (diff)
downloadlinux-8dbac7746e55e0c83fe818c137b1235c9fa1bd75.tar.xz
parisc: Add SYSTEM_INFO and REGISTER TOC PAT functions
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'arch/parisc')
-rw-r--r--arch/parisc/include/asm/pdcpat.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/parisc/include/asm/pdcpat.h b/arch/parisc/include/asm/pdcpat.h
index a468a172ee33..7bf63fb87455 100644
--- a/arch/parisc/include/asm/pdcpat.h
+++ b/arch/parisc/include/asm/pdcpat.h
@@ -186,6 +186,14 @@
#define PAT_MEMUSE_GI 128
#define PAT_MEMUSE_GNI 129
+/* PDC PAT REGISTER TOC */
+#define PDC_PAT_REGISTER_TOC 75L
+#define PDC_PAT_TOC_REGISTER_VECTOR 0L /* Register TOC Vector */
+#define PDC_PAT_TOC_READ_VECTOR 1L /* Read TOC Vector */
+
+/* PDC PAT SYSTEM_INFO */
+#define PDC_PAT_SYSTEM_INFO 76L
+/* PDC_PAT_SYSTEM_INFO uses the same options as PDC_SYSTEM_INFO function. */
#ifndef __ASSEMBLY__
#include <linux/types.h>