Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 200587
b: refs/heads/master
c: cf3bdc2
h: refs/heads/master
i:
  200585: ff32f94
  200583: 7b66990
v: v3
  • Loading branch information
Andi Kleen authored and H. Peter Anvin committed Jun 10, 2010
1 parent fa757dc commit 618f79b
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 23b764d056bfec0a212a67229074ac281e86e021
refs/heads/master: cf3bdc29fcbf2cb4cfa238591021d41ea8f8431f
3 changes: 1 addition & 2 deletions trunk/arch/x86/boot/video-vga.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,12 @@ static __videocard video_vga;
static u8 vga_set_basic_mode(void)
{
struct biosregs ireg, oreg;
u16 ax;
u8 mode;

initregs(&ireg);

/* Query current mode */
ax = 0x0f00;
ireg.ax = 0x0f00;
intcall(0x10, &ireg, &oreg);
mode = oreg.al;

Expand Down

0 comments on commit 618f79b

Please sign in to comment.