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
56874e74
Commit
56874e74
authored
Aug 15, 2003
by
Richard Henderson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ALPHA] Disable some printks in bootp.
From Jay Estabrook <Jay.Estabrook@compaq.com>.
parent
1377e026
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
1 deletion
+20
-1
arch/alpha/boot/bootpz.c
arch/alpha/boot/bootpz.c
+20
-1
No files found.
arch/alpha/boot/bootpz.c
View file @
56874e74
...
@@ -29,8 +29,17 @@
...
@@ -29,8 +29,17 @@
/* FIXME FIXME FIXME */
/* FIXME FIXME FIXME */
/*
WARNING NOTE
It is very possible that turning on additional messages may cause
kernel image corruption due to stack usage to do the printing.
*/
#undef DEBUG_CHECK_RANGE
#undef DEBUG_CHECK_RANGE
#define DEBUG_ADDRESSES
#undef DEBUG_ADDRESSES
#undef DEBUG_LAST_STEPS
#define DEBUG_SP(x) \
#define DEBUG_SP(x) \
{register long sp asm("30"); srm_printk("%s (sp=%lx)\n", x, sp);}
{register long sp asm("30"); srm_printk("%s (sp=%lx)\n", x, sp);}
...
@@ -433,15 +442,25 @@ start_kernel(void)
...
@@ -433,15 +442,25 @@ start_kernel(void)
}
}
/* Clear the zero page, then move the argument list in. */
/* Clear the zero page, then move the argument list in. */
#ifdef DEBUG_LAST_STEPS
srm_printk
(
"Preparing ZERO_PGE...
\n
"
);
#endif
memset
((
char
*
)
ZERO_PGE
,
0
,
PAGE_SIZE
);
memset
((
char
*
)
ZERO_PGE
,
0
,
PAGE_SIZE
);
strcpy
((
char
*
)
ZERO_PGE
,
envval
);
strcpy
((
char
*
)
ZERO_PGE
,
envval
);
#ifdef INITRD_IMAGE_SIZE
#ifdef INITRD_IMAGE_SIZE
#ifdef DEBUG_LAST_STEPS
srm_printk
(
"Preparing INITRD info...
\n
"
);
#endif
/* Finally, set the INITRD paramenters for the kernel. */
/* Finally, set the INITRD paramenters for the kernel. */
((
long
*
)(
ZERO_PGE
+
256
))[
0
]
=
initrd_image_start
;
((
long
*
)(
ZERO_PGE
+
256
))[
0
]
=
initrd_image_start
;
((
long
*
)(
ZERO_PGE
+
256
))[
1
]
=
INITRD_IMAGE_SIZE
;
((
long
*
)(
ZERO_PGE
+
256
))[
1
]
=
INITRD_IMAGE_SIZE
;
#endif
/* INITRD_IMAGE_SIZE */
#endif
/* INITRD_IMAGE_SIZE */
#ifdef DEBUG_LAST_STEPS
srm_printk
(
"Doing 'runkernel()'...
\n
"
);
#endif
runkernel
();
runkernel
();
}
}
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