]> git.ipfire.org Git - thirdparty/qemu.git/commit
hw/misc/aspeed_hace: Introduce 64-bit hash source address helper function
authorJamin Lin <jamin_lin@aspeedtech.com>
Thu, 15 May 2025 08:09:41 +0000 (16:09 +0800)
committerCédric Le Goater <clg@redhat.com>
Sun, 25 May 2025 21:39:11 +0000 (23:39 +0200)
commitc6c5fc5ab04533a22be11f377aa67d46e47056bf
tree0ecc3c733dbd4e94f5142f362e65b27cb8bbc762
parentb9ccbe212e2443294dd636cb17b4e436db8774a7
hw/misc/aspeed_hace: Introduce 64-bit hash source address helper function

The AST2700 CPU, based on the Cortex-A35, is a 64-bit processor, and its DRAM
address space is also 64-bit. To support future AST2700 updates, the source
hash buffer address data type is being updated to 64-bit.

Introduces the "hash_get_source_addr()" helper function to extract the source hash
buffer address.

Signed-off-by: Jamin Lin <jamin_lin@aspeedtech.com>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Link: https://lore.kernel.org/qemu-devel/20250515081008.583578-10-jamin_lin@aspeedtech.com
Signed-off-by: Cédric Le Goater <clg@redhat.com>
hw/misc/aspeed_hace.c