Re: [Qemu-devel] qemu physical address

2012-04-21 Thread Xin Tong
On Sat, Apr 21, 2012 at 3:06 AM, Blue Swirl wrote: > On Fri, Apr 20, 2012 at 04:25, Xin Tong wrote: >> On Thu, Apr 19, 2012 at 6:56 PM, Xin Tong wrote: >>> On Thu, Apr 19, 2012 at 1:03 PM, Blue Swirl wrote: On Thu, Apr 19, 2012 at 01:55, Xin Tong wrote: > but should not the address be

Re: [Qemu-devel] qemu physical address

2012-04-21 Thread Blue Swirl
On Fri, Apr 20, 2012 at 04:25, Xin Tong wrote: > On Thu, Apr 19, 2012 at 6:56 PM, Xin Tong wrote: >> On Thu, Apr 19, 2012 at 1:03 PM, Blue Swirl wrote: >>> On Thu, Apr 19, 2012 at 01:55, Xin Tong wrote: but should not the address be within 1 - 4G-1 even with PAE. is not the PAE just u

Re: [Qemu-devel] qemu physical address

2012-04-20 Thread Blue Swirl
On Thu, Apr 19, 2012 at 22:56, Xin Tong wrote: > On Thu, Apr 19, 2012 at 1:03 PM, Blue Swirl wrote: >> On Thu, Apr 19, 2012 at 01:55, Xin Tong wrote: >>> but should not the address be within 1 - 4G-1 even with PAE. is not >>> the PAE just using 64bits addresses as supposed to 32 bit ? what does

Re: [Qemu-devel] qemu physical address

2012-04-19 Thread Xin Tong
On Thu, Apr 19, 2012 at 6:56 PM, Xin Tong wrote: > On Thu, Apr 19, 2012 at 1:03 PM, Blue Swirl wrote: >> On Thu, Apr 19, 2012 at 01:55, Xin Tong wrote: >>> but should not the address be within 1 - 4G-1 even with PAE. is not >>> the PAE just using 64bits addresses as supposed to 32 bit ? what doe

Re: [Qemu-devel] qemu physical address

2012-04-19 Thread Xin Tong
On Thu, Apr 19, 2012 at 1:03 PM, Blue Swirl wrote: > On Thu, Apr 19, 2012 at 01:55, Xin Tong wrote: >> but should not the address be within 1 - 4G-1 even with PAE. is not >> the PAE just using 64bits addresses as supposed to 32 bit ? what does >> the physical address bigger than 4G mean ?  is not

Re: [Qemu-devel] qemu physical address

2012-04-19 Thread Blue Swirl
On Thu, Apr 19, 2012 at 01:55, Xin Tong wrote: > but should not the address be within 1 - 4G-1 even with PAE. is not > the PAE just using 64bits addresses as supposed to 32 bit ? what does > the physical address bigger than 4G mean ?  is not the physical > address starting from 0 from the prospect

Re: [Qemu-devel] qemu physical address

2012-04-18 Thread Xin Tong
but should not the address be within 1 - 4G-1 even with PAE. is not the PAE just using 64bits addresses as supposed to 32 bit ? what does the physical address bigger than 4G mean ? is not the physical address starting from 0 from the prospective of the processor ? Xin On Wed, Apr 18, 2012 at 4:

Re: [Qemu-devel] qemu physical address

2012-04-18 Thread Blue Swirl
On Wed, Apr 18, 2012 at 01:28, Xin Tong wrote: > I am reading how qemu refill TLB working. > > target-i386/helper.c > >    pte = pte & env->a20_mask; > >    /* Even if 4MB pages, we map only one 4KB page in the cache to >       avoid filling it too fast */ >    page_offset = (addr & TARGET_PAGE_MA

[Qemu-devel] qemu physical address

2012-04-17 Thread Xin Tong
I am reading how qemu refill TLB working. target-i386/helper.c pte = pte & env->a20_mask; /* Even if 4MB pages, we map only one 4KB page in the cache to avoid filling it too fast */ page_offset = (addr & TARGET_PAGE_MASK) & (page_size - 1); paddr = (pte & TARGET_PAGE_MASK)