Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 62915
b: refs/heads/master
c: 1a13286
h: refs/heads/master
i:
  62913: 1bf313a
  62911: 00e8fd3
v: v3
  • Loading branch information
H. Peter Anvin committed Jul 25, 2007
1 parent 8ac682c commit d4f25a5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1514ab09edb071345fe17cd230c97f9e72c9478e
refs/heads/master: 1a13286b104faeeb4f4bc3bfbf4d4fcdcd2569ed
5 changes: 3 additions & 2 deletions trunk/arch/i386/boot/apm.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,10 @@ int query_apm_bios(void)

/* Disconnect first, just in case */
ax = 0x5304;
bx = 0;
asm volatile("pushl %%ebp ; int $0x15 ; popl %%ebp"
: "+a" (ax)
: : "ebx", "ecx", "edx", "esi", "edi");
: "+a" (ax), "+b" (bx)
: : "ecx", "edx", "esi", "edi");

/* Paranoia */
ebx = esi = 0;
Expand Down

0 comments on commit d4f25a5

Please sign in to comment.