versatile_machdep.c (257200) | versatile_machdep.c (257201) |
---|---|
1/*- 2 * Copyright (c) 2012 Oleksandr Tymoshenko. 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 --- 24 unchanged lines hidden (view full) --- 33 * 34 */ 35 36#include "opt_ddb.h" 37#include "opt_platform.h" 38#include "opt_global.h" 39 40#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 2012 Oleksandr Tymoshenko. 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 --- 24 unchanged lines hidden (view full) --- 33 * 34 */ 35 36#include "opt_ddb.h" 37#include "opt_platform.h" 38#include "opt_global.h" 39 40#include <sys/cdefs.h> |
41__FBSDID("$FreeBSD: head/sys/arm/versatile/versatile_machdep.c 257200 2013-10-27 01:34:10Z ian $"); | 41__FBSDID("$FreeBSD: head/sys/arm/versatile/versatile_machdep.c 257201 2013-10-27 03:13:26Z ian $"); |
42 43#define _ARM32_BUS_DMA_PRIVATE 44#include <sys/param.h> 45#include <sys/systm.h> 46#include <sys/bus.h> 47 48#include <vm/vm.h> 49#include <vm/pmap.h> --- 5 unchanged lines hidden (view full) --- 55 56/* Start of address space used for bootstrap map */ 57#define DEVMAP_BOOTSTRAP_MAP_START 0xE0000000 58 59vm_offset_t 60initarm_lastaddr(void) 61{ 62 | 42 43#define _ARM32_BUS_DMA_PRIVATE 44#include <sys/param.h> 45#include <sys/systm.h> 46#include <sys/bus.h> 47 48#include <vm/vm.h> 49#include <vm/pmap.h> --- 5 unchanged lines hidden (view full) --- 55 56/* Start of address space used for bootstrap map */ 57#define DEVMAP_BOOTSTRAP_MAP_START 0xE0000000 58 59vm_offset_t 60initarm_lastaddr(void) 61{ 62 |
63 return (DEVMAP_BOOTSTRAP_MAP_START - ARM_NOCACHE_KVA_SIZE); | 63 return (DEVMAP_BOOTSTRAP_MAP_START); |
64} 65 66void 67initarm_gpio_init(void) 68{ 69} 70 71void --- 49 unchanged lines hidden --- | 64} 65 66void 67initarm_gpio_init(void) 68{ 69} 70 71void --- 49 unchanged lines hidden --- |