x86: Use partial contexts for all entries [2/2]
[akaros.git] / kern / arch / x86 / trap64.c
index 20f89dd..5fffe6b 100644 (file)
@@ -71,6 +71,8 @@ void print_trapframe(struct hw_trapframe *hw_tf)
        /* Used in trapentry64.S */
        static_assert(offsetof(struct hw_trapframe, tf_cs) - 
                      offsetof(struct hw_trapframe, tf_rax) == 0x90);
+       static_assert(offsetof(struct hw_trapframe, tf_padding0) -
+                     offsetof(struct hw_trapframe, tf_rax) == 0xac);
        /* Used in trap64.h */
        static_assert(offsetof(struct per_cpu_info, stacktop) == 0);
 }