/[gxemul]/trunk/src/include/diskimage.h
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/include/diskimage.h

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

revision 32 by dpavlin, Mon Oct 8 16:20:58 2007 UTC revision 34 by dpavlin, Mon Oct 8 16:21:17 2007 UTC
# Line 2  Line 2 
2  #define DISKIMAGE_H  #define DISKIMAGE_H
3    
4  /*  /*
5   *  Copyright (C) 2003-2006  Anders Gavare.  All rights reserved.   *  Copyright (C) 2003-2007  Anders Gavare.  All rights reserved.
6   *   *
7   *  Redistribution and use in source and binary forms, with or without   *  Redistribution and use in source and binary forms, with or without
8   *  modification, are permitted provided that the following conditions are met:   *  modification, are permitted provided that the following conditions are met:
# Line 28  Line 28 
28   *  SUCH DAMAGE.   *  SUCH DAMAGE.
29   *   *
30   *   *
31   *  $Id: diskimage.h,v 1.32 2006/09/05 06:13:27 debug Exp $   *  $Id: diskimage.h,v 1.34 2006/12/30 13:31:00 debug Exp $
32   *   *
33   *  Generic disk image functions.  (See diskimage.c for more info.)   *  Generic disk image functions.  (See diskimage.c for more info.)
34   */   */
# Line 59  struct diskimage { Line 59  struct diskimage {
59          int             sectors_per_track;          int             sectors_per_track;
60    
61          off_t           total_size;          off_t           total_size;
62            int64_t         override_base_offset;
63          int             logical_block_size;          int             logical_block_size;
64    
65          int             writable;          int             writable;
# Line 110  void scsi_transfer_allocbuf(size_t *lenp Line 111  void scsi_transfer_allocbuf(size_t *lenp
111    
112    
113  int64_t diskimage_getsize(struct machine *machine, int id, int type);  int64_t diskimage_getsize(struct machine *machine, int id, int type);
114    int64_t diskimage_get_baseoffset(struct machine *machine, int id, int type);
115  void diskimage_getchs(struct machine *machine, int id, int type,  void diskimage_getchs(struct machine *machine, int id, int type,
116          int *c, int *h, int *s);          int *c, int *h, int *s);
117  int diskimage_scsicommand(struct cpu *cpu, int id, int type,  int diskimage_scsicommand(struct cpu *cpu, int id, int type,

Legend:
Removed from v.32  
changed lines
  Added in v.34

  ViewVC Help
Powered by ViewVC 1.1.26