|
From: | Richard Henderson |
Subject: | Re: [PATCH 06/10] includes: move irq definitions out of cpu-all.h |
Date: | Tue, 21 Mar 2023 22:25:02 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 |
On 3/21/23 09:06, Alessandro Di Federico wrote:
On Mon, 20 Mar 2023 10:10:31 +0000 Alex Bennée <alex.bennee@linaro.org> wrote:+#define CPU_INTERRUPT_HARD 0x0002Out of curiosity, do we have a policy when to use `const` globals as opposed to `#define`? In theory, if a constant is never used in any preprocessor directive, we could turn it into a global `const`.
No, this is not c++. r~
[Prev in Thread] | Current Thread | [Next in Thread] |