/[gxemul]/trunk/src/promemul/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/promemul/arcbios.c

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

revision 27 by dpavlin, Mon Oct 8 16:19:56 2007 UTC revision 28 by dpavlin, Mon Oct 8 16:20:26 2007 UTC
# Line 25  Line 25 
25   *  SUCH DAMAGE.   *  SUCH DAMAGE.
26   *   *
27   *   *
28   *  $Id: arcbios.c,v 1.8 2006/04/15 08:21:07 debug Exp $   *  $Id: arcbios.c,v 1.9 2006/06/30 20:22:54 debug Exp $
29   *   *
30   *  ARCBIOS emulation.   *  ARCBIOS emulation.
31   */   */
# Line 2267  static void arc_environment_setup(struct Line 2267  static void arc_environment_setup(struct
2267                  if (machine->machine_type == MACHINE_SGI) {                  if (machine->machine_type == MACHINE_SGI) {
2268                          if (machine->machine_subtype == 30)                          if (machine->machine_subtype == 30)
2269                                  strlcat(init_bootpath, "xio(0)pci(15)",                                  strlcat(init_bootpath, "xio(0)pci(15)",
2270                                      MACHINE_NAME_MAXBUF);                                      bootpath_len);
2271                          if (machine->machine_subtype == 32)                          if (machine->machine_subtype == 32)
2272                                  strlcat(init_bootpath, "pci(0)",                                  strlcat(init_bootpath, "pci(0)",
2273                                      MACHINE_NAME_MAXBUF);                                      bootpath_len);
2274                  }                  }
2275    
2276                  if (diskimage_is_a_cdrom(machine, machine->bootdev_id,                  if (diskimage_is_a_cdrom(machine, machine->bootdev_id,
# Line 2286  static void arc_environment_setup(struct Line 2286  static void arc_environment_setup(struct
2286          }          }
2287    
2288          if (machine->machine_type == MACHINE_ARC)          if (machine->machine_type == MACHINE_ARC)
2289                  strlcat(init_bootpath, "\\", MACHINE_NAME_MAXBUF);                  strlcat(init_bootpath, "\\", bootpath_len);
2290    
2291          machine->bootstr = malloc(ARC_BOOTSTR_BUFLEN);          machine->bootstr = malloc(ARC_BOOTSTR_BUFLEN);
2292                  if (machine->bootstr == NULL) {                  if (machine->bootstr == NULL) {

Legend:
Removed from v.27  
changed lines
  Added in v.28

  ViewVC Help
Powered by ViewVC 1.1.26