Deleted Added
full compact
socfpga_machdep.c (272712) socfpga_machdep.c (272896)
1/*-
2 * Copyright (c) 2014 Ruslan Bukin <br@bsdpad.com>
3 * All rights reserved.
4 *
5 * This software was developed by SRI International and the University of
6 * Cambridge Computer Laboratory under DARPA/AFRL contract (FA8750-10-C-0237)
7 * ("CTSRD"), as part of the DARPA CRASH research programme.
8 *

--- 18 unchanged lines hidden (view full) ---

27 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
28 * SUCH DAMAGE.
29 */
30
31#include "opt_ddb.h"
32#include "opt_platform.h"
33
34#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 2014 Ruslan Bukin <br@bsdpad.com>
3 * All rights reserved.
4 *
5 * This software was developed by SRI International and the University of
6 * Cambridge Computer Laboratory under DARPA/AFRL contract (FA8750-10-C-0237)
7 * ("CTSRD"), as part of the DARPA CRASH research programme.
8 *

--- 18 unchanged lines hidden (view full) ---

27 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
28 * SUCH DAMAGE.
29 */
30
31#include "opt_ddb.h"
32#include "opt_platform.h"
33
34#include <sys/cdefs.h>
35__FBSDID("$FreeBSD: head/sys/arm/altera/socfpga/socfpga_machdep.c 272712 2014-10-07 17:39:30Z br $");
35__FBSDID("$FreeBSD: head/sys/arm/altera/socfpga/socfpga_machdep.c 272896 2014-10-10 14:35:51Z br $");
36
37#define _ARM32_BUS_DMA_PRIVATE
38#include <sys/param.h>
39#include <sys/systm.h>
40#include <sys/bus.h>
41
42#include <vm/vm.h>
43

--- 43 unchanged lines hidden (view full) ---

87 * It might be caused due to some power save options being turned
88 * on or something else.
89 */
90 arm_devmap_add_entry(0xffb00000, 0x100000);
91
92 /* dwmmc */
93 arm_devmap_add_entry(0xff700000, 0x100000);
94
36
37#define _ARM32_BUS_DMA_PRIVATE
38#include <sys/param.h>
39#include <sys/systm.h>
40#include <sys/bus.h>
41
42#include <vm/vm.h>
43

--- 43 unchanged lines hidden (view full) ---

87 * It might be caused due to some power save options being turned
88 * on or something else.
89 */
90 arm_devmap_add_entry(0xffb00000, 0x100000);
91
92 /* dwmmc */
93 arm_devmap_add_entry(0xff700000, 0x100000);
94
95 /* scu */
96 arm_devmap_add_entry(0xfff00000, 0x100000);
97
95 return (0);
96}
97
98struct arm32_dma_range *
99bus_dma_get_range(void)
100{
101
102 return (NULL);
103}
104
105int
106bus_dma_get_range_nb(void)
107{
108
109 return (0);
110}
98 return (0);
99}
100
101struct arm32_dma_range *
102bus_dma_get_range(void)
103{
104
105 return (NULL);
106}
107
108int
109bus_dma_get_range_nb(void)
110{
111
112 return (0);
113}