diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2003-10-27 21:12:17 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2003-10-27 21:12:17 +0000 |
commit | db8d74668856e5bbc6c8fede0bb17c4f83e7debf (patch) | |
tree | 58af8307ac799da0265419d8a20e482240bf15ab | |
parent | 997344f303a7a7d5c0e21c2a90ada350da2be8f9 (diff) | |
download | qemu-db8d74668856e5bbc6c8fede0bb17c4f83e7debf.zip qemu-db8d74668856e5bbc6c8fede0bb17c4f83e7debf.tar.gz qemu-db8d74668856e5bbc6c8fede0bb17c4f83e7debf.tar.bz2 |
comments
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@405 c046a42c-6fe2-441c-8c8c-71466251a162
-rw-r--r-- | cpu-defs.h | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -32,8 +32,15 @@ #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 |