/[dynamips]/trunk/utils.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/utils.h

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

upstream/dynamips-0.2.7-RC1/utils.h revision 7 by dpavlin, Sat Oct 6 16:23:47 2007 UTC upstream/dynamips-0.2.7-RC2/utils.h revision 8 by dpavlin, Sat Oct 6 16:24:54 2007 UTC
# Line 157  typedef struct { Line 157  typedef struct {
157  #define MTS_INV_ENTRY_MASK  0x00000001  #define MTS_INV_ENTRY_MASK  0x00000001
158    
159  /* MTS entry flags */  /* MTS entry flags */
160  #define MTS_FLAG_DEV  0x000000001   /* Virtual device used */  #define MTS_FLAG_DEV   0x000000001   /* Virtual device used */
161  #define MTS_FLAG_COW  0x000000002   /* Copy-On-Write */  #define MTS_FLAG_COW   0x000000002   /* Copy-On-Write */
162    #define MTS_FLAG_EXEC  0x000000004   /* Exec page */
163    
164  /* Virtual TLB entry (32-bit MMU) */  /* Virtual TLB entry (32-bit MMU) */
165  typedef struct mts32_entry mts32_entry_t;  typedef struct mts32_entry mts32_entry_t;
# Line 359  m_uint16_t nvram_cksum(m_uint16_t *ptr,s Line 360  m_uint16_t nvram_cksum(m_uint16_t *ptr,s
360  /* Byte-swap a memory block */  /* Byte-swap a memory block */
361  void mem_bswap32(void *ptr,size_t len);  void mem_bswap32(void *ptr,size_t len);
362    
363    /* Reverse a byte */
364    m_uint8_t m_reverse_u8(m_uint8_t val);
365    
366  #endif  #endif

Legend:
Removed from v.7  
changed lines
  Added in v.8

  ViewVC Help
Powered by ViewVC 1.1.26