We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 89e050c commit 41dbee8Copy full SHA for 41dbee8
arch/parisc/kernel/traps.c
@@ -837,6 +837,17 @@ void __init initialize_ivt(const void *iva)
837
if (pdc_instr(&instr) == PDC_OK)
838
ivap[0] = instr;
839
840
+ /*
841
+ * Rules for the checksum of the HPMC handler:
842
+ * 1. The IVA does not point to PDC/PDH space (ie: the OS has installed
843
+ * its own IVA).
844
+ * 2. The word at IVA + 32 is nonzero.
845
+ * 3. If Length (IVA + 60) is not zero, then Length (IVA + 60) and
846
+ * Address (IVA + 56) are word-aligned.
847
+ * 4. The checksum of the 8 words starting at IVA + 32 plus the sum of
848
+ * the Length/4 words starting at Address is zero.
849
+ */
850
+
851
/* Compute Checksum for HPMC handler */
852
length = os_hpmc_size;
853
ivap[7] = length;
0 commit comments