Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
84e48b6d
Commit
84e48b6d
authored
May 03, 2005
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Plain Diff
Merge of master.kernel.org:/home/rmk/linux-2.6-rmk.git
parents
52292c9b
48af7215
Changes
28
Show whitespace changes
Inline
Side-by-side
Showing
28 changed files
with
119 additions
and
353 deletions
+119
-353
arch/arm/boot/compressed/head.S
arch/arm/boot/compressed/head.S
+22
-83
arch/arm/mach-imx/generic.c
arch/arm/mach-imx/generic.c
+16
-0
arch/arm/mach-integrator/core.c
arch/arm/mach-integrator/core.c
+4
-2
arch/arm/mach-integrator/leds.c
arch/arm/mach-integrator/leds.c
+1
-1
arch/arm/mm/Kconfig
arch/arm/mm/Kconfig
+1
-0
drivers/video/cyber2000fb.c
drivers/video/cyber2000fb.c
+4
-4
include/asm-arm/arch-cl7500/vmalloc.h
include/asm-arm/arch-cl7500/vmalloc.h
+0
-11
include/asm-arm/arch-clps711x/vmalloc.h
include/asm-arm/arch-clps711x/vmalloc.h
+0
-11
include/asm-arm/arch-ebsa110/vmalloc.h
include/asm-arm/arch-ebsa110/vmalloc.h
+0
-11
include/asm-arm/arch-ebsa285/vmalloc.h
include/asm-arm/arch-ebsa285/vmalloc.h
+0
-11
include/asm-arm/arch-epxa10db/vmalloc.h
include/asm-arm/arch-epxa10db/vmalloc.h
+0
-11
include/asm-arm/arch-h720x/vmalloc.h
include/asm-arm/arch-h720x/vmalloc.h
+0
-11
include/asm-arm/arch-imx/vmalloc.h
include/asm-arm/arch-imx/vmalloc.h
+0
-12
include/asm-arm/arch-integrator/platform.h
include/asm-arm/arch-integrator/platform.h
+54
-54
include/asm-arm/arch-integrator/vmalloc.h
include/asm-arm/arch-integrator/vmalloc.h
+0
-11
include/asm-arm/arch-iop3xx/vmalloc.h
include/asm-arm/arch-iop3xx/vmalloc.h
+0
-3
include/asm-arm/arch-ixp2000/vmalloc.h
include/asm-arm/arch-ixp2000/vmalloc.h
+0
-3
include/asm-arm/arch-ixp4xx/vmalloc.h
include/asm-arm/arch-ixp4xx/vmalloc.h
+0
-12
include/asm-arm/arch-l7200/vmalloc.h
include/asm-arm/arch-l7200/vmalloc.h
+0
-11
include/asm-arm/arch-lh7a40x/vmalloc.h
include/asm-arm/arch-lh7a40x/vmalloc.h
+0
-11
include/asm-arm/arch-omap/vmalloc.h
include/asm-arm/arch-omap/vmalloc.h
+0
-12
include/asm-arm/arch-pxa/vmalloc.h
include/asm-arm/arch-pxa/vmalloc.h
+0
-11
include/asm-arm/arch-rpc/vmalloc.h
include/asm-arm/arch-rpc/vmalloc.h
+0
-11
include/asm-arm/arch-s3c2410/vmalloc.h
include/asm-arm/arch-s3c2410/vmalloc.h
+0
-12
include/asm-arm/arch-sa1100/vmalloc.h
include/asm-arm/arch-sa1100/vmalloc.h
+0
-11
include/asm-arm/arch-shark/vmalloc.h
include/asm-arm/arch-shark/vmalloc.h
+0
-11
include/asm-arm/arch-versatile/vmalloc.h
include/asm-arm/arch-versatile/vmalloc.h
+0
-12
include/asm-arm/pgtable.h
include/asm-arm/pgtable.h
+17
-0
No files found.
arch/arm/boot/compressed/head.S
View file @
84e48b6d
...
...
@@ -18,48 +18,30 @@
*
Please
select
one
of
the
following
when
turning
on
debugging
.
*/
#ifdef DEBUG
#if defined(CONFIG_DEBUG_DC21285_PORT)
.
macro
loadsp
,
rb
mov
\
rb
,
#
0x42000000
.
endm
.
macro
writeb
,
rb
str
\
rb
,
[
r3
,
#
0x160
]
.
endm
#elif defined(CONFIG_DEBUG_ICEDCC)
.
macro
loadsp
,
rb
.
endm
.
macro
writeb
,
rb
mcr
p14
,
0
,
\
rb
,
c0
,
c1
,
0
.
endm
#elif defined(CONFIG_FOOTBRIDGE)
.
macro
loadsp
,
rb
mov
\
rb
,
#
0x7c000000
.
endm
.
macro
writeb
,
rb
strb
\
rb
,
[
r3
,
#
0x3f8
]
.
endm
#elif defined(CONFIG_ARCH_RPC)
#include <asm/arch/debug-macro.S>
#if defined(CONFIG_DEBUG_ICEDCC)
.
macro
loadsp
,
rb
mov
\
rb
,
#
0x03000000
orr
\
rb
,
\
rb
,
#
0x00010000
.
endm
.
macro
writeb
,
rb
strb
\
rb
,
[
r3
,
#
0x3f8
<<
2
]
.
endm
#elif defined(CONFIG_ARCH_INTEGRATOR)
.
macro
loadsp
,
rb
mov
\
rb
,
#
0x16000000
.
macro
writeb
,
ch
,
rb
mcr
p14
,
0
,
\
ch
,
c0
,
c1
,
0
.
endm
.
macro
writeb
,
rb
strb
\
rb
,
[
r3
,
#
0
]
#else
.
macro
writeb
,
ch
,
rb
senduart
\
ch
,
\
rb
.
endm
#elif defined(CONFIG_ARCH_PXA) /* Xscale-type */
#if defined(CONFIG_FOOTBRIDGE) || \
defined
(
CONFIG_ARCH_RPC
)
||
\
defined
(
CONFIG_ARCH_INTEGRATOR
)
||
\
defined
(
CONFIG_ARCH_PXA
)
||
\
defined
(
CONFIG_ARCH_IXP4XX
)
||
\
defined
(
CONFIG_ARCH_IXP2000
)
||
\
defined
(
CONFIG_ARCH_LH7A40X
)
||
\
defined
(
CONFIG_ARCH_OMAP
)
.
macro
loadsp
,
rb
mov
\
rb
,
#
0x40000000
orr
\
rb
,
\
rb
,
#
0x00100000
.
endm
.
macro
writeb
,
rb
strb
\
rb
,
[
r3
,
#
0
]
addruart
\
rb
.
endm
#elif defined(CONFIG_ARCH_SA1100)
.
macro
loadsp
,
rb
...
...
@@ -70,64 +52,21 @@
add
\
rb
,
\
rb
,
#
0x00010000
@
Ser1
# endif
.
endm
.
macro
writeb
,
rb
str
\
rb
,
[
r3
,
#
0x14
]
@
UTDR
.
endm
#elif defined(CONFIG_ARCH_IXP4XX)
.
macro
loadsp
,
rb
mov
\
rb
,
#
0xc8000000
.
endm
.
macro
writeb
,
rb
str
\
rb
,
[
r3
,
#
0
]
#elif defined(CONFIG_ARCH_IXP2000)
.
macro
loadsp
,
rb
mov
\
rb
,
#
0xc0000000
orr
\
rb
,
\
rb
,
#
0x00030000
.
endm
.
macro
writeb
,
rb
str
\
rb
,
[
r3
,
#
0
]
.
endm
#elif defined(CONFIG_ARCH_LH7A40X)
.
macro
loadsp
,
rb
ldr
\
rb
,
=
0x80000700
@
UART2
UARTBASE
.
endm
.
macro
writeb
,
rb
strb
\
rb
,
[
r3
,
#
0
]
.
endm
#elif defined(CONFIG_ARCH_OMAP)
.
macro
loadsp
,
rb
mov
\
rb
,
#
0xff000000
@
physical
base
address
add
\
rb
,
\
rb
,
#
0x00fb0000
#if defined(CONFIG_OMAP_LL_DEBUG_UART2) || defined(CONFIG_OMAP_LL_DEBUG_UART3)
add
\
rb
,
\
rb
,
#
0x00000800
#endif
#ifdef CONFIG_OMAP_LL_DEBUG_UART3
add
\
rb
,
\
rb
,
#
0x00009000
#endif
.
endm
.
macro
writeb
,
rb
strb
\
rb
,
[
r3
]
.
endm
#elif defined(CONFIG_ARCH_IOP331)
.
macro
loadsp
,
rb
mov
\
rb
,
#
0xff000000
orr
\
rb
,
\
rb
,
#
0x00ff0000
orr
\
rb
,
\
rb
,
#
0x0000f700
@
location
of
the
UART
.
endm
.
macro
writeb
,
rb
str
\
rb
,
[
r3
,
#
0
]
.
endm
#elif defined(CONFIG_ARCH_S3C2410)
.
macro
loadsp
,
rb
mov
\
rb
,
#
0x50000000
add
\
rb
,
\
rb
,
#
0x4000
*
CONFIG_S3C2410_LOWLEVEL_UART_PORT
.
endm
.
macro
writeb
,
rb
strb
\
rb
,
[
r3
,
#
0x20
]
.
endm
#else
#error no serial architecture defined
#endif
#endif
#endif
.
macro
kputc
,
val
...
...
@@ -734,7 +673,7 @@ puts: loadsp r3
1
:
ldrb
r2
,
[
r0
],
#
1
teq
r2
,
#
0
moveq
pc
,
lr
2
:
writeb
r2
2
:
writeb
r2
,
r3
mov
r1
,
#
0x00020000
3
:
subs
r1
,
r1
,
#
1
bne
3
b
...
...
arch/arm/mach-imx/generic.c
View file @
84e48b6d
...
...
@@ -26,6 +26,7 @@
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <asm/arch/imxfb.h>
#include <asm/hardware.h>
#include <asm/mach/map.h>
...
...
@@ -228,6 +229,14 @@ static struct platform_device imx_uart2_device = {
.
resource
=
imx_uart2_resources
,
};
static
struct
imxfb_mach_info
imx_fb_info
;
void
__init
set_imx_fb_info
(
struct
imxfb_mach_info
*
hard_imx_fb_info
)
{
memcpy
(
&
imx_fb_info
,
hard_imx_fb_info
,
sizeof
(
struct
imxfb_mach_info
));
}
EXPORT_SYMBOL
(
set_imx_fb_info
);
static
struct
resource
imxfb_resources
[]
=
{
[
0
]
=
{
.
start
=
0x00205000
,
...
...
@@ -241,9 +250,16 @@ static struct resource imxfb_resources[] = {
},
};
static
u64
fb_dma_mask
=
~
(
u64
)
0
;
static
struct
platform_device
imxfb_device
=
{
.
name
=
"imx-fb"
,
.
id
=
0
,
.
dev
=
{
.
platform_data
=
&
imx_fb_info
,
.
dma_mask
=
&
fb_dma_mask
,
.
coherent_dma_mask
=
0xffffffff
,
},
.
num_resources
=
ARRAY_SIZE
(
imxfb_resources
),
.
resource
=
imxfb_resources
,
};
...
...
arch/arm/mach-integrator/core.c
View file @
84e48b6d
...
...
@@ -216,7 +216,9 @@ integrator_timer_interrupt(int irq, void *dev_id, struct pt_regs *regs)
write_seqlock
(
&
xtime_lock
);
// ...clear the interrupt
/*
* clear the interrupt
*/
timer1
->
TimerClear
=
1
;
timer_tick
(
regs
);
...
...
arch/arm/mach-integrator/leds.c
View file @
84e48b6d
arch/arm/mm/Kconfig
View file @
84e48b6d
...
...
@@ -413,6 +413,7 @@ config CPU_BPREDICT_DISABLE
config HAS_TLS_REG
bool
depends on CPU_32v6 && !CPU_32v5 && !CPU_32v4 && !CPU_32v3
default y
help
This selects support for the CP15 thread register.
It is defined to be available on ARMv6 or later. However
...
...
drivers/video/cyber2000fb.c
View file @
84e48b6d
...
...
@@ -90,6 +90,8 @@ struct cfb_info {
*/
u_char
ramdac_ctrl
;
u_char
ramdac_powerdown
;
u32
pseudo_palette
[
16
];
};
static
char
*
default_font
=
"Acorn8x8"
;
...
...
@@ -1223,9 +1225,7 @@ cyberpro_alloc_fb_info(unsigned int id, char *name)
{
struct
cfb_info
*
cfb
;
cfb
=
kmalloc
(
sizeof
(
struct
cfb_info
)
+
sizeof
(
u32
)
*
16
,
GFP_KERNEL
);
cfb
=
kmalloc
(
sizeof
(
struct
cfb_info
),
GFP_KERNEL
);
if
(
!
cfb
)
return
NULL
;
...
...
@@ -1281,7 +1281,7 @@ cyberpro_alloc_fb_info(unsigned int id, char *name)
cfb
->
fb
.
fbops
=
&
cyber2000fb_ops
;
cfb
->
fb
.
flags
=
FBINFO_DEFAULT
|
FBINFO_HWACCEL_YPAN
;
cfb
->
fb
.
pseudo_palette
=
(
void
*
)(
cfb
+
1
)
;
cfb
->
fb
.
pseudo_palette
=
cfb
->
pseudo_palette
;
fb_alloc_cmap
(
&
cfb
->
fb
.
cmap
,
NR_PALETTE
,
0
);
...
...
include/asm-arm/arch-cl7500/vmalloc.h
View file @
84e48b6d
/*
* linux/include/asm-arm/arch-cl7500/vmalloc.h
*/
/*
* Just any arbitrary offset to the start of the vmalloc VM area: the
* current 8MB value just means that there will be a 8MB "hole" after the
* physical memory until the kernel virtual memory starts. That means that
* any out-of-bounds memory accesses will hopefully be caught.
* The vmalloc() routines leaves a hole of 4kB between each vmalloced
* area for the same reason. ;)
*/
#define VMALLOC_OFFSET (8*1024*1024)
#define VMALLOC_START (((unsigned long)high_memory + VMALLOC_OFFSET) & ~(VMALLOC_OFFSET-1))
#define VMALLOC_END (PAGE_OFFSET + 0x1c000000)
include/asm-arm/arch-clps711x/vmalloc.h
View file @
84e48b6d
...
...
@@ -17,15 +17,4 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
/*
* Just any arbitrary offset to the start of the vmalloc VM area: the
* current 8MB value just means that there will be a 8MB "hole" after the
* physical memory until the kernel virtual memory starts. That means that
* any out-of-bounds memory accesses will hopefully be caught.
* The vmalloc() routines leaves a hole of 4kB between each vmalloced
* area for the same reason. ;)
*/
#define VMALLOC_OFFSET (8*1024*1024)
#define VMALLOC_START (((unsigned long)high_memory + VMALLOC_OFFSET) & ~(VMALLOC_OFFSET-1))
#define VMALLOC_END (PAGE_OFFSET + 0x10000000)
include/asm-arm/arch-ebsa110/vmalloc.h
View file @
84e48b6d
...
...
@@ -7,15 +7,4 @@
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
/*
* Just any arbitrary offset to the start of the vmalloc VM area: the
* current 8MB value just means that there will be a 8MB "hole" after the
* physical memory until the kernel virtual memory starts. That means that
* any out-of-bounds memory accesses will hopefully be caught.
* The vmalloc() routines leaves a hole of 4kB between each vmalloced
* area for the same reason. ;)
*/
#define VMALLOC_OFFSET (8*1024*1024)
#define VMALLOC_START (((unsigned long)high_memory + VMALLOC_OFFSET) & ~(VMALLOC_OFFSET-1))
#define VMALLOC_END (PAGE_OFFSET + 0x1f000000)
include/asm-arm/arch-ebsa285/vmalloc.h
View file @
84e48b6d
...
...
@@ -8,17 +8,6 @@
#include <linux/config.h>
/*
* Just any arbitrary offset to the start of the vmalloc VM area: the
* current 8MB value just means that there will be a 8MB "hole" after the
* physical memory until the kernel virtual memory starts. That means that
* any out-of-bounds memory accesses will hopefully be caught.
* The vmalloc() routines leaves a hole of 4kB between each vmalloced
* area for the same reason. ;)
*/
#define VMALLOC_OFFSET (8*1024*1024)
#define VMALLOC_START (((unsigned long)high_memory + VMALLOC_OFFSET) & ~(VMALLOC_OFFSET-1))
#ifdef CONFIG_ARCH_FOOTBRIDGE
#define VMALLOC_END (PAGE_OFFSET + 0x30000000)
#else
...
...
include/asm-arm/arch-epxa10db/vmalloc.h
View file @
84e48b6d
...
...
@@ -17,15 +17,4 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
/*
* Just any arbitrary offset to the start of the vmalloc VM area: the
* current 8MB value just means that there will be a 8MB "hole" after the
* physical memory until the kernel virtual memory starts. That means that
* any out-of-bounds memory accesses will hopefully be caught.
* The vmalloc() routines leaves a hole of 4kB between each vmalloced
* area for the same reason. ;)
*/
#define VMALLOC_OFFSET (8*1024*1024)
#define VMALLOC_START (((unsigned long)high_memory + VMALLOC_OFFSET) & ~(VMALLOC_OFFSET-1))
#define VMALLOC_END (PAGE_OFFSET + 0x10000000)
include/asm-arm/arch-h720x/vmalloc.h
View file @
84e48b6d
...
...
@@ -5,17 +5,6 @@
#ifndef __ARCH_ARM_VMALLOC_H
#define __ARCH_ARM_VMALLOC_H
/*
* Just any arbitrary offset to the start of the vmalloc VM area: the
* current 8MB value just means that there will be a 8MB "hole" after the
* physical memory until the kernel virtual memory starts. That means that
* any out-of-bounds memory accesses will hopefully be caught.
* The vmalloc() routines leaves a hole of 4kB between each vmalloced
* area for the same reason. ;)
*/
#define VMALLOC_OFFSET (8*1024*1024)
#define VMALLOC_START (((unsigned long)high_memory + VMALLOC_OFFSET) & ~(VMALLOC_OFFSET-1))
#define VMALLOC_VMADDR(x) ((unsigned long)(x))
#define VMALLOC_END (PAGE_OFFSET + 0x10000000)
#endif
include/asm-arm/arch-imx/vmalloc.h
View file @
84e48b6d
...
...
@@ -17,16 +17,4 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
/*
* Just any arbitrary offset to the start of the vmalloc VM area: the
* current 8MB value just means that there will be a 8MB "hole" after the
* physical memory until the kernel virtual memory starts. That means that
* any out-of-bounds memory accesses will hopefully be caught.
* The vmalloc() routines leaves a hole of 4kB between each vmalloced
* area for the same reason. ;)
*/
#define VMALLOC_OFFSET (8*1024*1024)
#define VMALLOC_START (((unsigned long)high_memory + VMALLOC_OFFSET) & ~(VMALLOC_OFFSET-1))
#define VMALLOC_VMADDR(x) ((unsigned long)(x))
#define VMALLOC_END (PAGE_OFFSET + 0x10000000)
include/asm-arm/arch-integrator/platform.h
View file @
84e48b6d
include/asm-arm/arch-integrator/vmalloc.h
View file @
84e48b6d
...
...
@@ -17,15 +17,4 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
/*
* Just any arbitrary offset to the start of the vmalloc VM area: the
* current 8MB value just means that there will be a 8MB "hole" after the
* physical memory until the kernel virtual memory starts. That means that
* any out-of-bounds memory accesses will hopefully be caught.
* The vmalloc() routines leaves a hole of 4kB between each vmalloced
* area for the same reason. ;)
*/
#define VMALLOC_OFFSET (8*1024*1024)
#define VMALLOC_START (((unsigned long)high_memory + VMALLOC_OFFSET) & ~(VMALLOC_OFFSET-1))
#define VMALLOC_END (PAGE_OFFSET + 0x10000000)
include/asm-arm/arch-iop3xx/vmalloc.h
View file @
84e48b6d
...
...
@@ -10,9 +10,6 @@
* The vmalloc() routines leaves a hole of 4kB between each vmalloced
* area for the same reason. ;)
*/
#define VMALLOC_OFFSET (8*1024*1024)
#define VMALLOC_START (((unsigned long)high_memory + VMALLOC_OFFSET) & ~(VMALLOC_OFFSET-1))
#define VMALLOC_VMADDR(x) ((unsigned long)(x))
//#define VMALLOC_END (0xe8000000)
/* increase usable physical RAM to ~992M per RMK */
#define VMALLOC_END (0xfe000000)
...
...
include/asm-arm/arch-ixp2000/vmalloc.h
View file @
84e48b6d
...
...
@@ -17,7 +17,4 @@
* The vmalloc() routines leaves a hole of 4kB between each vmalloced
* area for the same reason. ;)
*/
#define VMALLOC_OFFSET (8*1024*1024)
#define VMALLOC_START (((unsigned long)high_memory + VMALLOC_OFFSET) & ~(VMALLOC_OFFSET-1))
#define VMALLOC_VMADDR(x) ((unsigned long)(x))
#define VMALLOC_END 0xfaffefff
include/asm-arm/arch-ixp4xx/vmalloc.h
View file @
84e48b6d
/*
* linux/include/asm-arm/arch-ixp4xx/vmalloc.h
*/
/*
* Just any arbitrary offset to the start of the vmalloc VM area: the
* current 8MB value just means that there will be a 8MB "hole" after the
* physical memory until the kernel virtual memory starts. That means that
* any out-of-bounds memory accesses will hopefully be caught.
* The vmalloc() routines leaves a hole of 4kB between each vmalloced
* area for the same reason. ;)
*/
#define VMALLOC_OFFSET (8*1024*1024)
#define VMALLOC_START (((unsigned long)high_memory + VMALLOC_OFFSET) & ~(VMALLOC_OFFSET-1))
#define VMALLOC_VMADDR(x) ((unsigned long)(x))
#define VMALLOC_END (0xFF000000)
include/asm-arm/arch-l7200/vmalloc.h
View file @
84e48b6d
/*
* linux/include/asm-arm/arch-l7200/vmalloc.h
*/
/*
* Just any arbitrary offset to the start of the vmalloc VM area: the
* current 8MB value just means that there will be a 8MB "hole" after the
* physical memory until the kernel virtual memory starts. That means that
* any out-of-bounds memory accesses will hopefully be caught.
* The vmalloc() routines leaves a hole of 4kB between each vmalloced
* area for the same reason. ;)
*/
#define VMALLOC_OFFSET (8*1024*1024)
#define VMALLOC_START (((unsigned long)high_memory + VMALLOC_OFFSET) & ~(VMALLOC_OFFSET-1))
#define VMALLOC_END (PAGE_OFFSET + 0x10000000)
include/asm-arm/arch-lh7a40x/vmalloc.h
View file @
84e48b6d
...
...
@@ -7,15 +7,4 @@
* version 2 as published by the Free Software Foundation.
*
*/
/*
* Just any arbitrary offset to the start of the vmalloc VM area: the
* current 8MB value just means that there will be a 8MB "hole" after
* the physical memory until the kernel virtual memory starts. That
* means that any out-of-bounds memory accesses will hopefully be
* caught. The vmalloc() routines leaves a hole of 4kB (one page)
* between each vmalloced area for the same reason. ;)
*/
#define VMALLOC_OFFSET (8*1024*1024)
#define VMALLOC_START (((unsigned long)high_memory + VMALLOC_OFFSET) & ~(VMALLOC_OFFSET-1))
#define VMALLOC_END (0xe8000000)
include/asm-arm/arch-omap/vmalloc.h
View file @
84e48b6d
...
...
@@ -17,17 +17,5 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
/*
* Just any arbitrary offset to the start of the vmalloc VM area: the
* current 8MB value just means that there will be a 8MB "hole" after the
* physical memory until the kernel virtual memory starts. That means that
* any out-of-bounds memory accesses will hopefully be caught.
* The vmalloc() routines leaves a hole of 4kB between each vmalloced
* area for the same reason. ;)
*/
#define VMALLOC_OFFSET (8*1024*1024)
#define VMALLOC_START (((unsigned long)high_memory + VMALLOC_OFFSET) & ~(VMALLOC_OFFSET-1))
#define VMALLOC_VMADDR(x) ((unsigned long)(x))
#define VMALLOC_END (PAGE_OFFSET + 0x10000000)
include/asm-arm/arch-pxa/vmalloc.h
View file @
84e48b6d
...
...
@@ -8,15 +8,4 @@
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
/*
* Just any arbitrary offset to the start of the vmalloc VM area: the
* current 8MB value just means that there will be a 8MB "hole" after the
* physical memory until the kernel virtual memory starts. That means that
* any out-of-bounds memory accesses will hopefully be caught.
* The vmalloc() routines leaves a hole of 4kB between each vmalloced
* area for the same reason. ;)
*/
#define VMALLOC_OFFSET (8*1024*1024)
#define VMALLOC_START (((unsigned long)high_memory + VMALLOC_OFFSET) & ~(VMALLOC_OFFSET-1))
#define VMALLOC_END (0xe8000000)
include/asm-arm/arch-rpc/vmalloc.h
View file @
84e48b6d
...
...
@@ -7,15 +7,4 @@
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
/*
* Just any arbitrary offset to the start of the vmalloc VM area: the
* current 8MB value just means that there will be a 8MB "hole" after the
* physical memory until the kernel virtual memory starts. That means that
* any out-of-bounds memory accesses will hopefully be caught.
* The vmalloc() routines leaves a hole of 4kB between each vmalloced
* area for the same reason. ;)
*/
#define VMALLOC_OFFSET (8*1024*1024)
#define VMALLOC_START (((unsigned long)high_memory + VMALLOC_OFFSET) & ~(VMALLOC_OFFSET-1))
#define VMALLOC_END (PAGE_OFFSET + 0x1c000000)
include/asm-arm/arch-s3c2410/vmalloc.h
View file @
84e48b6d
...
...
@@ -19,18 +19,6 @@
#ifndef __ASM_ARCH_VMALLOC_H
#define __ASM_ARCH_VMALLOC_H
/*
* Just any arbitrary offset to the start of the vmalloc VM area: the
* current 8MB value just means that there will be a 8MB "hole" after the
* physical memory until the kernel virtual memory starts. That means that
* any out-of-bounds memory accesses will hopefully be caught.
* The vmalloc() routines leaves a hole of 4kB between each vmalloced
* area for the same reason. ;)
*/
#define VMALLOC_OFFSET (8*1024*1024)
#define VMALLOC_START (((unsigned long)high_memory + VMALLOC_OFFSET) & ~(VMALLOC_OFFSET-1))
#define VMALLOC_VMADDR(x) ((unsigned long)(x))
#define VMALLOC_END (0xE0000000)
#endif
/* __ASM_ARCH_VMALLOC_H */
include/asm-arm/arch-sa1100/vmalloc.h
View file @
84e48b6d
/*
* linux/include/asm-arm/arch-sa1100/vmalloc.h
*/
/*
* Just any arbitrary offset to the start of the vmalloc VM area: the
* current 8MB value just means that there will be a 8MB "hole" after the
* physical memory until the kernel virtual memory starts. That means that
* any out-of-bounds memory accesses will hopefully be caught.
* The vmalloc() routines leaves a hole of 4kB between each vmalloced
* area for the same reason. ;)
*/
#define VMALLOC_OFFSET (8*1024*1024)
#define VMALLOC_START (((unsigned long)high_memory + VMALLOC_OFFSET) & ~(VMALLOC_OFFSET-1))
#define VMALLOC_END (0xe8000000)
include/asm-arm/arch-shark/vmalloc.h
View file @
84e48b6d
/*
* linux/include/asm-arm/arch-rpc/vmalloc.h
*/
/*
* Just any arbitrary offset to the start of the vmalloc VM area: the
* current 8MB value just means that there will be a 8MB "hole" after the
* physical memory until the kernel virtual memory starts. That means that
* any out-of-bounds memory accesses will hopefully be caught.
* The vmalloc() routines leaves a hole of 4kB between each vmalloced
* area for the same reason. ;)
*/
#define VMALLOC_OFFSET (8*1024*1024)
#define VMALLOC_START (((unsigned long)high_memory + VMALLOC_OFFSET) & ~(VMALLOC_OFFSET-1))
#define VMALLOC_END (PAGE_OFFSET + 0x10000000)
include/asm-arm/arch-versatile/vmalloc.h
View file @
84e48b6d
...
...
@@ -18,16 +18,4 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
/*
* Just any arbitrary offset to the start of the vmalloc VM area: the
* current 8MB value just means that there will be a 8MB "hole" after the
* physical memory until the kernel virtual memory starts. That means that
* any out-of-bounds memory accesses will hopefully be caught.
* The vmalloc() routines leaves a hole of 4kB between each vmalloced
* area for the same reason. ;)
*/
#define VMALLOC_OFFSET (8*1024*1024)
#define VMALLOC_START (((unsigned long)high_memory + VMALLOC_OFFSET) & ~(VMALLOC_OFFSET-1))
#define VMALLOC_VMADDR(x) ((unsigned long)(x))
#define VMALLOC_END (PAGE_OFFSET + 0x18000000)
include/asm-arm/pgtable.h
View file @
84e48b6d
...
...
@@ -16,6 +16,23 @@
#include <asm/proc-fns.h>
#include <asm/arch/vmalloc.h>
/*
* Just any arbitrary offset to the start of the vmalloc VM area: the
* current 8MB value just means that there will be a 8MB "hole" after the
* physical memory until the kernel virtual memory starts. That means that
* any out-of-bounds memory accesses will hopefully be caught.
* The vmalloc() routines leaves a hole of 4kB between each vmalloced
* area for the same reason. ;)
*
* Note that platforms may override VMALLOC_START, but they must provide
* VMALLOC_END. VMALLOC_END defines the (exclusive) limit of this space,
* which may not overlap IO space.
*/
#ifndef VMALLOC_START
#define VMALLOC_OFFSET (8*1024*1024)
#define VMALLOC_START (((unsigned long)high_memory + VMALLOC_OFFSET) & ~(VMALLOC_OFFSET-1))
#endif
/*
* Hardware-wise, we have a two level page table structure, where the first
* level has 4096 entries, and the second level has 256 entries. Each entry
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment