Rev |
Age |
Author |
Path |
Log message |
Diff |
Changes |
106 |
7014 d 18 h |
jermar |
/SPARTAN/trunk/ |
IA-32 fixes.
Use kernel addresses instead of physical addresses in map_page_to_frame().
Physical addresses are supposed to only be exported to mm hardware.
Because of this fix, userspace is functional again.
Remap EGA videoram to (0x80000000 + videoram) and change the ega driver to work with the new address.
Minor cosmetics through out the code.
Changes in linker scripts. |
|
/SPARTAN/trunk/arch/ia32/_link.ld /SPARTAN/trunk/arch/ia32/include/mm/vm.h /SPARTAN/trunk/arch/ia32/src/asm.s /SPARTAN/trunk/arch/ia32/src/drivers/ega.c /SPARTAN/trunk/arch/ia32/src/mm/page.c /SPARTAN/trunk/arch/ia32/src/userspace.c /SPARTAN/trunk/arch/ia64/_link.ld /SPARTAN/trunk/arch/ia64/src/start.S /SPARTAN/trunk/arch/mips/_link.ld /SPARTAN/trunk/src/main/main.c
|
105 |
7015 d 7 h |
jermar |
/SPARTAN/trunk/ |
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. |
|
/SPARTAN/trunk/arch/ia32/Makefile.inc /SPARTAN/trunk/arch/ia32/_link.ld /SPARTAN/trunk/arch/ia32/include/mm/page.h /SPARTAN/trunk/arch/ia32/include/mm/vm.h /SPARTAN/trunk/arch/ia32/include/pm.h /SPARTAN/trunk/arch/ia32/src/boot/boot.S /SPARTAN/trunk/arch/ia32/src/boot/memmap.S /SPARTAN/trunk/arch/ia32/src/mm/frame.c /SPARTAN/trunk/arch/ia32/src/mm/page.c /SPARTAN/trunk/arch/ia32/src/pm.c /SPARTAN/trunk/arch/ia64/include/mm/vm.h /SPARTAN/trunk/arch/mips/include/mm/vm.h /SPARTAN/trunk/arch/mips/src/asm.s /SPARTAN/trunk/doc/AUTHORS /SPARTAN/trunk/include/config.h /SPARTAN/trunk/src/main/main.c
|
104 |
7017 d 10 h |
bondari |
/SPARTAN/trunk/doc/ |
Add Sergey Bondari to the authors - workstation is ready :) |
|
/SPARTAN/trunk/doc/AUTHORS
|
103 |
7017 d 12 h |
jermar |
/SPARTAN/trunk/ |
Just cleanup. |
|
/SPARTAN/trunk/arch/ia32/src/context.s /SPARTAN/trunk/arch/ia32/src/interrupt.c /SPARTAN/trunk/arch/ia64/src/fpu_context.c /SPARTAN/trunk/arch/mips/src/fpu_context.c /SPARTAN/trunk/arch/powerpc/src/fpu_context.c /SPARTAN/trunk/doc/TODO /SPARTAN/trunk/src/time/timeout.c
|
102 |
7020 d 11 h |
jermar |
/SPARTAN/trunk/ |
IA-64 work.
Redefine FRAME_SIZE to "(16*1024)" instead of "2*4096". Note that the latter definition was wrong because of the lack of "()".
Take panic_printf(), cpu_halt() and memsetb() out of fake.s and implement them properly in asm.S.
Move ski_init_console() from arch_post_mm_init() to arch_pre_mm_init().
In start.S, write r0 to ar.bspstore.
Janitorial fixes.
Add count_t type.
Replace several occurrences of int and __u32 by count_t or size_t.
Shorten several panic strings. |
|
/SPARTAN/trunk/arch/ia64/include/mm/frame.h /SPARTAN/trunk/arch/ia64/src/asm.S /SPARTAN/trunk/arch/ia64/src/fake.s /SPARTAN/trunk/arch/ia64/src/ia64.c /SPARTAN/trunk/arch/ia64/src/start.S /SPARTAN/trunk/include/config.h /SPARTAN/trunk/include/mm/frame.h /SPARTAN/trunk/include/mm/heap.h /SPARTAN/trunk/include/typedefs.h /SPARTAN/trunk/src/mm/frame.c /SPARTAN/trunk/src/mm/heap.c
|
101 |
7021 d 14 h |
cejka |
/SPARTAN/trunk/arch/ia32/src/boot/ |
Small bug in e820 memmap function repaired. |
|
/SPARTAN/trunk/arch/ia32/src/boot/memmap.S
|
100 |
7021 d 14 h |
jermar |
/SPARTAN/trunk/arch/ia64/src/ |
IA-64 work.
Save/restore the rest of AR registers (i.e. RSE registers) in context_save()/context_restore(). |
|
/SPARTAN/trunk/arch/ia64/src/context.S
|
99 |
7022 d 23 h |
jermar |
/SPARTAN/trunk/ |
Replace "THREAD->cpu" with "CPU" in scheduler().
Add trailing '\n' to memmap.h
Fix some translations.
Relpace one Czech sentence with its English translation. |
|
/SPARTAN/trunk/arch/ia32/include/boot/memmap.h /SPARTAN/trunk/arch/ia32/src/boot/memmap.S /SPARTAN/trunk/src/proc/scheduler.c
|
98 |
7023 d 16 h |
cejka |
/SPARTAN/trunk/arch/ia32/ |
first version of e820 memmap |
|
/SPARTAN/trunk/arch/ia32/include/boot/memmap.h /SPARTAN/trunk/arch/ia32/src/boot/memmap.S
|
97 |
7023 d 19 h |
jermar |
/SPARTAN/trunk/ |
Add context_set() macro to support extended behaviour for architectures with more than one stack (e.g. IA-64).
Now there is one generic context_set() defined in include/context.h and one IA-64 specific defined in arch/ia64/include/context.h. |
|
/SPARTAN/trunk/arch/ia64/include/context.h /SPARTAN/trunk/include/context.h /SPARTAN/trunk/src/main/main.c /SPARTAN/trunk/src/proc/scheduler.c /SPARTAN/trunk/src/proc/thread.c
|
96 |
7024 d 20 h |
jermar |
/SPARTAN/trunk/doc/ |
Add Josef Cejka to doc/AUTHORS. |
|
/SPARTAN/trunk/doc/AUTHORS
|
95 |
7024 d 21 h |
cejka |
/SPARTAN/trunk/arch/ia32/ |
Started memory map support. |
|
/SPARTAN/trunk/arch/ia32/include/boot /SPARTAN/trunk/arch/ia32/include/boot/memmap.h /SPARTAN/trunk/arch/ia32/src/boot/memmap.S
/SPARTAN/trunk/arch/ia32/Makefile.inc /SPARTAN/trunk/arch/ia32/src/boot/boot.S
|
94 |
7028 d 10 h |
jermar |
/SPARTAN/trunk/ |
IA-64 work.
Add application registers ar.lc, ar.ec, ar.ccv, ar.csd, ar.ssd to context_t.
Add store/load operations for ar.lc, ar.ec, ar.ccv, ar.csd, ar.ssd to context_save()/restore().
Add application registers ar.rcs, ar.bsp and ar.rnat to context_t.
Proper store/load operations for ar.rcs, ar.bsp and ar.rnat is in the works.
FPU cleanup.
Remove call set_TS_flag() from cpu_identify().
Remove unneeded includes from FPU test #1. |
|
/SPARTAN/trunk/arch/ia32/src/cpu/cpu.c /SPARTAN/trunk/arch/ia32/src/fpu_context.c /SPARTAN/trunk/arch/ia64/include/context.h /SPARTAN/trunk/arch/ia64/src/context.S /SPARTAN/trunk/test/fpu/fpu1/test.c
|
93 |
7028 d 14 h |
jermar |
/SPARTAN/trunk/include/ |
Fix typo in Jakub Vana's name. |
|
/SPARTAN/trunk/include/fpu_context.h
|
92 |
7028 d 14 h |
jermar |
/SPARTAN/trunk/ |
FPU work.
FPU code cleanup, add/fix copyright notices where needed.
Fix PI calculation to use double n instead of int n.
Make FPU test #1 even more stressing.
Re-enable O3 again.
Revert Makefile.config not to compile in any tests. |
|
/SPARTAN/trunk/arch/ia32/Makefile.inc /SPARTAN/trunk/arch/ia32/include/fpu_context.h /SPARTAN/trunk/arch/ia32/src/fpu_context.c /SPARTAN/trunk/arch/ia32/src/interrupt.c /SPARTAN/trunk/arch/ia64/include/fpu_context.h /SPARTAN/trunk/arch/ia64/src/fpu_context.c /SPARTAN/trunk/arch/mips/include/fpu_context.h /SPARTAN/trunk/arch/mips/src/fpu_context.c /SPARTAN/trunk/include/fpu_context.h /SPARTAN/trunk/src/Makefile.config /SPARTAN/trunk/test/fpu/fpu1/test.c
|
91 |
7029 d 8 h |
jermar |
/SPARTAN/trunk/ |
Rename test/fpu/fpu0 to test/fpu/fpu1.
Enhance and beautify FPU test #1.
Add pi calculation to FPU test #1. |
|
/SPARTAN/trunk/test/fpu/fpu1
/SPARTAN/trunk/test/fpu/fpu0
/SPARTAN/trunk/src/Makefile.config /SPARTAN/trunk/test/fpu/fpu1/test.c
|
90 |
7029 d 11 h |
vana |
/SPARTAN/trunk/ |
Set TS flag on system startup.
Some bugs in FPU context switching seem to persist.
Optimalization on IA-32 disabled. |
|
/SPARTAN/trunk/arch/ia32/Makefile.inc /SPARTAN/trunk/arch/ia32/src/cpu/cpu.c /SPARTAN/trunk/arch/ia32/src/fpu_context.c /SPARTAN/trunk/arch/ia32/src/interrupt.c /SPARTAN/trunk/test/fpu/fpu0/test.c
|
89 |
7029 d 18 h |
jermar |
/SPARTAN/trunk/test/fpu/fpu0/ |
Add check for infinite loops in e(). |
|
/SPARTAN/trunk/test/fpu/fpu0/test.c
|
88 |
7029 d 18 h |
jermar |
/SPARTAN/trunk/ |
Rename test/fpu/fp0 to test/fpu/fpu0.
(Couldn't do it in one go.) |
|
/SPARTAN/trunk/test/fpu/fpu0
/SPARTAN/trunk/test/fpu/fp0
/SPARTAN/trunk/src/Makefile.config
|
87 |
7029 d 18 h |
jermar |
/SPARTAN/trunk/ |
Rename test/fp to test/fpu. |
|
/SPARTAN/trunk/test/fpu
/SPARTAN/trunk/test/fp
/SPARTAN/trunk/src/Makefile.config
|