5 #define GET_OFFSET(x) ((x) - vm86_code_start + 0x100)
8 movw $GET_OFFSET(hello_world), %dx
12 /* prepare int 0x90 vector */
15 es movw $GET_OFFSET(int90_test), 0x90 * 4
16 es movw %cs, 0x90 * 4 + 2
23 movw $GET_OFFSET(IF_msg), %dx
45 movw $GET_OFFSET(IF_msg1), %dx
86 movw $GET_OFFSET(int90_msg), %dx
92 .string "INT90 started\n$"
95 .string "Hello VM86 world\n$"
98 .string "VM86 IF test\n$"
101 .string "If you see a diff here, your Linux kernel is buggy, please update to 2.4.20 kernel\n$"