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
124bd47d
Commit
124bd47d
authored
Sep 05, 2004
by
Dave Jiang
Committed by
Russell King
Sep 05, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ARM PATCH] 2035/1: 2033/3 - IOP3xx patch submission (3/6)
Patch from Dave Jiang arch/arm/kernel changes
parent
66fd03e1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
43 additions
and
2 deletions
+43
-2
arch/arm/kernel/debug.S
arch/arm/kernel/debug.S
+10
-2
arch/arm/kernel/entry-armv.S
arch/arm/kernel/entry-armv.S
+33
-0
No files found.
arch/arm/kernel/debug.S
View file @
124bd47d
...
...
@@ -411,8 +411,16 @@
.
macro
addruart
,
rx
mov
\
rx
,
#
0xfe000000
@
physical
#if defined(CONFIG_ARCH_IQ80321)
#if defined(CONFIG_ARCH_IQ80321)
|| defined(CONFIG_ARCH_IQ31244)
orr
\
rx
,
\
rx
,
#
0x00800000
@
location
of
the
UART
#elif defined(CONFIG_ARCH_IOP331)
mrc
p15
,
0
,
\
rx
,
c1
,
c0
tst
\
rx
,
#
1
@
MMU
enabled
?
moveq
\
rx
,
#
0x000fe000
@
Physical
Base
movne
\
rx
,
#
0
orr
\
rx
,
\
rx
,
#
0xfe000000
orr
\
rx
,
\
rx
,
#
0x00f00000
@
Virtual
Base
orr
\
rx
,
\
rx
,
#
0x00001700
@
location
of
the
UART
#else
#error Unknown IOP3XX implementation
#endif
...
...
@@ -430,7 +438,7 @@
.
endm
.
macro
waituart
,
rd
,
rx
#if
ndef CONFIG_ARCH_IQ80321
#if
!defined(CONFIG_ARCH_IQ80321) || !defined(CONFIG_ARCH_IQ31244) || !defined(CONFIG_ARCH_IQ80331)
1001
:
ldrb
\
rd
,
[
\
rx
,
#
0x6
]
tst
\
rd
,
#
0x10
beq
1001
b
...
...
arch/arm/kernel/entry-armv.S
View file @
124bd47d
...
...
@@ -584,6 +584,39 @@ ENTRY(soft_irq_mask)
.
macro
irq_prio_table
.
endm
#elif defined(CONFIG_ARCH_IOP331)
.
macro
disable_fiq
.
endm
/
*
*
Note
:
only
deal
with
normal
interrupts
,
not
FIQ
*/
.
macro
get_irqnr_and_base
,
irqnr
,
irqstat
,
base
,
tmp
mov
\
irqnr
,
#
0
mrc
p6
,
0
,
\
irqstat
,
c4
,
c0
,
0
@
Read
IINTSRC0
cmp
\
irqstat
,
#
0
bne
1002
f
mrc
p6
,
0
,
\
irqstat
,
c5
,
c0
,
0
@
Read
IINTSRC1
cmp
\
irqstat
,
#
0
beq
1001
f
clz
\
irqnr
,
\
irqstat
/*
*
mov
\
base
,
#
31
*
subs
\
irqnr
,
\
base
,
\
irqnr
*/
rsbs
\
irqnr
,
\
irqnr
,#
31
@
recommend
by
RMK
add
\
irqnr
,
\
irqnr
,#
IRQ_IOP331_XINT8
b
1001
f
1002
:
clz
\
irqnr
,
\
irqstat
mov
\
base
,
#
31
subs
\
irqnr
,
\
base
,
\
irqnr
add
\
irqnr
,
\
irqnr
,#
IRQ_IOP331_DMA0_EOT
1001
:
.
endm
.
macro
irq_prio_table
.
endm
#elif defined(CONFIG_ARCH_PXA)
.
macro
disable_fiq
...
...
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