/[grub]/grub/stage2/asm.S
ViewVC logotype

Diff of /grub/stage2/asm.S

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

revision 1.56 by okuji, Tue Feb 27 12:59:00 2001 UTC revision 1.57 by okuji, Wed Aug 8 08:00:01 2001 UTC
# Line 260  ENTRY(grub_halt) Line 260  ENTRY(grub_halt)
260          xorw    %bx, %bx          xorw    %bx, %bx
261          int     $0x15          int     $0x15
262    
263          /* connect APM (Is this really necessary?) */          /* connect APM */
264          movw    $0x5301, %ax          movw    $0x5301, %ax
265          xorw    %bx, %bx          xorw    %bx, %bx
266          int     $0x15          int     $0x15
267          jc      EXT_C(hard_stop)          jc      EXT_C(hard_stop)
268    
269            /* set APM protocol level - 1.1 or bust. (this covers APM 1.2 also) */
270            movw    $0x530E, %ax
271            xorw    %bx, %bx
272            movw    $0x0101, %cx
273            int     $0x15
274            jc      EXT_C(hard_stop)
275            
276          /* set the power state to off */          /* set the power state to off */
277          movw    $0x5307, %ax          movw    $0x5307, %ax
278          movw    $1, %bx          movw    $1, %bx

Legend:
Removed from v.1.56  
changed lines
  Added in v.1.57

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