mirror of
https://github.com/fail0verflow/switch-coreboot.git
synced 2025-05-04 01:39:18 -04:00
Fix for $PIR!
This commit is contained in:
parent
2b50ca8fd5
commit
02528bc28f
2 changed files with 7 additions and 1 deletions
|
@ -60,7 +60,7 @@ unsigned long copy_pirq_routing_table(unsigned long addr)
|
|||
addr &= ~15;
|
||||
|
||||
/* This table must be betweeen 0xf0000 & 0x100000 */
|
||||
printk_info("Copying IRQ routing tables...");
|
||||
printk_info("Copying IRQ routing tables to 0x%x...", addr);
|
||||
memcpy((void *)addr, &intel_irq_routing_table, intel_irq_routing_table.size);
|
||||
printk_info("done.\n");
|
||||
|
||||
|
|
|
@ -54,7 +54,13 @@ register_table:
|
|||
.byte 0x84, 0xfe, 0xf0
|
||||
.byte 0x85, 0xff, 0xff
|
||||
.byte 0x86, 0xff, 0xff
|
||||
/* if we are NOT using doc mil, then leave 0xf0000 as FLASH. */
|
||||
/* otherwise make it RAM */
|
||||
#ifndef USE_DOC_MIL
|
||||
.byte 0x87, 0xff, 0x0f
|
||||
#else
|
||||
.byte 0x87, 0xff, 0x3f
|
||||
#endif
|
||||
.byte 0x88, 0xff, 0x08
|
||||
.byte 0x93, 0xff, 0x07
|
||||
.byte 0xa0, 0x00, 0x30
|
||||
|
|
Loading…
Add table
Reference in a new issue