Subversion Repositories HelenOS

Rev

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

Filtering Options

Rev Age Author Path Log message Diff
227 6874 d 8 h jermar /SPARTAN/trunk/ Add couple of assertions CPU != NULL.

Change type of nrdy from int to count_t.

Rewrite halt() to avoid page fault when CPU == NULL.
 
226 6874 d 8 h palkovsky /SPARTAN/trunk/ Fixed typo in 'outb' instruction.
Paging basically working.
 
225 6874 d 11 h jermar /SPARTAN/trunk/test/synch/rwlock4/ Revert the change in rwlock #4 test that added cpu_priority_high() and cpu_priority_restore() to random().
It is no longer necessary because spinlock disables preemption at least.
 
224 6874 d 13 h palkovsky /SPARTAN/trunk/arch/ Interrupts for amd64.  
223 6874 d 13 h jermar /SPARTAN/trunk/ Preemption work.
Instrument spinlock functions with preemption_disable() and preemption_enable() calls.
 
222 6874 d 14 h decky /SPARTAN/trunk/arch/ia32/ IA-32 GRUB support (alpha)  
221 6874 d 14 h jermar /SPARTAN/trunk/ Preemption work.
Define PREEMPTION_DISABLED macro.
This macro determines the level of preemptivity (0 = preemption enabled, THE->preemption_disabled = no preemption inside spinlock, 1 = preemption disabled).
Reformulate preemption code in clock.c to consider PREEMPTION_DISABLED.
 
220 6874 d 14 h vana /SPARTAN/trunk/ Universal exception handler and all exceptions routine to call it added  
219 6874 d 21 h palkovsky /SPARTAN/trunk/ Fixed bad type in frame.c.
Amd64 prints banner.
 
218 6874 d 22 h decky /SPARTAN/trunk/arch/ppc/ update PPC for new hardcoded_* method  
217 6874 d 22 h palkovsky /SPARTAN/trunk/arch/ia32/ Bugfix.  
216 6874 d 23 h palkovsky /SPARTAN/trunk/ hardcoded_symbol fixed into linker script on amd64/ia32/mips architecture  
215 6875 d 0 h jermar /SPARTAN/trunk/contrib/ Add two more emulator config files.  
214 6875 d 0 h vana /SPARTAN/trunk/src/  
213 6875 d 1 h jermar /SPARTAN/trunk/ Add some comments.  
212 6875 d 1 h vana /SPARTAN/trunk/ Basic exception support added for ia64 arch ......  
211 6875 d 1 h palkovsky /SPARTAN/trunk/arch/amd64/ SVN cleanup  
210 6875 d 1 h decky /SPARTAN/trunk/ many PPC stuff, platform dependent arch.h header files  
209 6875 d 1 h decky /SPARTAN/trunk/contrib/ MSIM configuration file  
208 6875 d 10 h palkovsky /SPARTAN/trunk/ arch_pre_init_mm now working.  
207 6875 d 11 h decky /SPARTAN/trunk/ separated stack mapping  
206 6875 d 12 h palkovsky /SPARTAN/trunk/ Better types for ia32 drivers, so that they can be reused in amd64.
Build script cleanup amd64.
New code / not working yet / in amd64.
 
205 6875 d 13 h jermar /SPARTAN/trunk/ Get rid of memcopy().
All we now have is memcpy() and _memcpy().
memcpy() is defined to be builtin.
Where not applicable, architectures must implement memcpy() code or call slowish _memcopy().
 
204 6875 d 13 h decky /SPARTAN/trunk/arch/ppc/include/ PPC interrupt high/low/restore  
203 6875 d 14 h decky /SPARTAN/trunk/contrib/ cross-compiler toolchain build script for IA-32  
202 6876 d 0 h palkovsky /SPARTAN/trunk/src/lib/ Fixed bad types in memsetw.  
201 6876 d 0 h decky /SPARTAN/trunk/arch/ppc/ header fixes  
200 6876 d 0 h palkovsky /SPARTAN/trunk/ Added putchar to AMD  
199 6876 d 1 h decky /SPARTAN/trunk/arch/ppc/ PPC context save/restore  
198 6876 d 1 h jermar /SPARTAN/trunk/ Switch order of 'src' and 'dst' arguments in some left-over uses of memcopy.

Cleanup.
 
197 6876 d 2 h palkovsky /SPARTAN/trunk/ Context-save/restore in AMD64  
196 6876 d 2 h vana /SPARTAN/trunk/arch/ia32/src/ ASM version of memcopy repaired on ia32  
195 6876 d 3 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
 
194 6876 d 5 h palkovsky /SPARTAN/trunk/arch/amd64/ Code cleanup.  
193 6876 d 5 h decky /SPARTAN/trunk/arch/ppc/include/drivers/ remove obsolete structures  
192 6876 d 5 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.
 
191 6876 d 5 h decky /SPARTAN/trunk/arch/ppc/ PPC memory size detection  
190 6876 d 6 h decky /SPARTAN/trunk/arch/ppc/src/debug/ PPC panic()  
189 6876 d 7 h decky /SPARTAN/trunk/arch/ppc/include/asm/ PPC assembler register names  
188 6876 d 8 h palkovsky /SPARTAN/trunk/arch/amd64/ AMD64 now can switch into long mode.
Basic page tables working.