Subversion Repositories HelenOS

Rev

Show changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
4095 5579 d 6 h decky /trunk/kernel/arch/ make cpu_halt() really halt the execution  
4021 5588 d 3 h jermar /trunk/kernel/ There is no need to define ioport{8,16,32}_t types for each architecture separately.  
4016 5588 d 9 h decky /trunk/kernel/ better inline assembler readability using the new symbolic syntax  
3946 5598 d 7 h jermar /trunk/kernel/arch/ia32/include/ Fix ia32's pio_{read,write}_32().  
3929 5600 d 2 h jermar /trunk/kernel/arch/ Introduce ioport8_t, ioport16_t and ioport32_t. These types are to be used with
pio_read_n() and pio_write_n() functions. This breaks everything.
 
3902 5604 d 8 h jermar /trunk/kernel/ Introduce a more platform-neutral name for programmed I/O.

The new API looks like pio_read_n() or pio_write_n(), where n is 8, 16 or 32.
The old API (i.e. inb(), inw(), inl(), outb() outw(), outl()) may have made
some people think that the interface is only to be used with the separate I/O
space. That's not the case. This API is to be implemented on all platforms
so that we can finally have really generic kernel device drivers.
 
3485 5737 d 3 h jermar /trunk/ Support for SYSENTER on ia32.  
2444 6230 d 0 h jermar /trunk/kernel/ First fixes for suncc support.
It is going to be a long way...
 
2441 6230 d 2 h decky /trunk/kernel/ fix ICC compilation  
2233 6282 d 3 h decky /trunk/kernel/arch/ use the hlt instruction more properly  
2082 6359 d 11 h decky /trunk/ __asm__ __volatile__ -> asm volatile  
2071 6364 d 3 h jermar /trunk/ (c) versus (C)  
2018 6401 d 6 h decky /trunk/kernel/ rename rdtsc() to get_cycle()  
1888 6489 d 7 h jermar /trunk/ C99 compliant header guards (hopefully) everywhere in the kernel.
Formatting and indentation changes.
Small improvements in sparc64.
 
1787 6554 d 6 h decky / move kernel/trunk, uspace/trunk and boot/trunk to trunk/kernel, trunk/uspace and trunk/boot  
1780 6561 d 7 h jermar /kernel/trunk/ Replace old __u?? types with respective C99 variants (e.g. uint32_t, int64_t, uintptr_t etc.).  
1702 6582 d 10 h cejka /kernel/trunk/ Kernel doxygen comments updated.  
1251 6628 d 9 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.
 
1187 6643 d 6 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 6643 d 8 h jermar /kernel/trunk/arch/ Replace assembly from pm.c with new inline functions defined in asm.h.  
1074 6670 d 12 h palkovsky /kernel/trunk/ Ported AMD64 debugger to ia32 and enabled AS watchpoint to ia32 as well.  
984 6673 d 8 h palkovsky /kernel/trunk/arch/ Fixed invlpg for ia32 & amd64.  
597 6766 d 10 h jermar /kernel/trunk/ Finer grained TLB invalidate functions for ia32 and amd64. Not yet deployed.  
581 6767 d 12 h palkovsky /kernel/trunk/ Small debug changes.  
534 6773 d 4 h jermar / Rename HelenOS/SPARTAN to HelenOS/kernel again.  
532 6773 d 4 h jermar / Revert renaming of HelenOS/SPARTAN to HelenOS/kernel because of important pending patch.  
501 6785 d 9 h jermar / Rename HelenOS/SPARTAN to HelenOS/kernel.  
432 6804 d 4 h jermar /SPARTAN/trunk/arch/ IA-64 work.
Add some asm functions for manipulation with PSR, AR and CR registers.
 
413 6821 d 0 h jermar /SPARTAN/trunk/ Rename cpu_priority_{high|low|restore|read} functions to interrupts_{disable|enable|restore|read}.
Rename pri_t to ipl_t (Interrupt Priority Level).
Rename thread_t::pri to thread_t::priority.
 
393 6833 d 4 h bondari /SPARTAN/trunk/arch/ia32/include/ Comments fixed  
363 6849 d 3 h jermar /SPARTAN/trunk/arch/ Fix copyright notices.  
361 6849 d 4 h bondari /SPARTAN/trunk/ Memory routines per-arch declations for future implementation  
359 6850 d 2 h bondari /SPARTAN/trunk/arch/ia32/include/ I think some comments to the algoritm would be helful  
358 6850 d 2 h bondari /SPARTAN/trunk/ built-in memcpy is not used anymore on IA-32.
IA-32 memcpy is now fast and inline.
 
356 6850 d 4 h bondari /SPARTAN/trunk/arch/ia32/ Get from port functions are now inline  
353 6850 d 15 h bondari /SPARTAN/trunk/arch/ia32/ Outb, outw, outl are now inline functions  
352 6851 d 3 h bondari /SPARTAN/trunk/arch/ia32/ outb inline function  
348 6855 d 3 h jermar /SPARTAN/trunk/arch/ Optimize some assembler functions.  
195 6869 d 4 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
 
192 6869 d 6 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.