Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Nov 2023 18:14:50 GMT
From:      Andrew Turner <andrew@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 257b04454818 - main - arm64: Correct a comment in locore.S
Message-ID:  <202311151814.3AFIEo2B078056@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202311151814.3AFIEo2B078056>