Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F153347234
D38311.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
404 B
Referenced Files
None
Subscribers
None
D38311.diff
View Options
diff --git a/stand/kboot/arch/aarch64/load_addr.c b/stand/kboot/arch/aarch64/load_addr.c
--- a/stand/kboot/arch/aarch64/load_addr.c
+++ b/stand/kboot/arch/aarch64/load_addr.c
@@ -175,7 +175,10 @@
{
#define HOLE_SIZE (64ul << 20)
#define KERN_ALIGN (2ul << 20)
- uint64_t s;
+ static uint64_t s = 0;
+
+ if (s != 0)
+ return (s);
s = first_avail(KERN_ALIGN, HOLE_SIZE, SYSTEM_RAM);
if (s != 0)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Apr 21, 3:13 PM (8 h, 57 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31917412
Default Alt Text
D38311.diff (404 B)
Attached To
Mode
D38311: kboot: cache the value for the kernel segment address
Attached
Detach File
Event Timeline
Log In to Comment