/[grub]/grub2/kern/i386/pc/startup.S
ViewVC logotype

Diff of /grub2/kern/i386/pc/startup.S

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.15 by okuji, Sat Jul 16 22:06:33 2005 UTC revision 1.16 by okuji, Sun Jul 17 14:17:55 2005 UTC
# Line 463  gate_a20_try_system_control_port_a: Line 463  gate_a20_try_system_control_port_a:
463          jz      6f          jz      6f
464          orb     $0x02, %al          orb     $0x02, %al
465  6:      outb    $0x92  6:      outb    $0x92
466            
467            /* When turning off Gate A20, do not check the state strictly,
468               because a failure is not fatal usually, and Gate A20 is always
469               on some modern machines.  */
470            testb   %dl, %dl
471            jz      7f      
472          call    gate_a20_check_state          call    gate_a20_check_state
473          cmpb    %al, %dl          cmpb    %al, %dl
474          /* everything failed, so restart from the beginning */          /* everything failed, so restart from the beginning */
475          jnz     gate_a20_try_bios          jnz     gate_a20_try_bios
476          ret  7:      ret
477                    
478  gate_a20_check_state:  gate_a20_check_state:
479          /* iterate the checking for a while */          /* iterate the checking for a while */

Legend:
Removed from v.1.15  
changed lines
  Added in v.1.16

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26