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
d5791008
Commit
d5791008
authored
Nov 08, 2002
by
Paul Mackerras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
PPC32: Increase max kernel size in boot wrapper, fix compile warnings
parent
8588e951
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
8 additions
and
6 deletions
+8
-6
arch/ppc/boot/common/misc-common.c
arch/ppc/boot/common/misc-common.c
+1
-0
arch/ppc/boot/include/nonstdio.h
arch/ppc/boot/include/nonstdio.h
+0
-3
arch/ppc/boot/openfirmware/chrpmain.c
arch/ppc/boot/openfirmware/chrpmain.c
+2
-1
arch/ppc/boot/openfirmware/coffmain.c
arch/ppc/boot/openfirmware/coffmain.c
+2
-1
arch/ppc/boot/openfirmware/common.c
arch/ppc/boot/openfirmware/common.c
+1
-0
arch/ppc/boot/openfirmware/newworldmain.c
arch/ppc/boot/openfirmware/newworldmain.c
+2
-1
No files found.
arch/ppc/boot/common/misc-common.c
View file @
d5791008
...
@@ -33,6 +33,7 @@
...
@@ -33,6 +33,7 @@
#include <stdarg.h>
/* for va_ bits */
#include <stdarg.h>
/* for va_ bits */
#include <linux/config.h>
#include <linux/config.h>
#include <linux/string.h>
#include "zlib.h"
#include "zlib.h"
#include "nonstdio.h"
#include "nonstdio.h"
...
...
arch/ppc/boot/include/nonstdio.h
View file @
d5791008
...
@@ -21,12 +21,9 @@ extern FILE *stdin, *stdout;
...
@@ -21,12 +21,9 @@ extern FILE *stdin, *stdout;
extern
int
getc
(
void
);
extern
int
getc
(
void
);
extern
int
printf
(
const
char
*
format
,
...);
extern
int
printf
(
const
char
*
format
,
...);
extern
int
strlen
(
const
char
*
s
);
extern
int
sprintf
(
char
*
str
,
const
char
*
format
,
...);
extern
int
sprintf
(
char
*
str
,
const
char
*
format
,
...);
extern
int
tstc
(
void
);
extern
int
tstc
(
void
);
extern
void
exit
(
void
);
extern
void
exit
(
void
);
extern
void
*
memcpy
(
void
*
dest
,
const
void
*
src
,
int
n
);
extern
void
*
memmove
(
void
*
dest
,
const
void
*
src
,
int
n
);
extern
void
outb
(
int
port
,
unsigned
char
val
);
extern
void
outb
(
int
port
,
unsigned
char
val
);
extern
void
putc
(
const
char
c
);
extern
void
putc
(
const
char
c
);
extern
void
puthex
(
unsigned
long
val
);
extern
void
puthex
(
unsigned
long
val
);
...
...
arch/ppc/boot/openfirmware/chrpmain.c
View file @
d5791008
...
@@ -6,6 +6,7 @@
...
@@ -6,6 +6,7 @@
* as published by the Free Software Foundation; either version
* as published by the Free Software Foundation; either version
* 2 of the License, or (at your option) any later version.
* 2 of the License, or (at your option) any later version.
*/
*/
#include <linux/string.h>
#include "nonstdio.h"
#include "nonstdio.h"
#include "of1275.h"
#include "of1275.h"
#include <asm/processor.h>
#include <asm/processor.h>
...
@@ -34,7 +35,7 @@ char *avail_high;
...
@@ -34,7 +35,7 @@ char *avail_high;
#define RAM_FREE ((unsigned long)(_end+0x1000)&~0xFFF)
#define RAM_FREE ((unsigned long)(_end+0x1000)&~0xFFF)
#define PROG_START 0x00010000
#define PROG_START 0x00010000
#define PROG_SIZE 0x00
400000
/* 4
MB */
#define PROG_SIZE 0x00
7f0000
/* 8
MB */
#define SCRATCH_SIZE (128 << 10)
#define SCRATCH_SIZE (128 << 10)
...
...
arch/ppc/boot/openfirmware/coffmain.c
View file @
d5791008
...
@@ -6,6 +6,7 @@
...
@@ -6,6 +6,7 @@
* as published by the Free Software Foundation; either version
* as published by the Free Software Foundation; either version
* 2 of the License, or (at your option) any later version.
* 2 of the License, or (at your option) any later version.
*/
*/
#include <linux/string.h>
#include <asm/processor.h>
#include <asm/processor.h>
#include <asm/page.h>
#include <asm/page.h>
...
@@ -35,7 +36,7 @@ char *avail_high;
...
@@ -35,7 +36,7 @@ char *avail_high;
#define RAM_END (RAM_START + 0x800000)
/* only 8M mapped with BATs */
#define RAM_END (RAM_START + 0x800000)
/* only 8M mapped with BATs */
#define PROG_START RAM_START
#define PROG_START RAM_START
#define PROG_SIZE 0x00
4
00000
#define PROG_SIZE 0x00
7
00000
#define SCRATCH_SIZE (128 << 10)
#define SCRATCH_SIZE (128 << 10)
...
...
arch/ppc/boot/openfirmware/common.c
View file @
d5791008
...
@@ -10,6 +10,7 @@
...
@@ -10,6 +10,7 @@
#include "zlib.h"
#include "zlib.h"
#include "nonstdio.h"
#include "nonstdio.h"
#include "of1275.h"
#include "of1275.h"
#include <linux/string.h>
#include <asm/bootinfo.h>
#include <asm/bootinfo.h>
#include <asm/page.h>
#include <asm/page.h>
...
...
arch/ppc/boot/openfirmware/newworldmain.c
View file @
d5791008
...
@@ -6,6 +6,7 @@
...
@@ -6,6 +6,7 @@
* as published by the Free Software Foundation; either version
* as published by the Free Software Foundation; either version
* 2 of the License, or (at your option) any later version.
* 2 of the License, or (at your option) any later version.
*/
*/
#include <linux/string.h>
#include "nonstdio.h"
#include "nonstdio.h"
#include "of1275.h"
#include "of1275.h"
#include <asm/processor.h>
#include <asm/processor.h>
...
@@ -30,7 +31,7 @@ char *avail_high;
...
@@ -30,7 +31,7 @@ char *avail_high;
#define RAM_END (16 << 20)
#define RAM_END (16 << 20)
#define PROG_START 0x00010000
#define PROG_START 0x00010000
#define PROG_SIZE 0x00
3
f0000
#define PROG_SIZE 0x00
7
f0000
#define SCRATCH_SIZE (128 << 10)
#define SCRATCH_SIZE (128 << 10)
...
...
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