lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
Last change
on this file since dcbc8be was dcbc8be, checked in by Jakub Jermar <jakub@…>, 20 years ago |
Big changes in IA-32 address space map.
Now the kernel is mapped above 0x80000000. Finally!
Userspace address space starts at 0x00000000.
Changes in many places.
This improvement temporarily breaks SMP and most likely also other stuff.
Supported size of memory is now only 4M as it is the biggest size that can be mapped at once on IA-32.
Changes in linker script.
Changes required because of the above.
Do not patch hardcoded_* variables but assign to them instead.
Cosmetic changes here and there.
|
-
Property mode
set to
100644
|
File size:
888 bytes
|
Line | |
---|
1 | CC=gcc
|
---|
2 | AS=as
|
---|
3 | LD=ld
|
---|
4 |
|
---|
5 | DEFS:=-DARCH=$(ARCH)
|
---|
6 |
|
---|
7 | ifdef SMP
|
---|
8 | DEFS+=-D$(SMP)
|
---|
9 | endif
|
---|
10 |
|
---|
11 | ifdef HT
|
---|
12 | DEFS+=-D$(HT)
|
---|
13 | endif
|
---|
14 |
|
---|
15 | CPPFLAGS=$(DEFS) -nostdinc -I../include
|
---|
16 | CFLAGS=$(CPPFLAGS) -nostdlib -fno-builtin -fomit-frame-pointer -Wmissing-prototypes -Werror -O3
|
---|
17 | LFLAGS=-M -no-check-sections -T ../arch/ia32/_link.ld
|
---|
18 |
|
---|
19 | arch_sources= \
|
---|
20 | arch/context.s \
|
---|
21 | arch/debug/panic.s \
|
---|
22 | arch/cpuid.s \
|
---|
23 | arch/delay.s \
|
---|
24 | arch/asm.s \
|
---|
25 | arch/proc/scheduler.c \
|
---|
26 | arch/acpi/acpi.c \
|
---|
27 | arch/acpi/madt.c \
|
---|
28 | arch/bios/bios.c \
|
---|
29 | arch/smp/ap.S \
|
---|
30 | arch/smp/apic.c \
|
---|
31 | arch/smp/mps.c \
|
---|
32 | arch/smp/smp.c \
|
---|
33 | arch/smp/atomic.S \
|
---|
34 | arch/smp/ipi.c \
|
---|
35 | arch/ia32.c \
|
---|
36 | arch/interrupt.c \
|
---|
37 | arch/pm.c \
|
---|
38 | arch/userspace.c \
|
---|
39 | arch/cpu/cpu.c \
|
---|
40 | arch/mm/frame.c \
|
---|
41 | arch/mm/page.c \
|
---|
42 | arch/mm/tlb.c \
|
---|
43 | arch/drivers/i8042.c \
|
---|
44 | arch/drivers/i8254.c \
|
---|
45 | arch/drivers/i8259.c \
|
---|
46 | arch/drivers/ega.c \
|
---|
47 | arch/boot/boot.S \
|
---|
48 | arch/boot/memmap.S\
|
---|
49 | arch/fpu_context.c
|
---|
Note:
See
TracBrowser
for help on using the repository browser.