lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
Last change
on this file since e515167d was e515167d, checked in by Ondrej Palkovsky <ondrap@…>, 20 years ago |
|
Added basic FPU context (not working).
Added CPU utilities from ia32
Fixed bug in vm.c that wanted PTL to be mapped in bottom memory.
|
-
Property mode
set to
100644
|
|
File size:
1011 bytes
|
| Line | |
|---|
| 1 | AMD64_TARGET=amd64-linux-gnu
|
|---|
| 2 | AMD64_CC_DIR=/usr/local/amd64/bin
|
|---|
| 3 | AMD64_BINUTILS_DIR=/usr/local/amd64/bin
|
|---|
| 4 |
|
|---|
| 5 | CC=$(AMD64_CC_DIR)/$(AMD64_TARGET)-gcc
|
|---|
| 6 | AS=$(AMD64_BINUTILS_DIR)/$(AMD64_TARGET)-as
|
|---|
| 7 | LD=$(AMD64_BINUTILS_DIR)/$(AMD64_TARGET)-ld
|
|---|
| 8 |
|
|---|
| 9 | #ASFLAGS=--64
|
|---|
| 10 |
|
|---|
| 11 | DEFS=-DARCH=$(ARCH)
|
|---|
| 12 | CPPFLAGS=$(DEFS) -nostdinc -I../include
|
|---|
| 13 | CFLAGS=$(CPPFLAGS) -nostdlib -fno-builtin -fno-unwind-tables -Werror-implicit-function-declaration -Wmissing-prototypes -Werror -O3 -march=opteron -m64 -mcmodel=kernel -mno-red-zone
|
|---|
| 14 | LFLAGS=-M -T ../arch/amd64/_link.ld
|
|---|
| 15 |
|
|---|
| 16 | arch_sources = arch/dummy.s \
|
|---|
| 17 | arch/fpu_context.c \
|
|---|
| 18 | arch/boot/boot.S \
|
|---|
| 19 | arch/boot/memmap.S \
|
|---|
| 20 | arch/pm.c \
|
|---|
| 21 | arch/context.S \
|
|---|
| 22 | arch/drivers/ega.c \
|
|---|
| 23 | arch/drivers/i8042.c \
|
|---|
| 24 | arch/drivers/i8254.c \
|
|---|
| 25 | arch/drivers/i8259.c \
|
|---|
| 26 | arch/supplib.c \
|
|---|
| 27 | arch/delay.S \
|
|---|
| 28 | arch/amd64.c \
|
|---|
| 29 | arch/bios/bios.c \
|
|---|
| 30 | arch/interrupt.c \
|
|---|
| 31 | arch/mm/frame.c \
|
|---|
| 32 | arch/mm/page.c \
|
|---|
| 33 | arch/mm/tlb.c \
|
|---|
| 34 | arch/asm_utils.S \
|
|---|
| 35 | arch/fmath.c \
|
|---|
| 36 | arch/mm/memory_init.c \
|
|---|
| 37 | arch/cpu/cpu.c \
|
|---|
| 38 | arch/proc/scheduler.c \
|
|---|
| 39 | arch/userspace.c
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.