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

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

revision 14 by dpavlin, Mon Oct 8 16:18:51 2007 UTC revision 18 by dpavlin, Mon Oct 8 16:19:11 2007 UTC
# Line 25  Line 25 
25   *  SUCH DAMAGE.   *  SUCH DAMAGE.
26   *   *
27   *   *
28   *  $Id: emul.c,v 1.234 2005/09/17 21:55:19 debug Exp $   *  $Id: emul.c,v 1.235 2005/10/26 14:37:02 debug Exp $
29   *   *
30   *  Emulation startup and misc. routines.   *  Emulation startup and misc. routines.
31   */   */
# Line 650  static int load_bootblock(struct machine Line 650  static int load_bootblock(struct machine
650    
651          /*          /*
652           *  Try reading a kernel manually from the disk. The code here           *  Try reading a kernel manually from the disk. The code here
653           *  does not rely on machine-dependant boot blocks etc.           *  does not rely on machine-dependent boot blocks etc.
654           */           */
655          /*  ISO9660: (0x800 bytes at 0x8000)  */          /*  ISO9660: (0x800 bytes at 0x8000)  */
656          bootblock_buf = malloc(0x800);          bootblock_buf = malloc(0x800);
# Line 1210  void emul_machine_setup(struct machine * Line 1210  void emul_machine_setup(struct machine *
1210                  switch (m->arch) {                  switch (m->arch) {
1211    
1212                  case ARCH_ALPHA:                  case ARCH_ALPHA:
1213                          /*  For position-independant code:  */                          /*  For position-independent code:  */
1214                          cpu->cd.alpha.r[ALPHA_T12] = cpu->pc;                          cpu->cd.alpha.r[ALPHA_T12] = cpu->pc;
1215                          break;                          break;
1216    

Legend:
Removed from v.14  
changed lines
  Added in v.18

  ViewVC Help
Powered by ViewVC 1.1.26