Cleaned up MM0 linker script

This commit is contained in:
Bahadir Balban
2009-10-06 11:30:30 +03:00
parent 68d3aa4212
commit 56ceed0786

View File

@@ -1,24 +1,12 @@
/*
* Simple linker script for userspace or svc tasks.
* Posix pager MM0 linker script.
*
* Copyright (C) 2007 Bahadir Balban
* Copyright (C) 2007 - 2009 Bahadir Balban
*/
/*
* The only catch with this linker script is that everything
* is linked starting at virtual_base, and loaded starting
* at physical_base. virtual_base is the predefined region
* of virtual memory for userland applications. physical_base
* is determined at build-time, it is one of the subsequent pages
* that come after the kernel image's load area.
*/
/* INITTASK_AREA_START, see memlayout.h */
virtual_base = 0xE0000000;
physical_base = %s;
/* INCLUDE "include/physical_base.lds" */
/* physical_base = 0x228000; */
pager_offset = virtual_base - physical_base;
ENTRY(_start)