head_32.S (cdeb6048940fa4bfb429e2f1cba0d28a11e20cd5) head_32.S (425be5679fd292a3c36cb1fe423086708a99f11a)
1/*
2 *
3 * Copyright (C) 1991, 1992 Linus Torvalds
4 *
5 * Enhanced CPU detection and feature setting code by Mike Jagdis
6 * and Martin Mares, November 1997.
7 */
8

--- 536 unchanged lines hidden (view full) ---

545early_idt_handler_common:
546 /*
547 * The stack is the hardware frame, an error code or zero, and the
548 * vector number.
549 */
550 cld
551
552 cmpl $2,(%esp) # X86_TRAP_NMI
1/*
2 *
3 * Copyright (C) 1991, 1992 Linus Torvalds
4 *
5 * Enhanced CPU detection and feature setting code by Mike Jagdis
6 * and Martin Mares, November 1997.
7 */
8

--- 536 unchanged lines hidden (view full) ---

545early_idt_handler_common:
546 /*
547 * The stack is the hardware frame, an error code or zero, and the
548 * vector number.
549 */
550 cld
551
552 cmpl $2,(%esp) # X86_TRAP_NMI
553 je .Lis_nmi # Ignore NMI
553 je is_nmi # Ignore NMI
554
555 cmpl $2,%ss:early_recursion_flag
556 je hlt_loop
557 incl %ss:early_recursion_flag
558
559 push %eax # 16(%esp)
560 push %ecx # 12(%esp)
561 push %edx # 8(%esp)

--- 36 unchanged lines hidden (view full) ---

598
599ex_entry:
600 pop %es
601 pop %ds
602 pop %edx
603 pop %ecx
604 pop %eax
605 decl %ss:early_recursion_flag
554
555 cmpl $2,%ss:early_recursion_flag
556 je hlt_loop
557 incl %ss:early_recursion_flag
558
559 push %eax # 16(%esp)
560 push %ecx # 12(%esp)
561 push %edx # 8(%esp)

--- 36 unchanged lines hidden (view full) ---

598
599ex_entry:
600 pop %es
601 pop %ds
602 pop %edx
603 pop %ecx
604 pop %eax
605 decl %ss:early_recursion_flag
606.Lis_nmi:
606is_nmi:
607 addl $8,%esp /* drop vector number and error code */
608 iret
609ENDPROC(early_idt_handler_common)
610
611/* This is the default interrupt "handler" :-) */
612 ALIGN
613ignore_int:
614 cld

--- 150 unchanged lines hidden ---
607 addl $8,%esp /* drop vector number and error code */
608 iret
609ENDPROC(early_idt_handler_common)
610
611/* This is the default interrupt "handler" :-) */
612 ALIGN
613ignore_int:
614 cld

--- 150 unchanged lines hidden ---