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
7bd4f8b4
Commit
7bd4f8b4
authored
Nov 13, 2002
by
David Mosberger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ia64: Make it easier to set a breakpoint in the Ski simulator right before
starting the kernel (based on patch by Peter Chubb).
parent
4a39048c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
arch/ia64/boot/bootloader.c
arch/ia64/boot/bootloader.c
+10
-0
No files found.
arch/ia64/boot/bootloader.c
View file @
7bd4f8b4
...
...
@@ -53,6 +53,15 @@ struct disk_stat {
#include "../kernel/fw-emu.c"
/*
* Set a break point on this function so that symbols are available to set breakpoints in
* the kernel being debugged.
*/
static
void
debug_break
(
void
)
{
}
static
void
cons_write
(
const
char
*
buf
)
{
...
...
@@ -187,6 +196,7 @@ _start (void)
ssc
(
0
,
(
long
)
kpath
,
0
,
0
,
SSC_LOAD_SYMBOLS
);
debug_break
();
asm
volatile
(
"mov sp=%2; mov r28=%1; br.sptk.few %0"
::
"b"
(
e_entry
),
"r"
(
bp
),
"r"
(
__pa
(
&
stack
)));
...
...
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