From 3c84261e84318708c9c16ee5df5c2549c609dd0a Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Thu, 22 Nov 2012 15:30:05 +0100 Subject: 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 Reviewed-on: http://review.coreboot.org/1892 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer --- src/northbridge/intel/i82830/vga.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/northbridge/intel') 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; -- cgit v1.2.3