llvm will generate a different div instruction than gcc does and than the number of types that the div instruction opcode takes is not 2. Move to using inline asm with a idivl instruction to ensure the opcode size is what we expect so that exc_divide_error_handler() can properly skip over the instruction. Signed-off-by: Kumar Gala <kumar.gala@intel.com> |
||
|---|---|---|
| .. | ||
| cpu_scrubs_regs | ||
| direct_isr | ||
| info | ||
| nmi | ||
| pagetables | ||
| static_idt | ||