diff options
| author | Michael Brown | 2014-04-28 22:11:04 +0200 |
|---|---|---|
| committer | Michael Brown | 2014-04-29 19:24:10 +0200 |
| commit | aaf276ccd4819de791d7a1295f26f36f29fb3cb6 (patch) | |
| tree | f8ed740bb762eaa8a0f6be557ff5e830cbf5e4a6 /src/arch/i386/interface/syslinux/com32_call.c | |
| parent | [librm] Allow interrupts in protected mode (diff) | |
| download | ipxe-aaf276ccd4819de791d7a1295f26f36f29fb3cb6.tar.gz ipxe-aaf276ccd4819de791d7a1295f26f36f29fb3cb6.tar.xz ipxe-aaf276ccd4819de791d7a1295f26f36f29fb3cb6.zip | |
[comboot] Use built-in interrupt reflector
We now have the ability to handle interrupts while in protected mode,
and so no longer need to set up a dedicated interrupt descriptor table
while running COM32 executables.
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/arch/i386/interface/syslinux/com32_call.c')
| -rw-r--r-- | src/arch/i386/interface/syslinux/com32_call.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/arch/i386/interface/syslinux/com32_call.c b/src/arch/i386/interface/syslinux/com32_call.c index 8fffd0692..75dcc238f 100644 --- a/src/arch/i386/interface/syslinux/com32_call.c +++ b/src/arch/i386/interface/syslinux/com32_call.c @@ -189,20 +189,3 @@ int __asmcall com32_cfarcall ( uint32_t proc, physaddr_t stack, size_t stacksz ) return eax; } - -/** - * IRQ handler - */ -void __asmcall com32_irq ( uint32_t vector ) { - uint32_t *ivt_entry = phys_to_virt( vector * 4 ); - - __asm__ __volatile__ ( - REAL_CODE ( "pushfw\n\t" - "pushw %%cs\n\t" - "pushw $com32_irq_return\n\t" - "pushl %0\n\t" - "lret\n" - "com32_irq_return:\n\t" ) - : /* no outputs */ - : "r" ( *ivt_entry ) ); -} |
