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
25439a10
Commit
25439a10
authored
Apr 23, 2002
by
David Mosberger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ia64: Send SIGILL for break operands in range 0x3f000 to 0x3ffff to
simplify dynamic bundle patching.
parent
34f5a2a8
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
arch/ia64/kernel/traps.c
arch/ia64/kernel/traps.c
+4
-0
include/asm-ia64/siginfo.h
include/asm-ia64/siginfo.h
+2
-1
No files found.
arch/ia64/kernel/traps.c
View file @
25439a10
...
@@ -186,6 +186,10 @@ ia64_bad_break (unsigned long break_num, struct pt_regs *regs)
...
@@ -186,6 +186,10 @@ ia64_bad_break (unsigned long break_num, struct pt_regs *regs)
sig
=
SIGSEGV
;
code
=
__SEGV_PSTKOVF
;
sig
=
SIGSEGV
;
code
=
__SEGV_PSTKOVF
;
break
;
break
;
case
0x3f000
...
0x3ffff
:
/* bundle-update in progress */
sig
=
SIGILL
;
code
=
__ILL_BNDMOD
;
break
;
default:
default:
if
(
break_num
<
0x40000
||
break_num
>
0x100000
)
if
(
break_num
<
0x40000
||
break_num
>
0x100000
)
die_if_kernel
(
"Bad break"
,
regs
,
break_num
);
die_if_kernel
(
"Bad break"
,
regs
,
break_num
);
...
...
include/asm-ia64/siginfo.h
View file @
25439a10
...
@@ -154,7 +154,8 @@ typedef struct siginfo {
...
@@ -154,7 +154,8 @@ typedef struct siginfo {
#define ILL_BADSTK (__SI_FAULT|8)
/* internal stack error */
#define ILL_BADSTK (__SI_FAULT|8)
/* internal stack error */
#define ILL_BADIADDR (__SI_FAULT|9)
/* unimplemented instruction address */
#define ILL_BADIADDR (__SI_FAULT|9)
/* unimplemented instruction address */
#define __ILL_BREAK (__SI_FAULT|10)
/* illegal break */
#define __ILL_BREAK (__SI_FAULT|10)
/* illegal break */
#define NSIGILL 10
#define __ILL_BNDMOD (__SI_FAULT|11)
/* bundle-update (modification) in progress */
#define NSIGILL 11
/*
/*
* SIGFPE si_codes
* SIGFPE si_codes
...
...
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