25 |
* SUCH DAMAGE. |
* SUCH DAMAGE. |
26 |
* |
* |
27 |
* |
* |
28 |
* $Id: arcbios.c,v 1.105 2005/06/26 11:36:27 debug Exp $ |
* $Id: arcbios.c,v 1.107 2005/08/09 17:18:22 debug Exp $ |
29 |
* |
* |
30 |
* ARCBIOS emulation. |
* ARCBIOS emulation. |
31 |
*/ |
*/ |
2639 |
/* |
/* |
2640 |
* Defalt TLB entry for 64-bit SGI machines: |
* Defalt TLB entry for 64-bit SGI machines: |
2641 |
*/ |
*/ |
2642 |
if (machine->machine_type == MACHINE_SGI) { |
if (machine->machine_type == MACHINE_SGI && |
2643 |
|
machine->machine_subtype != 12 /* TODO: ugly */ ) { |
2644 |
/* TODO: On which models is this required? */ |
/* TODO: On which models is this required? */ |
2645 |
mips_coproc_tlb_set_entry(cpu, 0, 1048576*16, |
mips_coproc_tlb_set_entry(cpu, 0, 1048576*16, |
2646 |
0xc000000000000000ULL, 0, 1048576*16, 1,1,1,1,1, 0, 2, 2); |
0xc000000000000000ULL, 0, 1048576*16, 1,1,1,1,1, 0, 2, 2); |
2651 |
* Set up Firmware Vectors: |
* Set up Firmware Vectors: |
2652 |
*/ |
*/ |
2653 |
add_symbol_name(&machine->symbol_context, |
add_symbol_name(&machine->symbol_context, |
2654 |
ARC_FIRMWARE_ENTRIES, 0x10000, "[ARCBIOS entry]", 0); |
ARC_FIRMWARE_ENTRIES, 0x10000, "[ARCBIOS entry]", 0, 1); |
2655 |
|
|
2656 |
for (i=0; i<100; i++) { |
for (i=0; i<100; i++) { |
2657 |
if (is64bit) { |
if (is64bit) { |