Rev |
Age |
Author |
Path |
Log message |
Diff |
Changes |
198 |
6925 d 18 h |
jermar |
/SPARTAN/trunk/ |
Switch order of 'src' and 'dst' arguments in some left-over uses of memcopy.
Cleanup. |
|
/SPARTAN/trunk/arch/ia32/src/asm.S /SPARTAN/trunk/arch/ia32/src/drivers/ega.c /SPARTAN/trunk/arch/ia32/src/smp/mps.c /SPARTAN/trunk/include/memstr.h /SPARTAN/trunk/src/Makefile.config /SPARTAN/trunk/src/lib/memstr.c /SPARTAN/trunk/src/main/kinit.c /SPARTAN/trunk/src/mm/vm.c /SPARTAN/trunk/src/proc/scheduler.c
|
197 |
6925 d 20 h |
palkovsky |
/SPARTAN/trunk/ |
Context-save/restore in AMD64 |
|
/SPARTAN/trunk/arch/amd64/src/context.S
/SPARTAN/trunk/arch/amd64/Makefile.inc /SPARTAN/trunk/arch/amd64/include/asm.h /SPARTAN/trunk/arch/amd64/include/context.h /SPARTAN/trunk/arch/amd64/include/types.h /SPARTAN/trunk/arch/amd64/src/dummy.s /SPARTAN/trunk/src/build.amd64
|
195 |
6925 d 20 h |
vana |
/SPARTAN/trunk/ |
1) memcopy and _memcopy functions rewriten to ANSI C norm.
2) Repaired ia32,ia64 and mips version of SPARTAN to work with this memcopy functions
3) Warning for non declared funcions added and repaired ia32,ia64 and mips versions to pass build process with this warning and Werror option |
|
/SPARTAN/trunk/test/thread /SPARTAN/trunk/test/thread/thread1 /SPARTAN/trunk/test/thread/thread1/test.c
/SPARTAN/trunk/arch/amd64/Makefile.inc /SPARTAN/trunk/arch/ia32/Makefile.inc /SPARTAN/trunk/arch/ia32/include/asm.h /SPARTAN/trunk/arch/ia32/src/acpi/acpi.c /SPARTAN/trunk/arch/ia32/src/acpi/madt.c /SPARTAN/trunk/arch/ia32/src/drivers/ega.c /SPARTAN/trunk/arch/ia32/src/drivers/i8254.c /SPARTAN/trunk/arch/ia32/src/drivers/i8259.c /SPARTAN/trunk/arch/ia32/src/ia32.c /SPARTAN/trunk/arch/ia32/src/mm/memory_init.c /SPARTAN/trunk/arch/ia32/src/mm/page.c /SPARTAN/trunk/arch/ia32/src/pm.c /SPARTAN/trunk/arch/ia32/src/smp/mps.c /SPARTAN/trunk/arch/ia32/src/smp/smp.c /SPARTAN/trunk/arch/ia64/Makefile.inc /SPARTAN/trunk/arch/ia64/include/asm.h /SPARTAN/trunk/arch/mips/Makefile.inc /SPARTAN/trunk/arch/mips/include/asm.h /SPARTAN/trunk/arch/mips/src/cpu/cpu.c /SPARTAN/trunk/arch/mips/src/exception.c /SPARTAN/trunk/arch/mips/src/mm/page.c /SPARTAN/trunk/arch/mips/src/mm/tlb.c /SPARTAN/trunk/arch/ppc/Makefile.inc /SPARTAN/trunk/include/cpu.h /SPARTAN/trunk/include/memstr.h /SPARTAN/trunk/src/Makefile.config /SPARTAN/trunk/src/debug/print.c /SPARTAN/trunk/src/lib/memstr.c /SPARTAN/trunk/src/main/kinit.c /SPARTAN/trunk/src/main/uinit.c /SPARTAN/trunk/src/mm/frame.c /SPARTAN/trunk/src/mm/heap.c /SPARTAN/trunk/src/mm/page.c /SPARTAN/trunk/src/mm/vm.c /SPARTAN/trunk/src/proc/scheduler.c /SPARTAN/trunk/src/proc/thread.c /SPARTAN/trunk/src/synch/semaphore.c /SPARTAN/trunk/src/synch/spinlock.c
|
192 |
6925 d 22 h |
jermar |
/SPARTAN/trunk/ |
Dump implementation of THREAD, TASK and CPU.
Implement preemption-safe versions of THREAD, TASK and CPU using THE.
Get rid of CPU_ID_ARCH on all architectures.
Get rid of write_dr0() and read_dr0() on IA-32.
Get rid of cpu_private_data and cpu_private_data_t. |
|
/SPARTAN/trunk/arch/amd64/include/cpu.h /SPARTAN/trunk/arch/ia32/include/asm.h /SPARTAN/trunk/arch/ia32/include/cpu.h /SPARTAN/trunk/arch/ia32/src/ia32.c /SPARTAN/trunk/arch/ia64/include/cpu.h /SPARTAN/trunk/arch/mips/include/cpu.h /SPARTAN/trunk/arch/ppc/include/cpu.h /SPARTAN/trunk/include/arch.h /SPARTAN/trunk/include/cpu.h /SPARTAN/trunk/src/Makefile.config /SPARTAN/trunk/src/cpu/cpu.c /SPARTAN/trunk/src/main/main.c /SPARTAN/trunk/src/proc/scheduler.c
|
184 |
6926 d 6 h |
jermar |
/SPARTAN/trunk/ |
Add lib/the.c.
Add and deploy the_initialize() and the_copy().
Make IA-32's before_thread_runs() use SP_DELTA macro. |
|
/SPARTAN/trunk/src/lib/the.c
/SPARTAN/trunk/arch/ia32/src/proc/scheduler.c /SPARTAN/trunk/include/arch.h /SPARTAN/trunk/src/Makefile /SPARTAN/trunk/src/main/main.c /SPARTAN/trunk/src/proc/scheduler.c /SPARTAN/trunk/src/proc/thread.c
|
183 |
6926 d 6 h |
cejka |
/SPARTAN/trunk/ |
Small improvements in print1 test and its source code format. |
|
/SPARTAN/trunk/test/print/print1 /SPARTAN/trunk/test/print/print1/test.c
/SPARTAN/trunk/test/print/test.c
/SPARTAN/trunk/src/Makefile.config
|
182 |
6926 d 7 h |
cejka |
/SPARTAN/trunk/ |
Test for printf added. |
|
/SPARTAN/trunk/test/print /SPARTAN/trunk/test/print/test.c
/SPARTAN/trunk/arch/ia32/src/mm/frame.c /SPARTAN/trunk/src/Makefile.config
|
181 |
6926 d 7 h |
cejka |
/SPARTAN/trunk/ |
Bugs in printf and va_arg functions repaired. |
|
/SPARTAN/trunk/include/print.h /SPARTAN/trunk/include/stackarg.h /SPARTAN/trunk/src/debug/print.c
|
180 |
6926 d 19 h |
jermar |
/SPARTAN/trunk/ |
Globalize 'size' and 'delta' and rename them to 'kernel_size' and 'heap_delta'.
Fix heap initialization to take 'heap_delta' into account.
Implement IA-64 get_stack_base().
Adjust SP_DELTA's to consider one extra word on stack.
(So that the stack pointer is within appropriate limits even on IA-64).
More #include cleanup. |
|
/SPARTAN/trunk/arch/ia32/include/asm.h /SPARTAN/trunk/arch/ia32/include/context.h /SPARTAN/trunk/arch/ia32/include/cpu.h /SPARTAN/trunk/arch/ia64/include/asm.h /SPARTAN/trunk/arch/ia64/include/context.h /SPARTAN/trunk/arch/mips/include/asm.h /SPARTAN/trunk/arch/mips/include/context.h /SPARTAN/trunk/src/main/main.c
|
179 |
6926 d 22 h |
decky |
/SPARTAN/trunk/ |
frmaebuffer font |
|
/SPARTAN/trunk/include/fb /SPARTAN/trunk/include/fb/font-8x16.h /SPARTAN/trunk/src/fb /SPARTAN/trunk/src/fb/font-8x16.c
/SPARTAN/trunk/src/Makefile
|
177 |
6927 d 4 h |
jermar |
/SPARTAN/trunk/ |
Add some comments to IA-32 src/boot/boot.S and src/smp.S.
Make the boot stack start on page boundary.
This is required by get_stack_base().
Define 'THE' macro.
Implement preemption_disable() and preemption_enable().
Add memory barrier macros.
IA-32 macros need support for older processors.
Non IA-32 macros are dummy.
Reduction of many #include paths. |
|
/SPARTAN/trunk/arch/amd64/include/barrier.h /SPARTAN/trunk/arch/ia32/include/asm.h /SPARTAN/trunk/arch/ia32/include/barrier.h /SPARTAN/trunk/arch/ia32/src/boot/boot.S /SPARTAN/trunk/arch/ia32/src/mm/frame.c /SPARTAN/trunk/arch/ia32/src/smp/ap.S /SPARTAN/trunk/arch/ia64/include/barrier.h /SPARTAN/trunk/arch/mips/include/barrier.h /SPARTAN/trunk/arch/mips/include/cpu.h /SPARTAN/trunk/arch/mips/include/mm/page.h /SPARTAN/trunk/arch/ppc/include/barrier.h /SPARTAN/trunk/include/arch.h /SPARTAN/trunk/include/cpu.h /SPARTAN/trunk/include/proc/task.h /SPARTAN/trunk/include/proc/thread.h /SPARTAN/trunk/src/main/main.c /SPARTAN/trunk/src/preempt/preemption.c
|
174 |
6930 d 19 h |
jermar |
/SPARTAN/trunk/ |
Small changes.
Coding style fix in main.c.
Make 'cli' be the first instruction in boot.S again. |
|
/SPARTAN/trunk/arch/ia32/src/boot/boot.S /SPARTAN/trunk/src/main/main.c
|
171 |
6932 d 3 h |
jermar |
/SPARTAN/trunk/ |
Make rwlock test #3 compile again.
Make rwlock test #4 preemption-safe.
Prepare for preemption controlling functions. |
|
/SPARTAN/trunk/include/preemption.h /SPARTAN/trunk/src/preempt /SPARTAN/trunk/src/preempt/preemption.c
/SPARTAN/trunk/include/cpu.h /SPARTAN/trunk/src/Makefile /SPARTAN/trunk/test/synch/rwlock3/test.c /SPARTAN/trunk/test/synch/rwlock4/test.c
|
170 |
6934 d 17 h |
jermar |
/SPARTAN/trunk/ |
Add comment to scheduler.c explaining the reason behind saving CPU priority of preempted thread.
Remove two unnecessary cpu_priority_high() calls. |
|
/SPARTAN/trunk/arch/ia32/src/smp/smp.c /SPARTAN/trunk/src/main/kinit.c /SPARTAN/trunk/src/proc/scheduler.c
|
168 |
6935 d 18 h |
jermar |
/SPARTAN/trunk/ |
Add type cast to __address in vm_create().
This seems to fix the problem with userspace.
Looks like KA2PA() returned wrong address when applied on pte_t *.
Uncomment panic() in gp_fault().
Get rid of cli and sti in userspace code. |
|
/SPARTAN/trunk/arch/ia32/src/asm.S /SPARTAN/trunk/arch/ia32/src/interrupt.c /SPARTAN/trunk/src/mm/vm.c
|
167 |
6937 d 3 h |
jermar |
/SPARTAN/trunk/ |
Switch over to per vm_t page tables. (breaks ia32 userspace)
Define dummy memcopy() for amd64 and ppc to satisfy compiler.
Get rid of problematic #include <arch/mm/page.h> in mm/page.h.
Indentation fixes and small changes here and there. |
|
/SPARTAN/trunk/arch/amd64/src/dummy.s /SPARTAN/trunk/arch/ia32/src/drivers/ega.c /SPARTAN/trunk/arch/ia32/src/mm/page.c /SPARTAN/trunk/arch/ia32/src/pm.c /SPARTAN/trunk/arch/ia32/src/proc/scheduler.c /SPARTAN/trunk/arch/ppc/src/dummy.s /SPARTAN/trunk/include/mm/page.h /SPARTAN/trunk/include/mm/vm.h /SPARTAN/trunk/src/main/kinit.c /SPARTAN/trunk/src/main/main.c /SPARTAN/trunk/src/mm/vm.c /SPARTAN/trunk/src/proc/scheduler.c
|
164 |
6938 d 21 h |
palkovsky |
/SPARTAN/trunk/ |
Basics for amd64 architecture. It does compile, but it does not work yet. |
|
/SPARTAN/trunk/arch/amd64/Makefile.inc /SPARTAN/trunk/arch/amd64/_link.ld /SPARTAN/trunk/arch/amd64/boot /SPARTAN/trunk/arch/amd64/boot/boot.S /SPARTAN/trunk/arch/amd64/boot/boot.ld /SPARTAN/trunk/arch/amd64/include /SPARTAN/trunk/arch/amd64/include/arg.h /SPARTAN/trunk/arch/amd64/include/asm.h /SPARTAN/trunk/arch/amd64/include/atomic.h /SPARTAN/trunk/arch/amd64/include/barrier.h /SPARTAN/trunk/arch/amd64/include/context.h /SPARTAN/trunk/arch/amd64/include/cpu.h /SPARTAN/trunk/arch/amd64/include/faddr.h /SPARTAN/trunk/arch/amd64/include/fpu_context.h /SPARTAN/trunk/arch/amd64/include/interrupt.h /SPARTAN/trunk/arch/amd64/include/mm /SPARTAN/trunk/arch/amd64/include/mm/frame.h /SPARTAN/trunk/arch/amd64/include/mm/memory_init.h /SPARTAN/trunk/arch/amd64/include/mm/page.h /SPARTAN/trunk/arch/amd64/include/mm/vm.h /SPARTAN/trunk/arch/amd64/include/pm.h /SPARTAN/trunk/arch/amd64/include/thread.h /SPARTAN/trunk/arch/amd64/include/types.h /SPARTAN/trunk/arch/amd64/src /SPARTAN/trunk/arch/amd64/src/boot /SPARTAN/trunk/arch/amd64/src/boot/boot.S /SPARTAN/trunk/arch/amd64/src/dummy.s /SPARTAN/trunk/arch/amd64/src/fpu_context.c /SPARTAN/trunk/arch/amd64/src/putchar.c /SPARTAN/trunk/src/build.amd64 /SPARTAN/trunk/src/clean.amd64
|
160 |
6944 d 17 h |
jermar |
/SPARTAN/trunk/ |
PPC work.
Define dummy implementations of many functions in fake.s.
Define kernel_image_start in start.S. |
|
/SPARTAN/trunk/arch/ppc/src/fake.s /SPARTAN/trunk/arch/ppc/src/start.S
/SPARTAN/trunk/arch/ppc/Makefile.inc /SPARTAN/trunk/arch/ppc/_link.ld /SPARTAN/trunk/src/Makefile.config
|
158 |
6945 d 1 h |
decky |
/SPARTAN/trunk/src/mm/ |
remove forgotten comment |
|
/SPARTAN/trunk/src/mm/page.c
|
157 |
6945 d 1 h |
decky |
/SPARTAN/trunk/ |
remove cyclic including, change linker script path |
|
/SPARTAN/trunk/arch/ppc/Makefile.inc /SPARTAN/trunk/arch/ppc/include/mm/page.h /SPARTAN/trunk/src/mm/page.c
|
156 |
6945 d 4 h |
decky |
/SPARTAN/trunk/ |
PPC work in progress |
|
/SPARTAN/trunk/arch/ppc /SPARTAN/trunk/arch/ppc/include /SPARTAN/trunk/arch/ppc/include/arg.h /SPARTAN/trunk/arch/ppc/include/asm.h /SPARTAN/trunk/arch/ppc/include/atomic.h /SPARTAN/trunk/arch/ppc/include/barrier.h /SPARTAN/trunk/arch/ppc/include/context.h /SPARTAN/trunk/arch/ppc/include/cpu.h /SPARTAN/trunk/arch/ppc/include/faddr.h /SPARTAN/trunk/arch/ppc/include/fpu_context.h /SPARTAN/trunk/arch/ppc/include/interrupt.h /SPARTAN/trunk/arch/ppc/include/mm /SPARTAN/trunk/arch/ppc/include/mm/frame.h /SPARTAN/trunk/arch/ppc/include/mm/memory_init.h /SPARTAN/trunk/arch/ppc/include/mm/page.h /SPARTAN/trunk/arch/ppc/include/mm/vm.h /SPARTAN/trunk/arch/ppc/include/thread.h /SPARTAN/trunk/arch/ppc/include/types.h /SPARTAN/trunk/contrib/toolchain.ppc.sh /SPARTAN/trunk/src/build.ppc /SPARTAN/trunk/src/clean.ppc
/SPARTAN/trunk/arch/powerpc /SPARTAN/trunk/contrib/toolchain.powerpc.sh
/SPARTAN/trunk/arch/ppc/Makefile.inc
|
153 |
6948 d 17 h |
jermar |
/SPARTAN/trunk/ |
Add memory barriers into spinlock_*().
Implement CS_{ENTER|LEAVE}_BARRIER() for IA-32 (no-op).
Provide incomplete CS_{ENTER|LEAVE}_BARRIER() macros for IA-64 and MIPS as well.
Small changes here and there. |
|
/SPARTAN/trunk/arch/ia32/include/barrier.h /SPARTAN/trunk/arch/ia64/include/barrier.h /SPARTAN/trunk/arch/mips/include/barrier.h
/SPARTAN/trunk/src/synch/rwlock.c /SPARTAN/trunk/src/synch/spinlock.c
|
149 |
6960 d 20 h |
jermar |
/SPARTAN/trunk/ |
Fix IA-32's get_memory_size() to return size of memory in bytes instead of in kilobytes.
Some cosmetics in memory map detection.
The IA-32 kernel is functional again. |
|
/SPARTAN/trunk/arch/ia32/src/boot/memmap.S /SPARTAN/trunk/arch/ia32/src/mm/memory_init.c /SPARTAN/trunk/src/main/main.c
|
146 |
6966 d 1 h |
cejka |
/SPARTAN/trunk/ |
Memory size detection for ia32 completed. |
|
/SPARTAN/trunk/arch/ia32/include/mm/memory_init.h /SPARTAN/trunk/arch/ia32/src/mm/memory_init.c
/SPARTAN/trunk/arch/ia32/Makefile.inc /SPARTAN/trunk/arch/ia32/src/mm/frame.c /SPARTAN/trunk/src/main/main.c
|
136 |
6967 d 1 h |
vana |
/SPARTAN/trunk/ |
Error word support debuging and testing passed with #NM & #GP exceptions. |
|
/SPARTAN/trunk/arch/ia32/src/asm.S /SPARTAN/trunk/arch/ia32/src/interrupt.c /SPARTAN/trunk/src/Makefile.config
|
135 |
6967 d 2 h |
jermar |
/SPARTAN/trunk/ |
Fix setters of page table attributes for both IA-32 and MIPS. |
|
/SPARTAN/trunk/arch/ia32/include/mm/page.h /SPARTAN/trunk/arch/mips/include/mm/page.h /SPARTAN/trunk/src/Makefile.config /SPARTAN/trunk/src/main/kinit.c
|
125 |
6971 d 18 h |
jermar |
/SPARTAN/trunk/ |
Huge indentation fix. |
|
/SPARTAN/trunk/arch/ia32/boot/boot.S /SPARTAN/trunk/arch/ia32/boot/boot.ld /SPARTAN/trunk/arch/ia32/include/cpu.h /SPARTAN/trunk/arch/ia32/src/acpi/acpi.c /SPARTAN/trunk/arch/ia32/src/asm.s /SPARTAN/trunk/arch/ia32/src/boot/boot.S /SPARTAN/trunk/arch/ia32/src/context.s /SPARTAN/trunk/arch/ia32/src/cpu/cpu.c /SPARTAN/trunk/arch/ia32/src/cpuid.s /SPARTAN/trunk/arch/ia32/src/drivers/ega.c /SPARTAN/trunk/arch/ia32/src/drivers/i8254.c /SPARTAN/trunk/arch/ia32/src/drivers/i8259.c /SPARTAN/trunk/arch/ia32/src/fpu_context.c /SPARTAN/trunk/arch/ia32/src/ia32.c /SPARTAN/trunk/arch/ia32/src/interrupt.c /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/ia32/src/proc/scheduler.c /SPARTAN/trunk/arch/ia32/src/smp/apic.c /SPARTAN/trunk/arch/ia32/src/smp/mps.c /SPARTAN/trunk/arch/ia32/src/userspace.c /SPARTAN/trunk/arch/ia64/_link.ld /SPARTAN/trunk/arch/ia64/boot/_link.ld /SPARTAN/trunk/arch/ia64/include/mm/page.h /SPARTAN/trunk/arch/mips/_link.ld /SPARTAN/trunk/arch/mips/boot/boot.s /SPARTAN/trunk/arch/mips/include/context.h /SPARTAN/trunk/arch/mips/include/cpu.h /SPARTAN/trunk/arch/mips/include/mm/page.h /SPARTAN/trunk/arch/mips/src/cpu/cpu.c /SPARTAN/trunk/arch/mips/src/interrupt.c /SPARTAN/trunk/arch/mips/src/mips.c /SPARTAN/trunk/arch/mips/src/start.S /SPARTAN/trunk/arch/powerpc/_link.ld /SPARTAN/trunk/include/mm/page.h /SPARTAN/trunk/include/proc/thread.h /SPARTAN/trunk/include/stackarg.h /SPARTAN/trunk/include/synch/semaphore.h /SPARTAN/trunk/include/synch/waitq.h /SPARTAN/trunk/include/time/timeout.h /SPARTAN/trunk/src/cpu/cpu.c /SPARTAN/trunk/src/main/kinit.c /SPARTAN/trunk/src/mm/frame.c /SPARTAN/trunk/src/mm/page.c /SPARTAN/trunk/src/proc/scheduler.c /SPARTAN/trunk/src/proc/thread.c /SPARTAN/trunk/src/time/clock.c /SPARTAN/trunk/src/time/timeout.c /SPARTAN/trunk/test/fpu/fpu1/test.c
|
121 |
6972 d 18 h |
jermar |
/SPARTAN/trunk/ |
Begin MIPS implementation of 4-level page table interface.
Add email address to each item in doc/AUTHORS.
Correct type names in comments in mm/vm.c.
Introduce ptl0 pointer in vm_t. |
|
/SPARTAN/trunk/arch/ia64/include/mm/page.h /SPARTAN/trunk/arch/mips/include/mm/frame.h /SPARTAN/trunk/arch/mips/include/mm/page.h /SPARTAN/trunk/arch/mips/include/mm/tlb.h /SPARTAN/trunk/arch/mips/src/mm/page.c /SPARTAN/trunk/doc/AUTHORS /SPARTAN/trunk/include/mm/page.h /SPARTAN/trunk/include/mm/vm.h /SPARTAN/trunk/src/mm/vm.c
|
120 |
6986 d 16 h |
jermar |
/SPARTAN/trunk/ |
Generic 4-level page tables interface & implementation (review & test).
Implement more architecture dependant macros on IA-32.
Provide fake implementation on IA-64 and MIPS.
Convert map_page_to_frame() to use the new interface.
Move adjusted map_page_to_frame() from IA-32's arch/mm/page.c to the generic mm/page.c. |
|
/SPARTAN/trunk/arch/ia32/include/mm/page.h /SPARTAN/trunk/arch/ia32/src/mm/page.c /SPARTAN/trunk/arch/ia64/include/mm/page.h /SPARTAN/trunk/arch/ia64/src/fake.s /SPARTAN/trunk/arch/mips/include/mm/page.h /SPARTAN/trunk/arch/mips/src/mm/page.c /SPARTAN/trunk/include/mm/page.h /SPARTAN/trunk/include/typedefs.h /SPARTAN/trunk/src/mm/page.c
|
119 |
6987 d 19 h |
jermar |
/SPARTAN/trunk/ |
Start with generic 4-level page table interface.
Usual cleanup. |
|
/SPARTAN/trunk/doc/mm
/SPARTAN/trunk/arch/ia32/include/mm/page.h /SPARTAN/trunk/include/mm/page.h /SPARTAN/trunk/src/Makefile.config /SPARTAN/trunk/test/fpu/fpu1/test.c /SPARTAN/trunk/test/synch/rwlock5/test.c /SPARTAN/trunk/test/synch/semaphore1/test.c
|
118 |
7000 d 21 h |
jermar |
/SPARTAN/trunk/ |
Replace confusing comment in scheduler.c.
Add warning/explanatory comment to arch.h saying that CPU, THREAD and TASK macros are preemption-unsafe. |
|
/SPARTAN/trunk/include/arch.h /SPARTAN/trunk/src/proc/scheduler.c
|
117 |
7003 d 0 h |
jermar |
/SPARTAN/trunk/ |
Do panic() on page_fault().
Good for long testing in SMP mode as silent "extinctions" of a CPU are no longer supported.
Tiny changes here and there. |
|
/SPARTAN/trunk/arch/ia32/src/interrupt.c /SPARTAN/trunk/arch/ia32/src/smp/ap.S /SPARTAN/trunk/arch/ia32/src/smp/apic.c /SPARTAN/trunk/doc/requirements /SPARTAN/trunk/src/Makefile.config
|
116 |
7006 d 23 h |
jermar |
/SPARTAN/trunk/ |
Add map_structure() to automate mapping of memory structures that can span multiple pages and/or cross page boundaries.
Change ACPI map_sdt() to use map_structure().
Small changes in MPS code.
The extra frame allocation for accessing frame 0 is unnecessary as it is possible to access frame 0 from kernel address space.
Zero TSS descriptor in the newly prepared GDT. |
|
/SPARTAN/trunk/arch/ia32/include/atomic.h /SPARTAN/trunk/arch/ia32/src/acpi/acpi.c /SPARTAN/trunk/arch/ia32/src/mm/page.c /SPARTAN/trunk/arch/ia32/src/smp/mps.c /SPARTAN/trunk/include/mm/page.h /SPARTAN/trunk/src/mm/page.c
|
115 |
7007 d 16 h |
jermar |
/SPARTAN/trunk/ |
Implement several assembler functions in gcc's __asm__ notation instead of in .s or .S file.
Gain both better speed and size. |
|
/SPARTAN/trunk/arch/ia32/include/asm.h /SPARTAN/trunk/arch/ia32/include/atomic.h /SPARTAN/trunk/arch/ia32/src/asm.s /SPARTAN/trunk/arch/ia32/src/atomic.S /SPARTAN/trunk/arch/ia32/src/interrupt.c /SPARTAN/trunk/arch/ia32/src/mm/page.c /SPARTAN/trunk/arch/ia32/src/mm/tlb.c /SPARTAN/trunk/arch/ia32/src/smp/apic.c /SPARTAN/trunk/doc/requirements /SPARTAN/trunk/src/debug/print.c /SPARTAN/trunk/src/mm/frame.c /SPARTAN/trunk/src/mm/heap.c /SPARTAN/trunk/src/mm/vm.c /SPARTAN/trunk/src/proc/scheduler.c /SPARTAN/trunk/src/proc/thread.c /SPARTAN/trunk/src/synch/semaphore.c
|
114 |
7008 d 2 h |
jermar |
/SPARTAN/trunk/src/proc/ |
Fix wrong locking order in scheduler. |
|
/SPARTAN/trunk/src/proc/scheduler.c
|
113 |
7010 d 15 h |
jermar |
/SPARTAN/trunk/ |
SMP recovery patch #2 (SMP is no longer broken !!!).
Fix missing KA2PA() operation in ap.S which was causing page faults during AP early initialization.
Fix bug in map_page_to_frame(): 'root' was interpretted as kernel address while read_dba() returns physical address.
Make references to page directory and page tables use kernel addresses instead of physical addresses.
Massive frame allocation code cleanup.
Basically revert to what we had had before implementation of userspace.
Usual cosmetics. |
|
/SPARTAN/trunk/arch/ia32/src/boot/boot.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/ia32/src/smp/ap.S /SPARTAN/trunk/arch/ia32/src/smp/mps.c /SPARTAN/trunk/arch/mips/src/mm/frame.c /SPARTAN/trunk/src/mm/frame.c /SPARTAN/trunk/src/proc/scheduler.c
|
112 |
7010 d 19 h |
jermar |
/SPARTAN/trunk/ |
Define two placeholder functions for atomic_inc and atomic_dec on IA-64.
Add Ondrej Palkovsky to doc/AUTHORS.
Tweaks in IA-32 low level code to bring SMP back to life. (SMP still broken) |
|
/SPARTAN/trunk/arch/ia32/src/boot/boot.S /SPARTAN/trunk/arch/ia32/src/pm.c /SPARTAN/trunk/arch/ia32/src/smp/ap.S /SPARTAN/trunk/arch/ia32/src/smp/apic.c /SPARTAN/trunk/arch/ia64/include/atomic.h /SPARTAN/trunk/arch/mips/include/atomic.h /SPARTAN/trunk/doc/AUTHORS /SPARTAN/trunk/doc/requirements /SPARTAN/trunk/src/Makefile.config
|
111 |
7010 d 20 h |
palkovsky |
/SPARTAN/trunk/ |
Code cleanup in scheduler.c thread.c - removed unnecessary spinlock.
atomic_inc, atomic_dec moved to arch/atomic.h instead of arch/smp/atomic.h,
advisable to use even in non-smp mode.
Fixed atomic_inc, atomic_dec in mips architecture. |
|
/SPARTAN/trunk/arch/ia32/include/atomic.h /SPARTAN/trunk/arch/ia32/src/atomic.S /SPARTAN/trunk/arch/mips/include/atomic.h
/SPARTAN/trunk/arch/ia32/include/smp/atomic.h /SPARTAN/trunk/arch/ia32/src/smp/atomic.S /SPARTAN/trunk/arch/mips/include/smp/atomic.h
/SPARTAN/trunk/arch/ia32/Makefile.inc /SPARTAN/trunk/arch/mips/_link.ld /SPARTAN/trunk/include/proc/scheduler.h /SPARTAN/trunk/src/Makefile /SPARTAN/trunk/src/mm/tlb.c /SPARTAN/trunk/src/proc/scheduler.c /SPARTAN/trunk/src/proc/thread.c /SPARTAN/trunk/src/synch/spinlock.c /SPARTAN/trunk/src/time/clock.c /SPARTAN/trunk/test/fpu/fpu1/test.c /SPARTAN/trunk/test/synch/rwlock1/test.c /SPARTAN/trunk/test/synch/rwlock2/test.c /SPARTAN/trunk/test/synch/rwlock3/test.c /SPARTAN/trunk/test/synch/rwlock4/test.c /SPARTAN/trunk/test/synch/rwlock5/test.c /SPARTAN/trunk/test/synch/semaphore1/test.c /SPARTAN/trunk/test/synch/semaphore2/test.c
|
110 |
7012 d 0 h |
jermar |
/SPARTAN/trunk/ |
SMP recovery patch #1. (SMP still broken)
Move ap_boot() to K_TEXT_START_2 section.
Change ap_boot() to cope with mapping of kernel address space.
Change some addresses in mps.c from kernel to physical.
MIPS.
Move msim dprinter device to 0xB0000000.
This address is from kseg1 (unmapped, uncached) segment. |
|
/SPARTAN/trunk/arch/ia32/_link.ld /SPARTAN/trunk/arch/ia32/src/boot/boot.S /SPARTAN/trunk/arch/ia32/src/boot/memmap.S /SPARTAN/trunk/arch/ia32/src/mm/page.c /SPARTAN/trunk/arch/ia32/src/pm.c /SPARTAN/trunk/arch/ia32/src/smp/ap.S /SPARTAN/trunk/arch/ia32/src/smp/apic.c /SPARTAN/trunk/arch/ia32/src/smp/mps.c /SPARTAN/trunk/arch/mips/src/putchar.c /SPARTAN/trunk/doc/arch/mips /SPARTAN/trunk/src/Makefile.config
|
109 |
7013 d 20 h |
jermar |
/SPARTAN/trunk/ |
Discard 'copy' parameter of map_page_to_frame().
Introduce 'root' parameter of map_page_to_frame().
If 'root' is zero, page directory address is read from CPU.
Otherwise 'root' is used as page directory address.
Add missing word to new doxygen-style comments in scheduler.c. |
|
/SPARTAN/trunk/arch/ia32/src/mm/page.c /SPARTAN/trunk/arch/mips/src/mm/page.c /SPARTAN/trunk/include/mm/page.h /SPARTAN/trunk/src/proc/scheduler.c
|