[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Minios-devel] [PATCH v2 09/47] arm64: add the __PAGE_SIZE macro in header file



Huang Shijie, on jeu. 15 mars 2018 04:52:16 +0000, wrote:
> The __PAGE_SIZE is needed by the include/posix/limits.h.
> 
> Signed-off-by: Huang Shijie <shijie.huang@xxxxxxx>

Reviewed-by: Samuel Thibault <samuel.thibault@xxxxxxxxxxxx>

> ---
>  include/arm/arch_limits.h | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/include/arm/arch_limits.h b/include/arm/arch_limits.h
> index 23a491f..de047b0 100644
> --- a/include/arm/arch_limits.h
> +++ b/include/arm/arch_limits.h
> @@ -3,6 +3,8 @@
>  
>  #include <page_def.h>
>  
> +#define __PAGE_SIZE       (1UL << PAGE_SHIFT)
> +
>  #define __STACK_SIZE_PAGE_ORDER  2
>  #define __STACK_SIZE (4 * PAGE_SIZE)
>  
> -- 
> 2.7.4
> 

-- 
Samuel
N: beep beep Miam miam? 
y: ++
a: kill -MIAM -1
 -+- #runtime < /dev/miam -+-

_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/minios-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.