diff options
author | Ian Moffett <ian@osmora.org> | 2025-05-08 02:01:32 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2025-05-08 02:01:32 -0400 |
commit | 35cdb5152c51ac2bb240421e79cff1496ff94d94 (patch) | |
tree | 9abeaccd519a397e6f264b5663ea17dcc44f0967 | |
parent | a3dffec58f315d8c3c4625b1072f81a15dd60cd0 (diff) |
kernel: ahci: Split CLB/FB into lower/upper bits
Signed-off-by: Ian Moffett <ian@osmora.org>
-rw-r--r-- | sys/include/dev/ic/ahciregs.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/include/dev/ic/ahciregs.h b/sys/include/dev/ic/ahciregs.h index 973c761..2f2fa84 100644 --- a/sys/include/dev/ic/ahciregs.h +++ b/sys/include/dev/ic/ahciregs.h @@ -34,8 +34,10 @@ #include <sys/param.h> struct hba_port { - volatile uint64_t clb; /* Command list base (1k-byte aligned) */ - volatile uint64_t fb; /* FIS base (256-byte aligned) */ + volatile uint32_t clb; /* Command list base low (1k-byte aligned) */ + volatile uint32_t clbu; /* Command list base upper */ + volatile uint32_t fb; /* FIS base (256-byte aligned) */ + volatile uint32_t fbu; /* FIS base upper */ volatile uint32_t is; /* Interrupt status */ volatile uint32_t ie; /* Interrupt enable */ volatile uint32_t cmd; /* Command and status */ |