Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F136634691
D53700.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D53700.diff
View Options
diff --git a/sys/arm/arm/machdep.c b/sys/arm/arm/machdep.c
--- a/sys/arm/arm/machdep.c
+++ b/sys/arm/arm/machdep.c
@@ -120,8 +120,6 @@
/* The address at which the kernel was loaded. Set early in initarm(). */
vm_paddr_t arm_physmem_kernaddr;
-extern int *end;
-
#ifdef FDT
vm_paddr_t pmap_pa;
vm_offset_t systempage;
diff --git a/sys/arm/arm/machdep_boot.c b/sys/arm/arm/machdep_boot.c
--- a/sys/arm/arm/machdep_boot.c
+++ b/sys/arm/arm/machdep_boot.c
@@ -69,7 +69,7 @@
static char static_kenv[4096];
#endif
-extern int *end;
+extern char end[];
static uint32_t board_revision;
/* hex representation of uint64_t */
diff --git a/sys/arm64/arm64/machdep_boot.c b/sys/arm64/arm64/machdep_boot.c
--- a/sys/arm64/arm64/machdep_boot.c
+++ b/sys/arm64/arm64/machdep_boot.c
@@ -53,7 +53,7 @@
#include <ddb/ddb.h>
#endif
-extern int *end;
+extern char end[];
static char *loader_envp;
#ifdef FDT
diff --git a/sys/riscv/riscv/machdep.c b/sys/riscv/riscv/machdep.c
--- a/sys/riscv/riscv/machdep.c
+++ b/sys/riscv/riscv/machdep.c
@@ -118,7 +118,7 @@
cpuset_t all_harts;
-extern int *end;
+extern char end[];
static char static_kenv[PAGE_SIZE];
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Nov 19, 4:29 PM (14 h, 54 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
25652753
Default Alt Text
D53700.diff (1 KB)
Attached To
Mode
D53700: sys: Declare 'end' as an extern char so that &end is a char *
Attached
Detach File
Event Timeline
Log In to Comment