/[gxemul]/trunk/src/include/memory.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/memory.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 MEMORY_H  #define MEMORY_H
3    
4  /*  /*
5   *  Copyright (C) 2004-2006  Anders Gavare.  All rights reserved.   *  Copyright (C) 2004-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: memory.h,v 1.52 2006/09/01 15:42:59 debug Exp $   *  $Id: memory.h,v 1.55 2007/02/10 14:04:51 debug Exp $
32   *   *
33   *  Memory related functions.   *  Memory related functions.
34   */   */
# Line 126  unsigned char *memory_paddr_to_hostaddr( Line 126  unsigned char *memory_paddr_to_hostaddr(
126  #define CACHE_FLAGS_MASK                0x3  #define CACHE_FLAGS_MASK                0x3
127  #define NO_EXCEPTIONS                   16  #define NO_EXCEPTIONS                   16
128  #define PHYSICAL                        32  #define PHYSICAL                        32
129  #define NO_SEGMENTATION                 64      /*  for X86  */  #define MEMORY_USER_ACCESS              64      /*  for ARM, at least  */
 #define MEMORY_USER_ACCESS              128     /*  for ARM, at least  */  
130    
131  /*  Dyntrans Memory flags:  */  /*  Dyntrans Memory flags:  */
132  #define DM_DEFAULT                              0  #define DM_DEFAULT                              0
# Line 165  void memory_device_remove(struct memory Line 164  void memory_device_remove(struct memory
164    
165  uint64_t memory_checksum(struct memory *mem);  uint64_t memory_checksum(struct memory *mem);
166    
167    void memory_warn_about_unimplemented_addr(struct cpu *cpu, struct memory *mem,
168            int writeflag, uint64_t paddr, uint8_t *data, size_t len);
169    
170    
171  #endif  /*  MEMORY_H  */  #endif  /*  MEMORY_H  */

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

  ViewVC Help
Powered by ViewVC 1.1.26