svn commit: r368444 - head/sys/arm64/arm64
Andrew Turner
andrew at FreeBSD.org
Tue Dec 8 15:41:19 UTC 2020
Author: andrew
Date: Tue Dec 8 15:41:18 2020
New Revision: 368444
URL: https://svnweb.freebsd.org/changeset/base/368444
Log:
Free the arm64 bootparams memory after initarm
This is only needed in initarm, we can return this memory to the stack
used by mi_startup.
Sponsored by: Innivate UK
Modified:
head/sys/arm64/arm64/locore.S
Modified: head/sys/arm64/arm64/locore.S
==============================================================================
--- head/sys/arm64/arm64/locore.S Tue Dec 8 15:09:42 2020 (r368443)
+++ head/sys/arm64/arm64/locore.S Tue Dec 8 15:41:18 2020 (r368444)
@@ -173,6 +173,8 @@ virtdone:
mov fp, #0
/* Branch to C code */
bl initarm
+ /* We are done with the boot params */
+ add sp, sp, #BOOTPARAMS_SIZE
bl mi_startup
/* We should not get here */
More information about the svn-src-all
mailing list