x86emu: Move realmode handler into own directory
It's really a feature in parallel to YABEL/x86emu. Reflect this in the directory structure. Change-Id: Ie88e4fa6bfef13d23c55b2db3faacbd90f8cc30b Signed-off-by: Patrick Georgi <patrick.georgi@secunet.com> Reviewed-on: http://review.coreboot.org/1889 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
This commit is contained in:
parent
6b11c8be45
commit
3e77eb6d1e
|
@ -17,9 +17,7 @@
|
||||||
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
##
|
##
|
||||||
|
|
||||||
ramstage-$(CONFIG_PCI_OPTION_ROM_RUN_REALMODE) += x86.c
|
|
||||||
ramstage-$(CONFIG_PCI_OPTION_ROM_RUN_REALMODE) += x86_asm.S
|
|
||||||
ramstage-$(CONFIG_PCI_OPTION_ROM_RUN_REALMODE) += x86_interrupts.c
|
|
||||||
|
|
||||||
subdirs-$(CONFIG_PCI_OPTION_ROM_RUN_YABEL) += x86emu
|
subdirs-$(CONFIG_PCI_OPTION_ROM_RUN_YABEL) += x86emu
|
||||||
subdirs-$(CONFIG_PCI_OPTION_ROM_RUN_YABEL) += yabel
|
subdirs-$(CONFIG_PCI_OPTION_ROM_RUN_YABEL) += yabel
|
||||||
|
subdirs-$(CONFIG_PCI_OPTION_ROM_RUN_REALMODE) += realmode
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,23 @@
|
||||||
|
##
|
||||||
|
## This file is part of the coreboot project.
|
||||||
|
##
|
||||||
|
## Copyright (C) 2012 secunet Security Networks AG
|
||||||
|
##
|
||||||
|
## This program is free software; you can redistribute it and/or modify
|
||||||
|
## it under the terms of the GNU General Public License as published by
|
||||||
|
## the Free Software Foundation; version 2 of the License.
|
||||||
|
##
|
||||||
|
## This program is distributed in the hope that it will be useful,
|
||||||
|
## but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
## GNU General Public License for more details.
|
||||||
|
##
|
||||||
|
## You should have received a copy of the GNU General Public License
|
||||||
|
## along with this program; if not, write to the Free Software
|
||||||
|
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
|
##
|
||||||
|
|
||||||
|
ramstage-$(CONFIG_PCI_OPTION_ROM_RUN_REALMODE) += x86.c
|
||||||
|
ramstage-$(CONFIG_PCI_OPTION_ROM_RUN_REALMODE) += x86_asm.S
|
||||||
|
ramstage-$(CONFIG_PCI_OPTION_ROM_RUN_REALMODE) += x86_interrupts.c
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
#include <pc80/i8259.h>
|
#include <pc80/i8259.h>
|
||||||
#include "x86.h"
|
#include "x86.h"
|
||||||
#include "vbe.h"
|
#include "vbe.h"
|
||||||
#include "../../src/lib/jpeg.h"
|
#include <lib/jpeg.h>
|
||||||
|
|
||||||
void (*realmode_call)(u32 addr, u32 eax, u32 ebx, u32 ecx, u32 edx,
|
void (*realmode_call)(u32 addr, u32 eax, u32 ebx, u32 ecx, u32 edx,
|
||||||
u32 esi, u32 edi) __attribute__((regparm(0))) =
|
u32 esi, u32 edi) __attribute__((regparm(0))) =
|
|
@ -32,7 +32,7 @@
|
||||||
#include <arch/interrupt.h>
|
#include <arch/interrupt.h>
|
||||||
#include "registers.h"
|
#include "registers.h"
|
||||||
#if CONFIG_PCI_OPTION_ROM_RUN_REALMODE
|
#if CONFIG_PCI_OPTION_ROM_RUN_REALMODE
|
||||||
#include <devices/oprom/x86.h>
|
#include <devices/oprom/realmode/x86.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* PCI Domain 1 Device 0 Function 0 */
|
/* PCI Domain 1 Device 0 Function 0 */
|
||||||
|
|
|
@ -31,7 +31,7 @@
|
||||||
#include <cpu/x86/msr.h>
|
#include <cpu/x86/msr.h>
|
||||||
#include <arch/interrupt.h>
|
#include <arch/interrupt.h>
|
||||||
#if CONFIG_PCI_OPTION_ROM_RUN_REALMODE
|
#if CONFIG_PCI_OPTION_ROM_RUN_REALMODE
|
||||||
#include <devices/oprom/x86.h>
|
#include <devices/oprom/realmode/x86.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static int via_vt8623_int15_handler(struct eregs *regs)
|
static int via_vt8623_int15_handler(struct eregs *regs)
|
||||||
|
|
|
@ -34,7 +34,7 @@
|
||||||
#include <cpu/x86/msr.h>
|
#include <cpu/x86/msr.h>
|
||||||
#include <arch/interrupt.h>
|
#include <arch/interrupt.h>
|
||||||
#if CONFIG_PCI_OPTION_ROM_RUN_REALMODE
|
#if CONFIG_PCI_OPTION_ROM_RUN_REALMODE
|
||||||
#include <devices/oprom/x86.h>
|
#include <devices/oprom/realmode/x86.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* PCI Domain 1 Device 0 Function 0 */
|
/* PCI Domain 1 Device 0 Function 0 */
|
||||||
|
|
Loading…
Reference in New Issue