Generate the final link linker scripts.

This commit is contained in:
Russel Winder
2009-08-10 11:30:53 +01:00
parent 52962b5b19
commit 9cb2b7470f
4 changed files with 45 additions and 21 deletions

View File

@@ -1,3 +1,11 @@
/****
**** Template for generating a main.c. Edit markers have replaced some items in the original file
****
**** Copyright © 2009 B Labs Ltd
****
**** Author: Russel Winder.
****/
/*******************************************************************************
* Filename: src/main.c *
* Description: Elf-loader - ELF file kernel/application bootstraper, main *
@@ -113,7 +121,7 @@ main(void)
{
/* Declarations added here.*/
__DECLARATIONS_EDIT_MARKER__
__DECLARATIONS_EDIT_MARKER__
arch_init();
@@ -121,7 +129,7 @@ main(void)
/* Loader statements added here. */
__LOAD_STATEMENTS_EDIT_MARKER__
__LOAD_STATEMENTS_EDIT_MARKER__
printf("elf-loader:\tkernel entry point is %p\n", kernel_entry);
arch_start_kernel(kernel_entry);