Kernel  |  3.4

下载     查看原文件
C++程序  |  19行  |  394 B
/*
 * memory & I/O static mapping definitions for CSR SiRFprimaII
 *
 * Copyright (c) 2011 Cambridge Silicon Radio Limited, a CSR plc group company.
 *
 * Licensed under GPLv2 or later.
 */

#ifndef __MACH_PRIMA2_MAP_H__
#define __MACH_PRIMA2_MAP_H__

#include <linux/const.h>

#define SIRFSOC_VA_BASE		_AC(0xFEC00000, UL)

#define SIRFSOC_VA(x)		(SIRFSOC_VA_BASE + ((x) & 0x00FFF000))

#endif