git: 257b04454818 - main - arm64: Correct a comment in locore.S
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 15 Nov 2023 18:14:50 UTC
The branch main has been updated by andrew:
URL: https://cgit.FreeBSD.org/src/commit/?id=257b04454818c80d9b85a840e3ea8db1ea891265
commit 257b04454818c80d9b85a840e3ea8db1ea891265
Author: Andrew Turner <andrew@FreeBSD.org>
AuthorDate: 2023-11-15 18:13:39 +0000
Commit: Andrew Turner <andrew@FreeBSD.org>
CommitDate: 2023-11-15 18:13:39 +0000
arm64: Correct a comment in locore.S
We now use the physical address of get_load_phys_addr. Use it in a
comment rather than the old symbol.
Sponsored by: Arm Ltd
---
sys/arm64/arm64/locore.S | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys/arm64/arm64/locore.S b/sys/arm64/arm64/locore.S
index ffd13610ec02..0b177438da82 100644
--- a/sys/arm64/arm64/locore.S
+++ b/sys/arm64/arm64/locore.S
@@ -361,7 +361,7 @@ LEND(drop_to_el1)
LENTRY(get_load_phys_addr)
/* Load the offset of get_load_phys_addr from KERNBASE */
ldr x28, =(get_load_phys_addr - KERNBASE)
- /* Load the physical address of virt_map */
+ /* Load the physical address of get_load_phys_addr */
adr x29, get_load_phys_addr
/* Find the physical address of KERNBASE, i.e. our load address */
sub x28, x29, x28