svn commit: r261657 - in head/sys/arm: arm at91 sa11x0
Ian Lepore
ian at FreeBSD.org
Sun Feb 9 14:46:52 UTC 2014
Author: ian
Date: Sun Feb 9 14:46:50 2014
New Revision: 261657
URL: http://svnweb.freebsd.org/changeset/base/261657
Log:
No need to set physmem in each initarm() instance anymore, it's handled
in common code now.
Modified:
head/sys/arm/arm/machdep.c
head/sys/arm/at91/at91_machdep.c
head/sys/arm/sa11x0/assabet_machdep.c
Modified: head/sys/arm/arm/machdep.c
==============================================================================
--- head/sys/arm/arm/machdep.c Sun Feb 9 14:35:44 2014 (r261656)
+++ head/sys/arm/arm/machdep.c Sun Feb 9 14:46:50 2014 (r261657)
@@ -1215,8 +1215,6 @@ initarm(struct arm_boot_params *abp)
cninit();
- physmem = memsize / PAGE_SIZE;
-
debugf("initarm: console initialized\n");
debugf(" arg1 kmdp = 0x%08x\n", (uint32_t)kmdp);
debugf(" boothowto = 0x%08x\n", boothowto);
Modified: head/sys/arm/at91/at91_machdep.c
==============================================================================
--- head/sys/arm/at91/at91_machdep.c Sun Feb 9 14:35:44 2014 (r261656)
+++ head/sys/arm/at91/at91_machdep.c Sun Feb 9 14:46:50 2014 (r261657)
@@ -590,7 +590,6 @@ initarm(struct arm_boot_params *abp)
printf("Warning: No soc support for %s found.\n", soc_info.name);
memsize = board_init();
- physmem = memsize / PAGE_SIZE;
/*
* Pages were allocated during the secondary bootstrap for the
Modified: head/sys/arm/sa11x0/assabet_machdep.c
==============================================================================
--- head/sys/arm/sa11x0/assabet_machdep.c Sun Feb 9 14:35:44 2014 (r261656)
+++ head/sys/arm/sa11x0/assabet_machdep.c Sun Feb 9 14:46:50 2014 (r261657)
@@ -205,7 +205,6 @@ initarm(struct arm_boot_params *abp)
arm_physmem_kernaddr = abp->abp_physaddr;
cninit();
set_cpufuncs();
- physmem = memsize / PAGE_SIZE;
pcpu0_init();
/* Do basic tuning, hz etc */
More information about the svn-src-all
mailing list