]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
parisc: add PIM TOC data structures
authorSven Schnelle <svens@stackframe.org>
Thu, 14 Oct 2021 19:49:14 +0000 (21:49 +0200)
committerHelge Deller <deller@gmx.de>
Mon, 1 Nov 2021 06:35:59 +0000 (07:35 +0100)
These data structures describe the TOC data we get from firmware
when issuing a PDC_PIM_TOC request.

Signed-off-by: Sven Schnelle <svens@stackframe.org>
Signed-off-by: Helge Deller <deller@gmx.de>
arch/parisc/include/uapi/asm/pdc.h

index 15211723ebf543dba726d33b47c6565e7f48698a..ad51df8ba952bfaa8d8c70a36071f76b862e7abb 100644 (file)
@@ -689,6 +689,28 @@ struct pdc_hpmc_pim_20 { /* PDC_PIM */
        unsigned long long fr[32];
 };
 
+struct pdc_toc_pim_11 {
+       unsigned int gr[32];
+       unsigned int cr[32];
+       unsigned int sr[8];
+       unsigned int iasq_back;
+       unsigned int iaoq_back;
+       unsigned int check_type;
+       unsigned int hversion;
+       unsigned int cpu_state;
+};
+
+struct pdc_toc_pim_20 {
+       unsigned long long gr[32];
+       unsigned long long cr[32];
+       unsigned long long sr[8];
+       unsigned long long iasq_back;
+       unsigned long long iaoq_back;
+       unsigned int check_type;
+       unsigned int hversion;
+       unsigned int cpu_state;
+};
+
 #endif /* !defined(__ASSEMBLY__) */
 
 #endif /* _UAPI_PARISC_PDC_H */