mirror of https://github.com/xqemu/xqemu.git
comments
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@405 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
997344f303
commit
db8d746688
|
@ -32,7 +32,14 @@
|
||||||
#define CPU_TLB_SIZE 256
|
#define CPU_TLB_SIZE 256
|
||||||
|
|
||||||
typedef struct CPUTLBEntry {
|
typedef struct CPUTLBEntry {
|
||||||
|
/* 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;
|
uint32_t address;
|
||||||
|
/* addend to virtual address to get physical address */
|
||||||
uint32_t addend;
|
uint32_t addend;
|
||||||
} CPUTLBEntry;
|
} CPUTLBEntry;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue