Skip to content

Commit

Permalink
Added missing mpinit.ld. This linker script describes load address fo…
Browse files Browse the repository at this point in the history
…r SMP initialization code.
  • Loading branch information
shoily committed Oct 11, 2020
1 parent ad05c52 commit b7b9325
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions mpinit.ld
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
/*****************************************************************************/
/* File: mpinit.ld */
/* */
/* Description: ld script file for initializing multiple (application) */
/* processors. */
/* */
/* Author: Shoily O Rahman <[email protected]> */
/* */
/* Date: Oct 7, 2020 */
/* */
/*****************************************************************************/

OUTPUT_FORMAT(elf32-i386)
OUTPUT_ARCH(i386)

/* This will overwrite default boot sector */
ENTRY(_start)

PHDRS {
text PT_LOAD FILEHDR PHDRS;
data PT_LOAD;
bss PT_LOAD;
}

SECTIONS
{
. = 0X7C00;
.text :
{*(.text); } : text
.data :
{*(.data); } : data
.bss :
{*(.bss); } : bss
. = 0x80007D00;
.high : AT(0x7D00) {*(.high); }
}

0 comments on commit b7b9325

Please sign in to comment.