]> git.proxmox.com Git - qemu.git/commitdiff
comments
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Mon, 27 Oct 2003 21:12:17 +0000 (21:12 +0000)
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Mon, 27 Oct 2003 21:12:17 +0000 (21:12 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@405 c046a42c-6fe2-441c-8c8c-71466251a162

cpu-defs.h

index 3ec866fa7b09d96481693be2d0c0f15c3b30af83..84b5e280e0cf10784746cf6740a2ecc1850a89a9 100644 (file)
 #define CPU_TLB_SIZE 256
 
 typedef struct CPUTLBEntry {
-    uint32_t address;
-    uint32_t addend;
+    /* bit 31 to TARGET_PAGE_BITS : virtual address 
+       bit TARGET_PAGE_BITS-1..IO_MEM_SHIFT : if non zero, memory io
+                                              zone number
+       bit 3                      : indicates that the entry is invalid
+       bit 2..0                   : zero
+    */
+    uint32_t address; 
+    /* addend to virtual address to get physical address */
+    uint32_t addend; 
 } CPUTLBEntry;
 
 #endif