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
nexedi
linux
Commits
12a11c1b
Commit
12a11c1b
authored
Aug 04, 2003
by
Richard Henderson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ALPHA] Disable Wildfire, Titan, Marvel if !LEGACY_START_ADDRESS.
From Jay Estabrook <Jay.Estabrook@compaq.com>.
parent
758c0cda
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
35 additions
and
9 deletions
+35
-9
arch/alpha/Kconfig
arch/alpha/Kconfig
+10
-1
arch/alpha/kernel/Makefile
arch/alpha/kernel/Makefile
+11
-7
include/asm-alpha/irq.h
include/asm-alpha/irq.h
+14
-1
No files found.
arch/alpha/Kconfig
View file @
12a11c1b
...
@@ -693,9 +693,13 @@ menu "Kernel hacking"
...
@@ -693,9 +693,13 @@ menu "Kernel hacking"
config ALPHA_LEGACY_START_ADDRESS
config ALPHA_LEGACY_START_ADDRESS
bool "Legacy kernel start address"
bool "Legacy kernel start address"
depends on ALPHA_GENERIC
default n
---help---
---help---
The 2.4 kernel changed the kernel start address from 0x310000
The 2.4 kernel changed the kernel start address from 0x310000
to 0x810000 to make room for the Wildfire's larger SRM console.
to 0x810000 to make room for the Wildfire's larger SRM console.
Recent consoles on Titan and Marvel machines also require the
extra room.
If you're using aboot 0.7 or later, the bootloader will examine the
If you're using aboot 0.7 or later, the bootloader will examine the
ELF headers to determine where to transfer control. Unfortunately,
ELF headers to determine where to transfer control. Unfortunately,
...
@@ -704,7 +708,12 @@ config ALPHA_LEGACY_START_ADDRESS
...
@@ -704,7 +708,12 @@ config ALPHA_LEGACY_START_ADDRESS
hard lockup.
hard lockup.
Say Y if you have a broken bootloader. Say N if you do not, or if
Say Y if you have a broken bootloader. Say N if you do not, or if
you wish to run on Wildfire.
you wish to run on Wildfire, Titan, or Marvel.
config ALPHA_LEGACY_START_ADDRESS
bool
depends on !ALPHA_GENERIC && !ALPHA_TITAN && !ALPHA_MARVEL && !ALPHA_WILDFIRE
default y
config DEBUG_KERNEL
config DEBUG_KERNEL
bool "Kernel debugging"
bool "Kernel debugging"
...
...
arch/alpha/kernel/Makefile
View file @
12a11c1b
...
@@ -19,17 +19,21 @@ obj-$(CONFIG_MODULES) += module.o
...
@@ -19,17 +19,21 @@ obj-$(CONFIG_MODULES) += module.o
ifdef
CONFIG_ALPHA_GENERIC
ifdef
CONFIG_ALPHA_GENERIC
obj-y
+=
core_apecs.o core_cia.o core_irongate.o core_lca.o
\
obj-y
+=
core_apecs.o core_cia.o core_irongate.o core_lca.o
\
core_m
arvel.o core_m
cpcia.o core_polaris.o core_t2.o
\
core_mcpcia.o core_polaris.o core_t2.o
\
core_tsunami.o
core_titan.o core_wildfire.o
core_tsunami.o
obj-y
+=
sys_alcor.o sys_cabriolet.o sys_dp264.o sys_eb64p.o sys_eiger.o
\
obj-y
+=
sys_alcor.o sys_cabriolet.o sys_dp264.o sys_eb64p.o sys_eiger.o
\
sys_jensen.o sys_m
arvel.o sys_m
iata.o sys_mikasa.o sys_nautilus.o
\
sys_jensen.o sys_miata.o sys_mikasa.o sys_nautilus.o
\
sys_
titan.o sys_
noritake.o sys_rawhide.o sys_ruffian.o sys_rx164.o
\
sys_noritake.o sys_rawhide.o sys_ruffian.o sys_rx164.o
\
sys_sable.o sys_sio.o sys_sx164.o sys_takara.o
sys_wildfire.o
sys_sable.o sys_sio.o sys_sx164.o sys_takara.o
obj-y
+=
irq_pyxis.o irq_i8259.o irq_srm.o
ifndef
CONFIG_ALPHA_LEGACY_START_ADDRESS
obj-y
+=
core_marvel.o core_titan.o core_wildfire.o
obj-y
+=
sys_marvel.o sys_titan.o sys_wildfire.o
obj-y
+=
err_ev7.o err_titan.o err_marvel.o
endif
obj-y
+=
err_titan.o err_marvel
.o
obj-y
+=
irq_pyxis.o irq_i8259.o irq_srm
.o
obj-y
+=
es1888.o smc37c669.o smc37c93x.o ns87312.o gct.o
obj-y
+=
es1888.o smc37c669.o smc37c93x.o ns87312.o gct.o
...
...
include/asm-alpha/irq.h
View file @
12a11c1b
...
@@ -16,7 +16,20 @@
...
@@ -16,7 +16,20 @@
many places throughout the kernel to size static arrays. That's ok,
many places throughout the kernel to size static arrays. That's ok,
we'll use alpha_mv.nr_irqs when we want the real thing. */
we'll use alpha_mv.nr_irqs when we want the real thing. */
# define NR_IRQS (32768 + 16)
/* marvel - 32 pids*/
/* When LEGACY_START_ADDRESS is selected, we leave out:
TITAN
WILDFIRE
MARVEL
This helps keep the kernel object size reasonable for the majority
of machines.
*/
# if defined(CONFIG_ALPHA_LEGACY_START_ADDRESS)
# define NR_IRQS (128)
/* max is RAWHIDE/TAKARA */
# else
# define NR_IRQS (32768 + 16)
/* marvel - 32 pids */
# endif
#elif defined(CONFIG_ALPHA_CABRIOLET) || \
#elif defined(CONFIG_ALPHA_CABRIOLET) || \
defined(CONFIG_ALPHA_EB66P) || \
defined(CONFIG_ALPHA_EB66P) || \
...
...
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