/[gxemul]/trunk/src/arcbios.c
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/src/arcbios.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 11 by dpavlin, Mon Oct 8 16:18:27 2007 UTC revision 12 by dpavlin, Mon Oct 8 16:18:38 2007 UTC
# Line 25  Line 25 
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   */   */
# Line 2639  void arcbios_init(struct machine *machin Line 2639  void arcbios_init(struct machine *machin
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);
# Line 2650  void arcbios_init(struct machine *machin Line 2651  void arcbios_init(struct machine *machin
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) {

Legend:
Removed from v.11  
changed lines
  Added in v.12

  ViewVC Help
Powered by ViewVC 1.1.26