Deleted Added
full compact
rk30xx_machdep.c (266381) rk30xx_machdep.c (266397)
1/*-
2 * Copyright (c) 2013 Ganbold Tsagaankhuu <ganbold@freebsd.org>
3 * All rights reserved.
4 *
5 * This code is derived from software written for Brini by Mark Brinicombe
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

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

27 *
28 * from: FreeBSD: //depot/projects/arm/src/sys/arm/ti/ti_machdep.c
29 */
30
31#include "opt_ddb.h"
32#include "opt_platform.h"
33
34#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 2013 Ganbold Tsagaankhuu <ganbold@freebsd.org>
3 * All rights reserved.
4 *
5 * This code is derived from software written for Brini by Mark Brinicombe
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

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

27 *
28 * from: FreeBSD: //depot/projects/arm/src/sys/arm/ti/ti_machdep.c
29 */
30
31#include "opt_ddb.h"
32#include "opt_platform.h"
33
34#include <sys/cdefs.h>
35__FBSDID("$FreeBSD: stable/10/sys/arm/rockchip/rk30xx_machdep.c 266381 2014-05-17 23:29:45Z ian $");
35__FBSDID("$FreeBSD: stable/10/sys/arm/rockchip/rk30xx_machdep.c 266397 2014-05-18 13:05:07Z ian $");
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#include <vm/pmap.h>

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

78
79/*
80 * Set up static device mappings.
81 */
82int
83initarm_devmap_init(void)
84{
85
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#include <vm/pmap.h>

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

78
79/*
80 * Set up static device mappings.
81 */
82int
83initarm_devmap_init(void)
84{
85
86 arm_devmap_add_entry(0x10000000, 0x00200000);
86 arm_devmap_add_entry(0x20000000, 0x00100000);
87
88 return (0);
89}
90
91struct arm32_dma_range *
92bus_dma_get_range(void)
93{

--- 18 unchanged lines hidden ---
87 arm_devmap_add_entry(0x20000000, 0x00100000);
88
89 return (0);
90}
91
92struct arm32_dma_range *
93bus_dma_get_range(void)
94{

--- 18 unchanged lines hidden ---