Changeset 874e312a in mainline


Ignore:
Timestamp:
2005-10-12T21:28:28Z (19 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
Files:
7 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__
  • arch/ia32/_link.ld.in

    r26f9943 r874e312a  
    2626                *(K_DATA_START);
    2727                unmapped_kdata_end = .;
    28                
    29                 LONG(0xdeadbeaf);               /* TODO: remove 0xdeadbeaf */                                           
    3028        }
    3129       
  • arch/ia32/src/boot/boot.S

    r26f9943 r874e312a  
    3434#include <arch/pm.h>
    3535
    36 .section K_TEXT_START
     36.section K_TEXT_START, "ax"
    3737.global kernel_image_start
    3838
     
    244244
    245245
    246 .section K_DATA_START
     246.section K_DATA_START, "aw", @progbits
    247247
    248248.align 4096
  • arch/ia32/src/boot/memmap.S

    r26f9943 r874e312a  
    3636
    3737.code16
    38 .section K_TEXT_START_2
     38.section K_TEXT_START_2, "ax"
    3939
    4040memmap_arch_init:
     
    109109
    110110
    111 .section K_DATA_START
     111.section K_DATA_START, "aw", @progbits
    112112
    113113#memory size in 1 kb chunks
  • arch/ia32/src/smp/ap.S

    r26f9943 r874e312a  
    3131#
    3232
    33 .section K_TEXT_START_2
     33.section K_TEXT_START_2, "ax"
    3434
    3535#ifdef __SMP__
Note: See TracChangeset for help on using the changeset viewer.