Changeset 874e312a in mainline for arch/amd64


Ignore:
Timestamp:
2005-10-12T21:28:28Z (20 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b07a838
Parents:
26f9943
Message:

Fix directives for K_TEXT_START, K_TEXT_START_2 and K_DATA_START sections to be more descriptive about section's content.
Remove LOAD(0xdeadbeaf) from ia32 linker script.
Remove fake from amd64 pm.c.

Location:
arch/amd64/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • arch/amd64/src/boot/boot.S

    r26f9943 r874e312a  
    4949#define START_STACK (BOOTSTRAP_OFFSET-0x400)
    5050       
    51 .section K_TEXT_START
     51.section K_TEXT_START, "ax"
    5252.code16
    5353.global kernel_image_start
     
    138138        jmp 1b
    139139                               
    140 .section K_DATA_START
     140.section K_DATA_START, "aw", @progbits
    141141.align 4096
    142142
  • arch/amd64/src/pm.c

    r26f9943 r874e312a  
    117117struct tss *tss_p = NULL;
    118118
    119 /* TODO: Does not compile correctly if it does not exist ???? */
    120 int __attribute__ ((section ("K_DATA_START"))) __fake;
    121 
    122119void gdt_tss_setbase(struct descriptor *d, __address base)
    123120{
  • arch/amd64/src/smp/ap.S

    r26f9943 r874e312a  
    3838#include <arch/mm/page.h>
    3939       
    40 .section K_TEXT_START_2
     40.section K_TEXT_START_2, "ax"
    4141
    4242#ifdef __SMP__
Note: See TracChangeset for help on using the changeset viewer.