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/mainboard/kontron/986lcd-m/mainboard.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/mainboard/kontron') diff --git a/src/mainboard/kontron/986lcd-m/mainboard.c b/src/mainboard/kontron/986lcd-m/mainboard.c index 600058d502..e96cd2e145 100644 --- a/src/mainboard/kontron/986lcd-m/mainboard.c +++ b/src/mainboard/kontron/986lcd-m/mainboard.c @@ -41,17 +41,17 @@ static int int15_handler(void) #define BOOT_DISPLAY_LCD2 (1 << 7) printk(BIOS_DEBUG, "%s: AX=%04x BX=%04x CX=%04x DX=%04x\n", - __func__, M.x86.R_AX, M.x86.R_BX, M.x86.R_CX, M.x86.R_DX); + __func__, X86_AX, X86_BX, X86_CX, X86_DX); - switch (M.x86.R_AX) { + switch (X86_AX) { case 0x5f35: /* Boot Display */ - M.x86.R_AX = 0x005f; // Success - M.x86.R_CL = BOOT_DISPLAY_CRT; + X86_AX = 0x005f; // Success + X86_CL = BOOT_DISPLAY_CRT; break; case 0x5f40: /* Boot Panel Type */ // M.x86.R_AX = 0x015f; // Supported but failed - M.x86.R_AX = 0x005f; // Success - M.x86.R_CL = 3; // Display ID + X86_AX = 0x005f; // Success + X86_CL = 3; // Display ID break; default: /* Interrupt was not handled */ -- cgit v1.2.3