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
2181c194
Commit
2181c194
authored
May 16, 2003
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Plain Diff
Merge
bk://kernel.bkbits.net/davem/net-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux
parents
9a3bc4fd
23d2f992
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
4 deletions
+17
-4
arch/i386/kernel/entry.S
arch/i386/kernel/entry.S
+17
-4
No files found.
arch/i386/kernel/entry.S
View file @
2181c194
...
...
@@ -497,13 +497,19 @@ debug_stack_correct:
pushl
$do_debug
jmp
error_code
/*
*
NMI
is
doubly
nasty
.
It
can
happen
_while_
we
're handling
*
a
debug
fault
,
and
the
debug
fault
hasn
't yet been able to
*
clear
up
the
stack
.
So
we
first
check
whether
we
got
an
*
NMI
on
the
sysenter
entry
path
,
but
after
that
we
need
to
*
check
whether
we
got
an
NMI
on
the
debug
path
where
the
debug
*
fault
happened
on
the
sysenter
path
.
*/
ENTRY
(
nmi
)
cmpl
$sysenter_entry
,(%
esp
)
je
nmi_stack_fixup
cmpl
$debug
-
1
,(%
esp
)
jle
nmi_stack_correct
cmpl
$debug_esp_fix_insn
,(%
esp
)
jle
nmi_debug_stack_fixup
cmpl
$sysenter_entry
,
12
(%
esp
)
je
nmi_debug_stack_check
nmi_stack_correct
:
pushl
%
eax
SAVE_ALL
...
...
@@ -517,6 +523,13 @@ nmi_stack_correct:
nmi_stack_fixup
:
FIX_STACK
(12,
nmi_stack_correct
,
1
)
jmp
nmi_stack_correct
nmi_debug_stack_check
:
cmpw
$
__KERNEL_CS
,
16
(%
esp
)
jne
nmi_stack_correct
cmpl
$debug
-
1
,(%
esp
)
jle
nmi_stack_correct
cmpl
$debug_esp_fix_insn
,(%
esp
)
jle
nmi_debug_stack_fixup
nmi_debug_stack_fixup
:
FIX_STACK
(24,
nmi_stack_correct
,
1
)
jmp
nmi_stack_correct
...
...
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