Subversion Repositories HelenOS

Rev

Go to most recent revision | Hide changed files | Directory listing | RSS feed

Filtering Options

Rev Age Author Path Log message Diff Changes
167 6889 d 7 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
166 6891 d 0 h decky /SPARTAN/trunk/arch/ppc/ prepare for PPC console support  
/SPARTAN/trunk/arch/ppc/include/vga.h
/SPARTAN/trunk/arch/ppc/src/drivers
/SPARTAN/trunk/arch/ppc/src/drivers/vga.c
/SPARTAN/trunk/arch/ppc/src/putchar.c
/SPARTAN/trunk/arch/ppc/Makefile.inc
165 6891 d 1 h palkovsky /SPARTAN/trunk/arch/amd64/boot/ Copied from ia32, bootloader can be the same.  
/SPARTAN/trunk/arch/amd64/boot/Makefile
164 6891 d 1 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
163 6891 d 6 h decky /SPARTAN/trunk/arch/ppc/ first booting ELF  
/SPARTAN/trunk/arch/ppc/src/ppc.c
/SPARTAN/trunk/arch/ppc/src/powerpc.c
/SPARTAN/trunk/arch/ppc/Makefile.inc
/SPARTAN/trunk/arch/ppc/_link.ld
/SPARTAN/trunk/arch/ppc/boot/boot.s
/SPARTAN/trunk/arch/ppc/src/mm/page.c
/SPARTAN/trunk/arch/ppc/src/start.S
162 6891 d 8 h decky /SPARTAN/trunk/arch/ppc/ PPC linker script  
/SPARTAN/trunk/arch/ppc/src/asm.s
/SPARTAN/trunk/arch/ppc/src/cpu
/SPARTAN/trunk/arch/ppc/src/mm
/SPARTAN/trunk/arch/ppc/src/mm/frame.c
/SPARTAN/trunk/arch/ppc/src/mm/page.c
/SPARTAN/trunk/arch/ppc/src/putchar.c
/SPARTAN/trunk/arch/ppc/Makefile.inc
/SPARTAN/trunk/arch/ppc/_link.ld
/SPARTAN/trunk/arch/ppc/boot/Makefile
/SPARTAN/trunk/arch/ppc/boot/boot.s
/SPARTAN/trunk/arch/ppc/src/dummy.s
161 6893 d 8 h jermar /SPARTAN/trunk/arch/ For all relevant architectures, rename fake.s to dummy.s to better reflect the purpose of the file.
Also define global symbol called dummy.
 
/SPARTAN/trunk/arch/ia64/src/dummy.s
/SPARTAN/trunk/arch/mips/src/dummy.s
/SPARTAN/trunk/arch/ppc/src/dummy.s
/SPARTAN/trunk/arch/ia64/src/fake.s
/SPARTAN/trunk/arch/mips/src/fake.s
/SPARTAN/trunk/arch/ppc/src/fake.s
/SPARTAN/trunk/arch/ia64/Makefile.inc
/SPARTAN/trunk/arch/mips/Makefile.inc
/SPARTAN/trunk/arch/ppc/Makefile.inc
160 6896 d 21 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
159 6896 d 21 h jermar /SPARTAN/trunk/arch/ppc/include/ Fix copyright dates.  
/SPARTAN/trunk/arch/ppc/include/cpu.h
/SPARTAN/trunk/arch/ppc/include/interrupt.h
/SPARTAN/trunk/arch/ppc/include/mm/page.h
/SPARTAN/trunk/arch/ppc/include/thread.h
/SPARTAN/trunk/arch/ppc/include/types.h
158 6897 d 5 h decky /SPARTAN/trunk/src/mm/ remove forgotten comment  
/SPARTAN/trunk/src/mm/page.c
157 6897 d 5 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 6897 d 8 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
155 6898 d 22 h decky /SPARTAN/trunk/arch/powerpc/boot/ PPC preparation work (not working yet)  
/SPARTAN/trunk/arch/powerpc/boot/boot.s
154 6900 d 20 h jermar /SPARTAN/trunk/ Update TODO.
Explicitly mark places of interest related to memory barriers on non-IA-32 architectures with TODO remarks so that they don't get forgotten.
 
/SPARTAN/trunk/arch/ia64/include/barrier.h
/SPARTAN/trunk/arch/mips/include/barrier.h
/SPARTAN/trunk/doc/TODO
153 6900 d 21 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
152 6912 d 22 h decky /SPARTAN/trunk/arch/ia64/ Cleanup  
/SPARTAN/trunk/arch/ia64/_link.ld
151 6912 d 23 h decky /SPARTAN/trunk/arch/ia64/ Remove unnecessary IA64 unwind tables
Cleanup IA64 linker script
Thus IA64 port compiles again (and also works hopefully)
 
/SPARTAN/trunk/arch/ia64/Makefile.inc
/SPARTAN/trunk/arch/ia64/_link.ld
150 6913 d 0 h jermar /SPARTAN/trunk/doc/ Documentation changes.
Most importantly, update information about supported binutils and gcc versions.
 
/SPARTAN/trunk/doc/TODO
/SPARTAN/trunk/doc/requirements
149 6913 d 0 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
148 6918 d 4 h jermar /SPARTAN/trunk/arch/mips/ Add -mno-abicalls to prevent generating of PIC code.
Remove -mxgot option.
The MIPS port is functional again.
 
