kernel: print spurious interrupt message with increasing interval.
[minix.git] / include / arch / i386 / cpu.h
blobff885b32c58d4739a89478dfb5a2495cb3b1907e
1 #ifndef _IBM_CPU_H
2 #define _IBM_CPU_H 1
4 #define X86_FLAG_C (1L << 0) /* S Carry */
5 #define X86_FLAG_P (1L << 2) /* S Parity */
6 #define X86_FLAG_A (1L << 4) /* S Aux. carry */
7 #define X86_FLAG_Z (1L << 6) /* S Zero */
8 #define X86_FLAG_S (1L << 7) /* S Sign */
10 #define X86_FLAG_T (1L << 8) /* X Trap */
11 #define X86_FLAG_I (1L << 9) /* X Interrupt */
12 #define X86_FLAG_D (1L << 10) /* C Direction */
13 #define X86_FLAG_O (1L << 11) /* S Overflow */
15 /* User flags are S (Status) and C (Control) flags. */
16 #define X86_FLAGS_USER (X86_FLAG_C | X86_FLAG_P | X86_FLAG_A | X86_FLAG_Z | \
17 X86_FLAG_S | X86_FLAG_D | X86_FLAG_O)
19 #endif