Linux Kernel
3.7.1
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
arch
powerpc
boot
holly.c
Go to the documentation of this file.
1
/*
2
* Copyright 2007 IBM Corporation
3
*
4
* Stephen Winiecki <
[email protected]
>
5
* Josh Boyer <
[email protected]
>
6
*
7
* Based on earlier code:
8
* Copyright (C) Paul Mackerras 1997.
9
*
10
* This program is free software; you can redistribute it and/or
11
* modify it under the terms of the GNU General Public License
12
* version 2 as published by the Free Software Foundation.
13
*/
14
#include <stdarg.h>
15
#include <stddef.h>
16
#include "
types.h
"
17
#include "
elf.h
"
18
#include "
string.h
"
19
#include "
stdio.h
"
20
#include "
page.h
"
21
#include "
ops.h
"
22
#include "
io.h
"
23
24
BSS_STACK
(4096);
25
26
void
platform_init
(
unsigned
long
r3
,
unsigned
long
r4
,
unsigned
long
r5
)
27
{
28
u32
heapsize = 0x8000000 - (
u32
)
_end
;
/* 128M */
29
30
simple_alloc_init
(
_end
, heapsize, 32, 64);
31
fdt_init
(
_dtb_start
);
32
serial_console_init
();
33
}
Generated on Thu Jan 10 2013 13:13:09 for Linux Kernel by
1.8.2