Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Sep 2008 16:46:50 GMT
From:      Rafal Jaworowski <raj@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 149432 for review
Message-ID:  <200809081646.m88GkoSD032332@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=149432

Change 149432 by raj@raj_mimi on 2008/09/08 16:46:41

	Cosmetics.

Affected files ...

.. //depot/projects/arm/src/sys/arm/mv/common.c#2 edit
.. //depot/projects/arm/src/sys/arm/mv/orion/db88f5xxx.c#4 edit

Differences ...

==== //depot/projects/arm/src/sys/arm/mv/common.c#2 (text+ko) ====

@@ -29,6 +29,9 @@
  * SUCH DAMAGE.
  */
 
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
 #include <sys/systm.h>
 #include <sys/bus.h>
 
@@ -37,8 +40,6 @@
 #include <arm/mv/mvreg.h>
 #include <arm/mv/mvvar.h>
 
-/* Prototypes */
-
 static int win_eth_can_remap(int i);
 
 static int decode_win_cpu_valid(void);

==== //depot/projects/arm/src/sys/arm/mv/orion/db88f5xxx.c#4 (text+ko) ====

@@ -47,6 +47,22 @@
 #include <arm/mv/mvreg.h>
 #include <arm/mv/mvvar.h>
 
+/*
+ * Virtual address space layout:
+ * -----------------------------
+ * 0x0000_0000 - 0xbfff_ffff	: user process
+ *
+ * 0xc040_0000 - virtual_avail	: kerel reserved (text, data, page tables
+ *				: structures, ARM stacks etc.)
+ * virtual_avail - 0xefff_ffff	: KVA (virtual_avail is typically < 0xc0a0_0000)
+ * 0xf000_0000 - 0xf0ff_ffff	: no-cache allocation area (16MB)
+ * 0xf100_0000 - 0xf10f_ffff	: SoC integrated devices registers range (1MB)
+ * 0xf110_0000 - 0xfffe_ffff	: PCI, PCIE outbound windows (MEM+IO)
+ * 0xffff_0000 - 0xffff_0fff	: 'high' vectors page (4KB)
+ * 0xffff_1000 - 0xffff_1fff	: ARM_TP_ADDRESS/RAS page (4KB)
+ * 0xffff_2000 - 0xffff_ffff	: unused (~55KB)
+ */
+
 const struct pmap_devmap	*pmap_devmap_bootstrap_table;
 vm_offset_t			pmap_bootstrap_lastaddr;
 
@@ -101,22 +117,6 @@
 	{ 0, 0, 0, 0, 0, }
 };
 
-/*
- * Virtual address space layout:
- * -----------------------------
- * 0x0000_0000 - 0xbfff_ffff	: user process
- *
- * 0xc040_0000 - virtual_avail	: kerel reserved (text, data, page tables
- *				: structures, ARM stacks etc.)
- * virtual_avail - 0xefff_ffff	: KVA (virtual_avail is typically < 0xc0a0_0000)
- * 0xf000_0000 - 0xf0ff_ffff	: no-cache allocation area (16MB)
- * 0xf100_0000 - 0xf10f_ffff	: SoC integrated devices registers range (1MB)
- * 0xf110_0000 - 0xfffe_ffff	: unused (~238MB -- PCI/PEX etc. windows will go here!)
- * 0xffff_0000 - 0xffff_0fff	: 'high' vectors page (4KB)
- * 0xffff_1000 - 0xffff_1fff	: ARM_TP_ADDRESS/RAS page (4KB)
- * 0xffff_2000 - 0xffff_ffff	: unused (~55KB)
- */
-
 #if 0
 int platform_pci_get_irq(u_int bus, u_int slot, u_int func, u_int pin)
 {



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