Server : Apache/2.4.18 (Ubuntu) System : Linux canvaswebdesign 3.13.0-71-generic #114-Ubuntu SMP Tue Dec 1 02:34:22 UTC 2015 x86_64 User : oppastar ( 1041) PHP Version : 7.0.33-0ubuntu0.16.04.15 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, Directory : /usr/src/linux-headers-4.4.0-45/arch/cris/include/arch-v10/arch/ |
Upload File : |
#ifndef _CRIS_ARCH_PAGE_H #define _CRIS_ARCH_PAGE_H #ifdef __KERNEL__ /* This handles the memory map.. */ #ifdef CONFIG_CRIS_LOW_MAP #define PAGE_OFFSET KSEG_6 /* kseg_6 is mapped to physical ram */ #else #define PAGE_OFFSET KSEG_C /* kseg_c is mapped to physical ram */ #endif /* macros to convert between really physical and virtual addresses * by stripping a selected bit, we can convert between KSEG_x and * 0x40000000 where the DRAM really resides */ #ifdef CONFIG_CRIS_LOW_MAP /* we have DRAM virtually at 0x6 */ #define __pa(x) ((unsigned long)(x) & 0xdfffffff) #define __va(x) ((void *)((unsigned long)(x) | 0x20000000)) #else /* we have DRAM virtually at 0xc */ #define __pa(x) ((unsigned long)(x) & 0x7fffffff) #define __va(x) ((void *)((unsigned long)(x) | 0x80000000)) #endif #endif #endif