mirror of
https://github.com/drasko/codezero.git
synced 2026-04-12 06:59:09 +02:00
Cleaned up MM0 linker script
This commit is contained in:
@@ -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;
|
virtual_base = 0xE0000000;
|
||||||
physical_base = %s;
|
physical_base = %s;
|
||||||
|
|
||||||
/* INCLUDE "include/physical_base.lds" */
|
|
||||||
|
|
||||||
/* physical_base = 0x228000; */
|
|
||||||
pager_offset = virtual_base - physical_base;
|
pager_offset = virtual_base - physical_base;
|
||||||
|
|
||||||
ENTRY(_start)
|
ENTRY(_start)
|
||||||
|
|||||||
Reference in New Issue
Block a user