Changeset 544b4bf in mainline


Ignore:
Timestamp:
2005-09-03T13:11:54Z (19 years ago)
Author:
Ondrej Palkovsky <ondrap@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
2f08a55d
Parents:
51022e9b
Message:

Added basic FPU context (not working).
Added CPU utilities from ia32

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • arch/amd64/Makefile.inc

    r51022e9b r544b4bf  
    77LD=$(AMD64_BINUTILS_DIR)/$(AMD64_TARGET)-ld
    88
    9 #ASFLAGS=--64
     9
    1010
    1111DEFS=-DARCH=$(ARCH)
     12
     13ifdef SMP
     14DEFS+=-D$(SMP)
     15endif
     16
     17ifdef HT
     18DEFS+=-D$(HT)
     19endif
     20
     21
    1222CPPFLAGS=$(DEFS) -nostdinc -I../include
    1323CFLAGS=$(CPPFLAGS) -nostdlib -fno-builtin -fno-unwind-tables -Werror-implicit-function-declaration -Wmissing-prototypes -Werror -O3 -march=opteron -m64 -mcmodel=kernel -mno-red-zone
  • arch/amd64/src/amd64.c

    r51022e9b r544b4bf  
    4343#include <print.h>
    4444#include <arch/cpuid.h>
     45#include <arch/acpi/acpi.h>
    4546
    4647void arch_pre_mm_init(void)
  • include/mm/heap.h

    r51022e9b r544b4bf  
    3838        struct chunk *prev;
    3939        __u32 size;
    40         __u8 data[0];
     40        __native data[0];
    4141};
    4242
  • src/build.amd64

    r51022e9b r544b4bf  
    1616done
    1717
    18 for a in atomic.h ega.h i8042.h i8259.h i8254.h interrupt.h bios mm/memory_init.h boot/memmap.h boot/memmapasm.h; do
     18for a in atomic.h ega.h i8042.h i8259.h i8254.h interrupt.h bios mm/memory_init.h boot/memmap.h boot/memmapasm.h smp acpi; do
    1919  if [ \! -e amd64/include/$a ]; then
    2020    echo ln -sf `pwd`/ia32/include/$a amd64/include/$a
Note: See TracChangeset for help on using the changeset viewer.