diff options
author | Patrick Georgi <patrick.georgi@secunet.com> | 2012-11-22 15:30:05 +0100 |
---|---|---|
committer | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2012-11-24 20:12:16 +0100 |
commit | 3c84261e84318708c9c16ee5df5c2549c609dd0a (patch) | |
tree | 456859520f8d37e2face7ba255fd2d2ab143d143 /src/northbridge | |
parent | 199b09cb7a3c590ccbf8d705c98cfde101378f20 (diff) |
yabel: Use X86_* instead of the more verbose M.x86.REG_*
Makes it more similar to what realmode looks like.
Change-Id: I4407431f2d979c43dd186114d67ed11845907afe
Signed-off-by: Patrick Georgi <patrick.georgi@secunet.com>
Reviewed-on: http://review.coreboot.org/1892
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/northbridge')
-rw-r--r-- | src/northbridge/intel/i82830/vga.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/northbridge/intel/i82830/vga.c b/src/northbridge/intel/i82830/vga.c index c82c484a3a..1ec7f87b6b 100644 --- a/src/northbridge/intel/i82830/vga.c +++ b/src/northbridge/intel/i82830/vga.c @@ -70,12 +70,12 @@ static void vga_init(device_t dev) #define PIPE_B_TV (1 << 10) printk(BIOS_DEBUG, "Enabling TV-Out\n"); void runInt10(void); - M.x86.R_AX = 0x5f64; - M.x86.R_BX = 0x0001; // Set Display Device, force execution - M.x86.R_CX = PIPE_A_CRT | PIPE_A_TV; + X86_AX = 0x5f64; + X86_BX = 0x0001; // Set Display Device, force execution + X86_CX = PIPE_A_CRT | PIPE_A_TV; // M.x86.R_CX = PIPE_B_TV; runInt10(); - switch (M.x86.R_AX) { + switch (X86_AX) { case 0x005f: printk(BIOS_DEBUG, "... failed.\n"); break; |