FreeBSD/sys/arm/xilinx/zy7_machdep.c
/*
 * Set up static device mappings.  Not strictly necessary -- simplebus will
 * dynamically establish mappings as needed -- but doing it this way gets us
 * nice efficient 1MB section mappings.
 */
Set up static device mappings.  Not strictly necessary -- simplebus will
dynamically establish mappings as needed -- but doing it this way gets us
nice efficient 1MB section mappings.
Set up static device mappings . Not strictly necessary -- simplebus will dynamically establish mappings as needed -- but doing it this way gets us nice efficient 1MB section mappings .
int
platform_devmap_init(void)
{
	devmap_add_entry(ZYNQ7_PSIO_HWBASE, ZYNQ7_PSIO_SIZE);
	devmap_add_entry(ZYNQ7_PSCTL_HWBASE, ZYNQ7_PSCTL_SIZE);
	return (0);
}
int platform_devmap_init ( void ) { devmap_add_entry ( ZYNQ7_PSIO_HWBASE , ZYNQ7_PSIO_SIZE ) ; devmap_add_entry ( ZYNQ7_PSCTL_HWBASE , ZYNQ7_PSCTL_SIZE ) ; return ( 0 ) ; }
Set up static device mappings.
Set up static device mappings .