mv_machdep.c (257200) | mv_machdep.c (257201) |
---|---|
1/*- 2 * Copyright (c) 1994-1998 Mark Brinicombe. 3 * Copyright (c) 1994 Brini. 4 * All rights reserved. 5 * 6 * This code is derived from software written for Brini by Mark Brinicombe 7 * 8 * Redistribution and use in source and binary forms, with or without --- 25 unchanged lines hidden (view full) --- 34 * 35 * from: FreeBSD: //depot/projects/arm/src/sys/arm/at91/kb920x_machdep.c, rev 45 36 */ 37 38#include "opt_ddb.h" 39#include "opt_platform.h" 40 41#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 1994-1998 Mark Brinicombe. 3 * Copyright (c) 1994 Brini. 4 * All rights reserved. 5 * 6 * This code is derived from software written for Brini by Mark Brinicombe 7 * 8 * Redistribution and use in source and binary forms, with or without --- 25 unchanged lines hidden (view full) --- 34 * 35 * from: FreeBSD: //depot/projects/arm/src/sys/arm/at91/kb920x_machdep.c, rev 45 36 */ 37 38#include "opt_ddb.h" 39#include "opt_platform.h" 40 41#include <sys/cdefs.h> |
42__FBSDID("$FreeBSD: head/sys/arm/mv/mv_machdep.c 257200 2013-10-27 01:34:10Z ian $"); | 42__FBSDID("$FreeBSD: head/sys/arm/mv/mv_machdep.c 257201 2013-10-27 03:13:26Z ian $"); |
43 44#define _ARM32_BUS_DMA_PRIVATE 45#include <sys/param.h> 46#include <sys/systm.h> 47#include <sys/bus.h> 48 49#include <vm/vm.h> 50#include <vm/pmap.h> --- 150 unchanged lines hidden (view full) --- 201vm_offset_t 202initarm_lastaddr(void) 203{ 204 205 if (fdt_immr_addr(MV_BASE) != 0) 206 while (1); 207 208 /* Platform-specific initialisation */ | 43 44#define _ARM32_BUS_DMA_PRIVATE 45#include <sys/param.h> 46#include <sys/systm.h> 47#include <sys/bus.h> 48 49#include <vm/vm.h> 50#include <vm/pmap.h> --- 150 unchanged lines hidden (view full) --- 201vm_offset_t 202initarm_lastaddr(void) 203{ 204 205 if (fdt_immr_addr(MV_BASE) != 0) 206 while (1); 207 208 /* Platform-specific initialisation */ |
209 return (fdt_immr_va - ARM_NOCACHE_KVA_SIZE); | 209 return (fdt_immr_va); |
210} 211 212void 213initarm_gpio_init(void) 214{ 215 216 /* 217 * Re-initialise MPP. It is important to call this prior to using --- 249 unchanged lines hidden --- | 210} 211 212void 213initarm_gpio_init(void) 214{ 215 216 /* 217 * Re-initialise MPP. It is important to call this prior to using --- 249 unchanged lines hidden --- |