| 
    
 [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Minios-devel] [PATCH 04/40] arm64: change physical_address_offset to paddr_t
 Hi Shijie, On 03/11/17 03:11, Huang Shijie wrote: The "uint32_t" is not enough for arm64 code, This patch changes it to paddr_t which be used by the arm32 and arm64. Change-Id: I304b3d9f0915399a8ed0e8d0c8c95936c970f346 Jira: ENTOS-247 Signed-off-by: Huang Shijie <shijie.huang@xxxxxxx> --- arch/arm/mm.c | 2 +- arch/arm/setup.c | 5 +++-- include/arm/arch_mm.h | 4 +++- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/arch/arm/mm.c b/arch/arm/mm.c index f806c9f..3d88d3b 100644 --- a/arch/arm/mm.c +++ b/arch/arm/mm.c @@ -6,7 +6,7 @@ #include <libfdt.h> #include <lib.h>-uint32_t physical_address_offset; So now physical_address_offset is a 64-bit value even on Arm32. You remove the comment, but don't seem to have looked at the implication of doing it. In that case, you will make the implementation of to_virt/to_phys in worst state than it already is. More about it in the next patch (i.e #5). #define PAGE_SHIFT 12#define PAGE_SIZE (1 << PAGE_SHIFT) Cheers, -- Julien Grall _______________________________________________ Minios-devel mailing list Minios-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/cgi-bin/mailman/listinfo/minios-devel 
 
 
  | 
  
![]()  | 
            
         Lists.xenproject.org is hosted with RackSpace, monitoring our  |