Changeset ddd9486 in mainline


Ignore:
Timestamp:
2005-09-11T13:29:25Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
788ccb04
Parents:
8e3fb24c
Message:

Cleanup.
Cancel fake in pm.c and replace it with LONG(0xdeadbeaf) in linker script. Still need some to find out why it must be there.
Remove comment saying, that mips is little-endian.

Location:
arch
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • arch/amd64/_link.ld.in

    r8e3fb24c rddd9486  
    4949                *(COMMON);              /* global variables */
    5050
    51 
    52 
    5351                *(.eh_frame);
    5452                *(.bss);                /* uninitialized static variables */
    55                 *(K_DATA_END);
    5653
    5754                symbol_table = .;
  • arch/ia32/_link.ld.in

    r8e3fb24c rddd9486  
    2525                unmapped_kdata_start = .;
    2626                *(K_DATA_START);
     27//              LONG(0xdeadbeaf);               /* TODO: remove 0xdeadbeaf */
    2728                unmapped_kdata_end = .;
    2829        }
     
    3536               
    3637                kdata_start = .;
    37                 *(.data);               /* initialized data */
    38                 *(.rodata*);            /* string literals */
    39                 *(COMMON);              /* global variables */
     38                *(.data);                       /* initialized data */
     39                *(.rodata*);                    /* string literals */
     40                *(COMMON);                      /* global variables */
    4041                hardcoded_load_address = .;
    4142                LONG(PA2KA(BOOT_OFFSET+BOOTSTRAP_OFFSET));
     
    4849                hardcoded_unmapped_kdata_size = .;
    4950                LONG(unmapped_kdata_end - unmapped_kdata_start);
    50                 *(.bss);                /* uninitialized static variables */
    51                 *(K_DATA_END);
     51                *(.bss);                        /* uninitialized static variables */
     52                *(.note.GNU-stack);
     53                *(.comment);
    5254
    5355                symbol_table = .;
    54                 *(symtab.*);            /* Symbol table, must be LAST symbol!*/
     56                *(symtab.*);                    /* Symbol table, must be LAST symbol! */
    5557
    5658                kdata_end = .;
  • arch/ia32/src/acpi/madt.c

    r8e3fb24c rddd9486  
    132132                madt_entries_index_cnt++;
    133133        }
    134         printf("MADT: Found %d entries\n", madt_entries_index_cnt);
    135134
    136135        /* create madt apic entries index array */
     
    142141                madt_entries_index[index++] = h;
    143142        }
    144 
    145143
    146144        /* Quicksort MADT index structure */
  • arch/ia32/src/pm.c

    r8e3fb24c rddd9486  
    7070struct tss *tss_p = NULL;
    7171
    72 /* TODO: Does not compile correctly if it does not exist ???? */
    73 int __attribute__ ((section ("K_DATA_START"))) __fake;
    74 
    7572/* gdtr is changed by kmp before next CPU is initialized */
    7673struct ptr_16_32 protected_bootstrap_gdtr = { .limit = sizeof(gdt), .base = KA2PA((__address) gdt) };
  • arch/mips/include/byteorder.h

    r8e3fb24c rddd9486  
    3030#define __mips_BYTEORDER_H__
    3131
    32 /* MIPS is little-endian */
    3332#ifdef BIG_ENDIAN
    3433static inline __u64 u64_le2host(__u64 n)
Note: See TracChangeset for help on using the changeset viewer.