diff --git a/src/nvidia/src/rmapi/memory.rs b/src/nvidia/src/rmapi/memory.rs index c90a83c7..f5095553 100644 --- a/src/nvidia/src/rmapi/memory.rs +++ b/src/nvidia/src/rmapi/memory.rs @@ -35,7 +35,15 @@ pub const CLASS_VIDEO: u32 = 0x40; pub const CLASS_SYSTEM: u32 = 0x3e; pub const CLASS_VIRTUAL: u32 = 0x50a0; pub const CLASS_OS_DESCRIPTOR: u32 = 0x71; -/// 0xc361 `VOLTA_USERMODE_A`: BAR0+0x810000 (64 KiB write-only doorbell region; `_nv059710rm`). +/// 0xc361 `VOLTA_USERMODE_A` (`_nv059710rm`): a 64 KiB write-only BAR0 doorbell region. +/// +/// The base is a property of the GPU, not of the class: `0x81_0000` when the GPU is not +/// GSP-RM, `0xbb_0000` (`NV_VIRTUAL_FUNCTION` + 0x30000) when it is (Turing-Blackwell). +/// `0xc361`, `0xc461`, `0xc561` and `0xc661` all take the same base on a given part, so +/// the class id does not select the window; `gpu.rs`'s `memory::CLASS_USERMODE` arm +/// registers it and is the authority over this comment. +/// +/// The in-window address, access width and value semantics are not documented here. pub const CLASS_USERMODE: u32 = 0xc361; /// 0x90e6 `GF100_SUBDEVICE_MASTER`: BAR0+0 (4 KiB read-only PMC page; `_nv029257rm`). pub const CLASS_SUBDEVICE_MASTER: u32 = 0x90e6;