fix compile error on evbarm/EXYNOS. platform.h may be included from *.S

This commit is contained in:
ryo 2018-03-14 06:35:31 +00:00
parent ba5804a5a5
commit ddcce67716
1 changed files with 3 additions and 1 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: platform.h,v 1.2 2017/12/10 21:38:27 skrll Exp $ */
/* $NetBSD: platform.h,v 1.3 2018/03/14 06:35:31 ryo Exp $ */
/*-
* Copyright (c) 2015-2017 Jared McNeill <jmcneill@invisible.ca>
@ -29,7 +29,9 @@
#ifndef _EVBARM_FDT_PLATFORM_H
#define _EVBARM_FDT_PLATFORM_H
#ifndef _LOCORE
void fdt_add_reserved_memory_range(uint64_t, uint64_t);
#endif
#ifdef __HAVE_MM_MD_DIRECT_MAPPED_PHYS
#define KERNEL_VM_BASE 0xc0000000