/SPARTAN/trunk/arch/mips/Makefile.inc
147 6918 d 5 h jermar /SPARTAN/trunk/arch/ Add missing memory_init.h files for IA-64 and MIPS architectures.
Fix typo in IA-32's memory_init.h.
 
/SPARTAN/trunk/arch/ia64/include/mm/memory_init.h
/SPARTAN/trunk/arch/mips/include/mm/memory_init.h
/SPARTAN/trunk/arch/ia32/include/mm/memory_init.h
146 6918 d 6 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
145 6918 d 6 h decky /SPARTAN/trunk/contrib/ IA-64 toolchain build script (at least)  
/SPARTAN/trunk/contrib/toolchain.ia64.sh
144 6918 d 6 h vana /SPARTAN/trunk/ Coding style fix  
/SPARTAN/trunk/arch/ia32/src/pm.c
/SPARTAN/trunk/arch/ia32/src/userspace.c
/SPARTAN/trunk/doc/TODO
143 6918 d 6 h vana /SPARTAN/trunk/ Disable alignment check  
/SPARTAN/trunk/arch/ia32/src/pm.c
/SPARTAN/trunk/doc/TODO
142 6918 d 7 h vana /SPARTAN/trunk/arch/ia32/src/ Typing error fixed  
/SPARTAN/trunk/arch/ia32/src/asm.S
/SPARTAN/trunk/arch/ia32/src/userspace.c
141 6918 d 7 h vana /SPARTAN/trunk/ Clear IOPL on start of system on all CPUs and clear NT before all irets.  
/SPARTAN/trunk/arch/ia32/src/asm.S
/SPARTAN/trunk/arch/ia32/src/cpu/cpu.c
/SPARTAN/trunk/arch/ia32/src/pm.c
/SPARTAN/trunk/arch/ia32/src/userspace.c
/SPARTAN/trunk/doc/TODO
140 6919 d 1 h decky /SPARTAN/trunk/contrib/ AMD64 toolchain build script  
/SPARTAN/trunk/contrib/toolchain.amd64.sh
139 6919 d 3 h cejka /SPARTAN/trunk/arch/ia32/ Added e801 method for obtaining memory size, improved e820 method for memory map.  
/SPARTAN/trunk/arch/ia32/include/boot/memmapasm.h
/SPARTAN/trunk/arch/ia32/include/asm.h
/SPARTAN/trunk/arch/ia32/include/boot/memmap.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
138 6919 d 4 h decky /SPARTAN/trunk/contrib/ Toolchain build scripts for PowerPC (G4) and PowerPC 64b (G5)  
/SPARTAN/trunk/contrib/toolchain.powerpc.sh
/SPARTAN/trunk/contrib/toolchain.ppc64.sh
137 6919 d 5 h vana /SPARTAN/trunk/arch/ia32/src/ Comments  
/SPARTAN/trunk/arch/ia32/src/asm.S
136 6919 d 5 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 6919 d 6 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
134 6919 d 6 h decky /SPARTAN/trunk/arch/mips/include/mm/ Add missing asid.h  
/SPARTAN/trunk/arch/mips/include/mm/asid.h
133 6919 d 8 h decky /SPARTAN/trunk/contrib/ Directory for toolchain build scripts and other stuff

MIPS toolchain
 
/SPARTAN/trunk/contrib
/SPARTAN/trunk/contrib/toolchain.mips.sh
132 6919 d 9 h vana /SPARTAN/trunk/arch/ia32/ Added support for error-word generating exceptions in return routine.  
/SPARTAN/trunk/arch/ia32/src/asm.S
/SPARTAN/trunk/arch/ia32/src/asm.s
/SPARTAN/trunk/arch/ia32/Makefile.inc
131 6919 d 9 h jermar /SPARTAN/trunk/arch/ia32/src/ Initialize kmp_completion_wq during configuration via ACPI MADT.
Move some generic SMP configuration code from mps.c to smp.c.
 
/SPARTAN/trunk/arch/ia32/src/acpi/madt.c
/SPARTAN/trunk/arch/ia32/src/smp/mps.c
/SPARTAN/trunk/arch/ia32/src/smp/smp.c
130 6919 d 9 h decky /SPARTAN/trunk/arch/mips/ Make MIPS target compile and link properly with the new 4.0.1 MIPS toolchain  
/SPARTAN/trunk/arch/mips/Makefile.inc
/SPARTAN/trunk/arch/mips/_link.ld
/SPARTAN/trunk/arch/mips/boot/Makefile
/SPARTAN/trunk/arch/mips/boot/boot.s
/SPARTAN/trunk/arch/mips/src/mm/asid.c
/SPARTAN/trunk/arch/mips/src/mm/tlb.c
129 6920 d 5 h jermar /SPARTAN/trunk/arch/ia32/ Implement ACPI MADT operations for interface used by kmp.  
/SPARTAN/trunk/arch/ia32/include/acpi/madt.h
/SPARTAN/trunk/arch/ia32/src/acpi/madt.c
/SPARTAN/trunk/arch/ia32/src/smp/smp.c
128 6921 d 7 h jermar /SPARTAN/trunk/arch/ia32/ Create IA-32 interface for bringing SMP up.
This interface hides differences between ACPI MADT and MPS configuration tables.
Provide MPS implementation thereof.
 
/SPARTAN/trunk/arch/ia32/include/smp/smp.h
/SPARTAN/trunk/arch/ia32/include/smp/mps.h
/SPARTAN/trunk/arch/ia32/src/smp/mps.c
/SPARTAN/trunk/arch/ia32/src/smp/smp.c