Re: [PATCH v3 1/5] tools/debugger: Fix PAGE_SIZE redefinition error

2021-05-11 Thread Tim Deegan
At 11:35 +0300 on 10 May (1620646515), Costin Lupu wrote: > If PAGE_SIZE is already defined in the system (e.g. in /usr/include/limits.h > header) then gcc will trigger a redefinition error because of -Werror. This > patch replaces usage of PAGE_* macros with KDD_PAGE_* macros in order to avoid >

[PATCH v3 1/5] tools/debugger: Fix PAGE_SIZE redefinition error

2021-05-10 Thread Costin Lupu
If PAGE_SIZE is already defined in the system (e.g. in /usr/include/limits.h header) then gcc will trigger a redefinition error because of -Werror. This patch replaces usage of PAGE_* macros with KDD_PAGE_* macros in order to avoid confusion between control domain page granularity (PAGE_*