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
67e6a076
Commit
67e6a076
authored
Jul 09, 2002
by
Russell King
Browse files
Options
Browse Files
Download
Plain Diff
Merge
http://linux.bkbits.net/linux-2.5
into flint.arm.linux.org.uk:/usr/src/linux-bk-2.5/linux-2.5-rmk
parents
a321a55f
3ad2aa01
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
3 deletions
+12
-3
arch/arm/kernel/entry-armv.S
arch/arm/kernel/entry-armv.S
+2
-2
arch/arm/kernel/signal.c
arch/arm/kernel/signal.c
+1
-1
include/asm-arm/proc-armv/ptrace.h
include/asm-arm/proc-armv/ptrace.h
+9
-0
No files found.
arch/arm/kernel/entry-armv.S
View file @
67e6a076
...
...
@@ -712,7 +712,6 @@ __dabt_svc: sub sp, sp, #S_FRAME_SIZE
mrs
r9
,
cpsr
@
Enable
interrupts
if
they
were
tst
r3
,
#
PSR_I_BIT
biceq
r9
,
r9
,
#
PSR_I_BIT
@
previously
mov
r0
,
r2
@
***
remove
once
everyones
in
sync
/*
*
This
routine
must
not
corrupt
r9
*/
...
...
@@ -855,7 +854,6 @@ __dabt_usr: sub sp, sp, #S_FRAME_SIZE @ Allocate frame size in one go
stmdb
r5
,
{
sp
,
lr
}^
alignment_trap
r7
,
r7
,
__temp_abt
zero_fp
mov
r0
,
r2
@
remove
once
everyones
in
sync
#ifdef MULTI_ABORT
ldr
r4
,
.
LCprocfns
@
pass
r0
,
r3
to
mov
lr
,
pc
@
processor
code
...
...
@@ -913,6 +911,8 @@ __und_usr: sub sp, sp, #S_FRAME_SIZE @ Allocate frame size in one go
stmdb
r8
,
{
sp
,
lr
}^
@
Save
user
sp
,
lr
alignment_trap
r4
,
r7
,
__temp_und
zero_fp
tst
r6
,
#
PSR_T_BIT
@
Thumb
mode
?
bne
fpundefinstr
adrsvc
al
,
r9
,
ret_from_exception
@
r9
=
normal
FP
return
adrsvc
al
,
lr
,
fpundefinstr
@
lr
=
undefined
instr
return
...
...
arch/arm/kernel/signal.c
View file @
67e6a076
...
...
@@ -325,7 +325,7 @@ setup_return(struct pt_regs *regs, struct k_sigaction *ka,
unsigned
long
retcode
;
int
thumb
=
0
;
#ifdef CONFIG_CPU_32
unsigned
long
cpsr
=
regs
->
ARM_cpsr
;
unsigned
long
cpsr
=
regs
->
ARM_cpsr
&
~
PSR_f
;
/*
* Maybe we need to deliver a 32-bit signal to a 26-bit task.
...
...
include/asm-arm/proc-armv/ptrace.h
View file @
67e6a076
...
...
@@ -32,12 +32,21 @@
#define PSR_F_BIT 0x00000040
#define PSR_I_BIT 0x00000080
#define PSR_J_BIT 0x01000000
#define PSR_Q_BIT 0x08000000
#define PSR_V_BIT 0x10000000
#define PSR_C_BIT 0x20000000
#define PSR_Z_BIT 0x40000000
#define PSR_N_BIT 0x80000000
#define PCMASK 0
/*
* Groups of PSR bits
*/
#define PSR_f 0xff000000
/* Flags */
#define PSR_s 0x00ff0000
/* Status */
#define PSR_x 0x0000ff00
/* Extension */
#define PSR_c 0x000000ff
/* Control */
/*
* CR1 bits
*/
...
...
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