Subversion Repositories HelenOS-historic

Rev

Go to most recent revision | Show changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
1292 6604 d 0 h vana /kernel/trunk/arch/ VESA FB cut unwanted  
1289 6604 d 2 h vana /kernel/trunk/arch/ Amd64 framebuffer  
1287 6604 d 5 h vana /kernel/trunk/ ia32 VESA FB support  
1251 6611 d 1 h jermar /kernel/trunk/ Fix BITS2BYTES macro to return 0 when passed 0 as argument.
Fix ia32 TSS segment granularity to be 0.
Fix ia32 and amd64 initial TSS limit to be 103.
Little textual changes here and there.
 
1189 6625 d 22 h jermar /kernel/trunk/arch/ia32/src/ Add important comment.  
1188 6625 d 22 h jermar /kernel/trunk/arch/ia32/src/ Fix wrong order of operations.  
1187 6625 d 22 h jermar /kernel/trunk/ Cleanup pm.c and pm.h code on ia32 and amd64.
Add before_task_runs() and before_task_runs_arch() for each architecture.
Add ia32 and amd64 code to ensure I/O Permission Bitmap update.
 
1186 6625 d 23 h jermar /kernel/trunk/arch/ Replace assembly from pm.c with new inline functions defined in asm.h.  
1112 6647 d 5 h palkovsky /kernel/trunk/ Added basic kernel infrastructure for ThreadLocalStorage(TLS) for
ia32(complete),amd64(complete),mips32(missing emulation of rdhwr instruction).
 
1019 6654 d 23 h vana /kernel/trunk/arch/ia32/ ia32 MMX and SSEx support  
958 6656 d 19 h jermar /kernel/trunk/ Nicer ia32 interrupt handlers and structures holding interrupted context data.
Unify the name holding interrupted context data on all architectures to be istate.
 
822 6689 d 16 h palkovsky /kernel/trunk/ Changed malloc to include second parameter and documented
recommended usage.
Added zone merging, made ia32 & amd64 to merge found zones.
 
814 6690 d 3 h palkovsky /kernel/trunk/ Cleanup o frame allocator.
Removed early_malloc & initial heap.
Will break ia64, ppc & sparc.
Added e820 table print.
 
693 6720 d 22 h decky /kernel/trunk/arch/ia32/ simplify and cleanup ia32 boot process, remove obsolete stuff  
576 6750 d 14 h palkovsky /kernel/trunk/ Changed ia32 & amd64 to use exc_register instead of trap_register.

Fixed dependency list building. I hope you all have 'makedepend' installed,
if you don't it's time to install it, as CC -M builds the dependency
list without directory names..and it just does not work.
 
534 6755 d 20 h jermar / Rename HelenOS/SPARTAN to HelenOS/kernel again.  
532 6755 d 20 h jermar / Revert renaming of HelenOS/SPARTAN to HelenOS/kernel because of important pending patch.  
501 6768 d 0 h jermar / Rename HelenOS/SPARTAN to HelenOS/kernel.  
334 6840 d 2 h jermar /SPARTAN/trunk/arch/ Cleanup.
Cancel __fake in pm.c and replace it with LONG(0xdeadbeaf) in linker script. Still need some to find out why it must be there.
Remove comment saying, that mips is little-endian.
 
300 6846 d 3 h palkovsky /SPARTAN/trunk/arch/ia32/ Backported AMD64 linker and boot changes back to IA32.  
279 6847 d 17 h decky /SPARTAN/trunk/arch/ia32/ GRUB basic booting (IA-32)  
271 6847 d 22 h decky /SPARTAN/trunk/arch/ia32/src/ yet another GDT/IDT fix/cleanup  
269 6847 d 23 h decky /SPARTAN/trunk/arch/ia32/ make IA-32 SMP work again (finally)  
267 6848 d 0 h decky /SPARTAN/trunk/arch/ia32/ proper way of initializing GDT during boot on IA-32, fixes the nasty hack
SMP might be still broken
 
244 6849 d 0 h decky /SPARTAN/trunk/arch/ia32/src/ temporarily fix IA-32 boot bug  
232 6850 d 0 h jermar /SPARTAN/trunk/arch/ia32/src/ Fix addresses in GDT and IDT to be virtual addresses.  
195 6851 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
 
167 6863 d 2 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.
 
144 6892 d 1 h vana /SPARTAN/trunk/ Coding style fix  
143 6892 d 2 h vana /SPARTAN/trunk/ Disable alignment check  
141 6892 d 2 h vana /SPARTAN/trunk/ Clear IOPL on start of system on all CPUs and clear NT before all irets.  
125 6897 d 17 h jermar /SPARTAN/trunk/ Huge indentation fix.  
113 6936 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.
 
112 6936 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)
 
110 6938 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.
 
105 6940 d 15 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.
 
84 6955 d 3 h vana /SPARTAN/trunk/ IA-32 FPU lazy context switching.
Doesn't work on Bochs and sometimes produces wrong results on P4.
Seems to work on VMware and PII.

Build script for IA-32 changed to build floppy images (image.bin) 1440K long.
 
73 6962 d 17 h vana /SPARTAN/trunk/ Finished FPU lazy context switching - first version. I have not tested it and there are many things which must be changed when
it runs first time OK.
 
68 6962 d 20 h decky /SPARTAN/trunk/ NDEBUG debug symbol, ASSERT debug macro, fancier panic() in debug mode
indentation fixes, ASSERTs
 
22 6986 d 21 h jermar /SPARTAN/trunk/ Added before_thread_runs() to cope with TSS of user space tasks.