Skip to contentSkip to conversation

kernel test10 CMCV definition

Linux-ia64 Hirofumi Fujita 1 participant 1 message Nov 20, 2000

lore
Share & tools
lore
#0 lore raw

Hi,

In test10 kernel, the definition of CMC vector register looks different from Intel's documnet (The Itanium Architecture Software Developer's Manual Vol. 2 rev. 1.1: System Architecture).

The order of bit fields are wrong ?

Hirofumi Fujita
Hitachi, Ltd.

include/asm-ia64/mca.h renamed from include/asm-ia64/mca.h.org +5 -5
@@ -46,11 +46,11 @@
 	u64	cmcv_regval;
 	struct	{
 		u64  	cmcr_vector		: 8;
-		u64	cmcr_ignored1		: 47;
-		u64	cmcr_mask		: 1;
-		u64	cmcr_reserved1		: 3;
-		u64	cmcr_ignored2		: 1;
-		u64	cmcr_reserved2		: 4;
+		u64	cmcr_reserved1		: 4;
+		u64	cmcr_ignored1		: 1;
+		u64	cmcr_reserved2		: 3;
+		u64	cmcr_mask		: 1;
+		u64	cmcr_ignored2		: 47;
 	} cmcv_reg_s;
 
 } cmcv_reg_t;