|
From: | Richard Henderson |
Subject: | Re: [PATCH v2 03/22] target/loongarch: Add core definition |
Date: | Mon, 26 Jul 2021 05:32:37 -1000 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 |
On 7/25/21 10:47 PM, Song Gao wrote:
Hmm, but where can we declared in ? such as ARM architecture declared in internals.h, is that OK?
Yes.It is preferable that only things that are used outside of target/arch/ go into cpu.h, and that everything that is private to target/arch/ go into some other local header (with internals.h being a good catch-all).
r~
[Prev in Thread] | Current Thread | [Next in Thread] |