2 * Copyright (c) 2004 Cray Inc.
4 * The contents of this file is proprietary information of Cray Inc.
5 * and may not be disclosed without prior written consent.
9 * This code is licensed under the GNU General Public License,
10 * Version 2. See the file COPYING for more details.
14 #ifndef __RCA_L0_LINUX_H__
15 #define __RCA_L0_LINUX_H__
17 #include <lwk/version.h>
21 * This works as long as the physical address is below 4GB and a static
22 * page table mapping has been setup for this address. This macro is
23 * intended to be used before ioremap() is available for e.g in the case
26 #define rca_l0_comm_va(addr) \
27 (void*)(((unsigned long)0xFFFFFFFF << 32) | (unsigned long)(addr))
29 extern int l0rca_os_init(void);
31 #endif /* __RCA_L0_LINUX_H__ */