allwinner_machdep.c (257200) | allwinner_machdep.c (257201) |
---|---|
1/*- 2 * Copyright (c) 2012 Ganbold Tsagaankhuu <ganbold@gmail.com> 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) 2012 Ganbold Tsagaankhuu <ganbold@gmail.com> 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: head/sys/arm/allwinner/a10_machdep.c 257200 2013-10-27 01:34:10Z ian $"); | 35__FBSDID("$FreeBSD: head/sys/arm/allwinner/a10_machdep.c 257201 2013-10-27 03:13:26Z 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> --- 8 unchanged lines hidden (view full) --- 52/* Start of address space used for bootstrap map */ 53#define DEVMAP_BOOTSTRAP_MAP_START 0xE0000000 54 55 56vm_offset_t 57initarm_lastaddr(void) 58{ 59 | 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> --- 8 unchanged lines hidden (view full) --- 52/* Start of address space used for bootstrap map */ 53#define DEVMAP_BOOTSTRAP_MAP_START 0xE0000000 54 55 56vm_offset_t 57initarm_lastaddr(void) 58{ 59 |
60 return (DEVMAP_BOOTSTRAP_MAP_START - ARM_NOCACHE_KVA_SIZE); | 60 return (DEVMAP_BOOTSTRAP_MAP_START); |
61} 62 63void 64initarm_gpio_init(void) 65{ 66} 67 68void --- 49 unchanged lines hidden --- | 61} 62 63void 64initarm_gpio_init(void) 65{ 66} 67 68void --- 49 unchanged lines hidden --- |