Rev 836 | Rev 867 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 836 | Rev 843 | ||
|---|---|---|---|
| Line 25... | Line 25... | ||
| 25 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
25 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
| 26 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
26 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 27 | */ |
27 | */ |
| 28 | 28 | ||
| 29 | #include <arch/mm/frame.h> |
29 | #include <arch/mm/frame.h> |
| - | 30 | #include <arch/mm/memory_init.h> |
|
| 30 | #include <mm/frame.h> |
31 | #include <mm/frame.h> |
| 31 | #include <config.h> |
32 | #include <config.h> |
| 32 | #include <panic.h> |
33 | #include <panic.h> |
| 33 | 34 | ||
| 34 | void frame_arch_init(void) |
35 | void frame_arch_init(void) |
| 35 | { |
36 | { |
| 36 | /* First page is exception vector, |
37 | ppc_init_zones(); |
| 37 | * second is 'implementation specific', evade it too |
38 | /* First is exception vector, second is 'implementation specific' */ |
| 38 | */ |
- | |
| 39 | zone_create(0, SIZE2FRAMES(config.memory_size), 2, 0); |
- | |
| 40 | frame_mark_unavailable(0, 2); |
39 | frame_mark_unavailable(0, 2); |
| 41 | } |
40 | } |