Re: [PATCH 2/3] xen/arm64: Move print_reg macro to asm/arm64/macros.h

2023-11-21 Thread Michal Orzel
Hi Julien, On 21/11/2023 17:16, Julien Grall wrote: > > > On 21/11/2023 09:45, Michal Orzel wrote: >> Macro print_reg is used to print a value of a register passed as an >> argument. While today it is only used from within the common head.S, >> in the future we might want to make use of it from

Re: [PATCH 2/3] xen/arm64: Move print_reg macro to asm/arm64/macros.h

2023-11-21 Thread Julien Grall
On 21/11/2023 09:45, Michal Orzel wrote: Macro print_reg is used to print a value of a register passed as an argument. While today it is only used from within the common head.S, in the future we might want to make use of it from other files, just like PRINT(). It also serves as a great aid whe

Re: [PATCH 2/3] xen/arm64: Move print_reg macro to asm/arm64/macros.h

2023-11-21 Thread Luca Fancellu
> On 21 Nov 2023, at 09:45, Michal Orzel wrote: > > Macro print_reg is used to print a value of a register passed as an > argument. While today it is only used from within the common head.S, > in the future we might want to make use of it from other files, just > like PRINT(). It also serves as

[PATCH 2/3] xen/arm64: Move print_reg macro to asm/arm64/macros.h

2023-11-21 Thread Michal Orzel
Macro print_reg is used to print a value of a register passed as an argument. While today it is only used from within the common head.S, in the future we might want to make use of it from other files, just like PRINT(). It also serves as a great aid when debugging. Expose print_reg macro by moving