mirror of
https://github.com/riscv-software-src/opensbi
synced 2025-10-14 04:46:06 +01:00
include: sbi_domain: Fix incorrect comments
These comments are inaccurate as of commit db56341dfa1f ("lib: sbi: Allow platforms to provide root domain memory regions"), which modified root domain registration to go through sbi_domain_register() like other domains. Fixes: db56341dfa1f ("lib: sbi: Allow platforms to provide root domain memory regions") Signed-off-by: Samuel Holland <samuel.holland@sifive.com> Reviewed-by: Anup Patel <anup@brainfault.org>
This commit is contained in:
parent
c4940a9517
commit
792715e4f3
@ -163,16 +163,9 @@ struct sbi_domain_memregion {
|
||||
|
||||
/** Representation of OpenSBI domain */
|
||||
struct sbi_domain {
|
||||
/**
|
||||
* Logical index of this domain
|
||||
* Note: This set by sbi_domain_finalize() in the coldboot path
|
||||
*/
|
||||
/** Logical index of this domain */
|
||||
u32 index;
|
||||
/**
|
||||
* HARTs assigned to this domain
|
||||
* Note: This set by sbi_domain_init() and sbi_domain_finalize()
|
||||
* in the coldboot path
|
||||
*/
|
||||
/** HARTs assigned to this domain */
|
||||
struct sbi_hartmask assigned_harts;
|
||||
/** Spinlock for accessing assigned_harts */
|
||||
spinlock_t assigned_harts_lock;
|
||||
|
Loading…
x
Reference in New Issue
Block a user