summaryrefslogtreecommitdiff
path: root/src/mainboard/technexion
diff options
context:
space:
mode:
authorPatrick Georgi <patrick.georgi@secunet.com>2012-11-22 10:48:18 +0100
committerStefan Reinauer <stefan.reinauer@coreboot.org>2012-11-24 20:06:24 +0100
commit503af721a1f2c831fb360d1c1b2af38e0866fc35 (patch)
tree9dc68c4b43e29ce22d66247f0c2bafcbce5a4fe7 /src/mainboard/technexion
parent3e77eb6d1e0a3ff9c0a32504a5221dc57b10506c (diff)
downloadcoreboot-503af721a1f2c831fb360d1c1b2af38e0866fc35.tar.xz
x86 realmode: Adapt to x86emu/YABEL style return codes
realmode int handlers must return the same codes as the YABEL int handlers now: 1 for "interrupt handled", 0 for "not handled" (ie. error). Change-Id: Idc01cf64e2c97150fc4643671a0bc4cca2ae6668 Signed-off-by: Patrick Georgi <patrick.georgi@secunet.com> Reviewed-on: http://review.coreboot.org/1890 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/mainboard/technexion')
-rw-r--r--src/mainboard/technexion/tim5690/vgabios.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mainboard/technexion/tim5690/vgabios.c b/src/mainboard/technexion/tim5690/vgabios.c
index 372c4b6647..6c9b45e639 100644
--- a/src/mainboard/technexion/tim5690/vgabios.c
+++ b/src/mainboard/technexion/tim5690/vgabios.c
@@ -40,7 +40,7 @@ static void vbios_fun_init(rs690_vbios_regs *vbios_regs)
/* BIOS int15 function */
int tim5690_int15_handler(struct eregs *regs)
{
- int res = -1;
+ int res = 0;
printk(BIOS_DEBUG, "tim5690_int15_handler\n");
@@ -50,12 +50,12 @@ int tim5690_int15_handler(struct eregs *regs)
case 0x00:
regs->eax &= ~(0xff);
regs->ebx = (regs->ebx & ~(0xff)) | vbios_regs_local.int15_regs.fun00_panel_id;
- res = 0;
+ res = 1;
break;
case 0x05:
regs->eax &= ~(0xff);
regs->ebx = (regs->ebx & ~(0xff)) | vbios_regs_local.int15_regs.fun05_tv_standard;
- res = 0;
+ res = 1;
break;
}
break;