FreeBSD/sys/arm/allwinner/allwinner_machdep.c
/*
 * Set up static device mappings.
 *
 * This covers all the on-chip device with 1MB section mappings, which is good
 * for performance (uses fewer TLB entries for device access).
 *
 * XXX It also covers a block of SRAM and some GPU (mali400) stuff that maybe
 * shouldn't be device-mapped.  The original code mapped a 4MB block, but
 * perhaps a 1MB block would be more appropriate.
 */
Set up static device mappings.
This covers all the on-chip device with 1MB section mappings, which is good
for performance (uses fewer TLB entries for device access).

XXX It also covers a block of SRAM and some GPU (mali400) stuff that maybe
shouldn't be device-mapped.  The original code mapped a 4MB block, but
perhaps a 1MB block would be more appropriate.
Set up static device mappings . This covers all the on - chip device with 1MB section mappings which is good for performance ( uses fewer TLB entries for device access ) . XXX It also covers a block of SRAM and some GPU ( mali400 ) stuff that maybe shouldn ' t be device - mapped . The original code mapped a 4MB block but perhaps a 1MB block would be more appropriate .
static int
allwinner_devmap_init(platform_t plat)
{
	devmap_add_entry(0x01C00000, 0x00400000); 
	return (0);
}
static int allwinner_devmap_init ( platform_t plat ) { devmap_add_entry ( 0x01C00000 , 0x00400000 ) ; return ( 0 ) ; }
Set up static device mappings.
Set up static device mappings .
/* 4MB */