Paul Brook wrote:
>>> as far as i remember it was used to address something with
>>> cpu_physical_memory_rw() probably related to &TARGET_PAGE_SIZE
>>> or ~TARGET_PAGE_SIZE,
>>>
>>> the fact is that i dont know if it ever fixed anything
>>>       
>> It fixes TARGET_PAGE_MASK, defined one line downscreen. 
>>     
>
> That doesn't really answer the question. What was wrong with the original 
> definition?
>   

There are many instances of ((physical address) & TARGET_PAGE_MASK) 
scattered throughout the code.  With 64-bit physical addresses, this 
causes truncation.

Are suggesting to fix TARGET_PAGE_MASK directly?  I think fixing 
TARGET_PAGE_SIZE is better as everything else is defined in terms of it.

-- 
error compiling committee.c: too many arguments to function


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel

Reply via email to