mirror of
https://xff.cz/git/u-boot/
synced 2025-09-03 01:32:47 +02:00
Add basic relocation to i386 port
Signed-off-by: Graeme Russ <graeme.russ@gmail.com>
This commit is contained in:
committed by
Wolfgang Denk
parent
8c63d47651
commit
e17ee157ca
@@ -70,12 +70,12 @@ void irq_install_handler(int irq, interrupt_handler_t *handler, void *arg)
|
||||
|
||||
if (irq_handlers[irq].handler != NULL)
|
||||
printf("irq_install_handler: 0x%08lx replacing 0x%08lx\n",
|
||||
(ulong) handler,
|
||||
(ulong) handler + gd->reloc_off,
|
||||
(ulong) irq_handlers[irq].handler);
|
||||
|
||||
status = disable_interrupts ();
|
||||
|
||||
irq_handlers[irq].handler = handler;
|
||||
irq_handlers[irq].handler = handler + gd->reloc_off;
|
||||
irq_handlers[irq].arg = arg;
|
||||
irq_handlers[irq].count = 0;
|
||||
|
||||
|
Reference in New Issue
Block a user