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
3164 5836 d 8 h jermar /trunk/ First argument of atomic functions is read-write (ia32).  
3134 5838 d 19 h jermar /trunk/kernel/arch/ Add smc_coherence_block().  
3133 5839 d 9 h jermar /trunk/kernel/arch/ Add smc_coherence() macro to all architectures.
So far, only amd64, ia32, ia64 and sparc64 are implemented.
 
3104 5846 d 22 h svoboda /trunk/kernel/ Declare arguments for memstr.h operations as pointers instead of uintptr_t.  
3092 5849 d 0 h jermar /trunk/kernel/arch/ia32/include/ Better comments for pretty print formatters.  
3071 5849 d 15 h decky /trunk/kernel/ reflect changes in generic code
proper formatting directives
coding style
 
3070 5849 d 15 h decky /trunk/kernel/arch/ introduce portable formatting directives
remove common types
 
3043 5850 d 9 h jermar /trunk/kernel/arch/ia32/ Some inline functions in memstr.h seem to be of uncertain origin (ia32).
Replace either with built-in functions or with generic functions.
 
3041 5850 d 17 h svoboda /trunk/kernel/arch/ia32/include/ Fix register-constraint typo in ia32 memstr.h and add two '&'s for symmetry's sake. (None were really causing trouble)  
2797 5910 d 10 h jermar /trunk/kernel/ Each architecture should only announce its endianity.
The conversion macros should be defined only once.
 
2794 5911 d 10 h jermar /trunk/kernel/ Add macros for byte swapping of uint16_t's.  
2774 5929 d 21 h cejka /trunk/kernel/arch/ Context.s renamed to context.S for ia32 and fixed links for ia32xen.
Added asm macros for context save/restore and offset definitions.
 
2725 5967 d 16 h decky /trunk/kernel/ remove config.memory_size, get_memory_size() and memory_init.{c|d}
the amount of available memory can be calculated from the sizes of the zones
add FRAMES2SIZE, SIZE2KB and SIZE2MB functions/macros (code readability)
 
2723 5968 d 14 h decky /trunk/kernel/arch/ remove memory_print_map(), as it duplicates functionality of physmem_print()  
2721 5968 d 16 h decky /trunk/kernel/ convert e820list to a generic physmem command  
2630 6039 d 8 h jermar /trunk/kernel/arch/ Formatting fixes.  
2612 6048 d 10 h jermar /trunk/kernel/arch/ Cleanup.  
2467 6205 d 12 h jermar /trunk/ Improve comments for arch-specific implementations of hierarchical
4-level page tables. Improve formatting.
 
2465 6210 d 15 h jermar /trunk/ Merge arm32 into trunk.  
2444 6218 d 6 h jermar /trunk/kernel/ First fixes for suncc support.
It is going to be a long way...
 
2441 6218 d 8 h decky /trunk/kernel/ fix ICC compilation  
2317 6240 d 7 h decky /trunk/kernel/arch/ia32/include/ remove outstanding move  
2316 6240 d 7 h decky /trunk/kernel/arch/ia32/include/ remove forgotten movs  
2314 6240 d 8 h decky /trunk/kernel/arch/ia32/include/ allow to compile with -O0  
2233 6270 d 9 h decky /trunk/kernel/arch/ use the hlt instruction more properly  
2216 6272 d 10 h decky /trunk/ make thread ID 64 bit (task ID is 64 bit already)
cleanup thread syscalls
 
2101 6340 d 11 h decky /trunk/kernel/ fix signed/unsigned comparison and integer overflow  
2089 6341 d 17 h decky /trunk/ huge type system cleanup
remove cyclical type dependencies across multiple header files
many minor coding style fixes
 
2083 6347 d 16 h decky /trunk/kernel/ typedef elimination  
2082 6347 d 17 h decky /trunk/ __asm__ __volatile__ -> asm volatile  
2079 6348 d 11 h decky /trunk/kernel/ remove some typedefs in favor of anonymous structures  
2071 6352 d 9 h jermar /trunk/ (c) versus (C)  
2057 6379 d 21 h jermar /trunk/kernel/arch/ Fix all remaining mistmatches in width of byte swapping functions for ia64,
ppc32, ppc64, amd64, mips32 and ia32.
 
2018 6389 d 12 h decky /trunk/kernel/ rename rdtsc() to get_cycle()  
2007 6399 d 8 h jermar /trunk/kernel/ Introduce page colors. So far, only sparc64 uses correct page color bits. Other architectures have a dummy define
specifying zero bits for a page color.

There is a new check of page color in as_area_share(). Because of lack of support for this in the userspace, the
check has been #ifef'ed out.
 
2003 6400 d 14 h decky /trunk/kernel/arch/ cleanup endian conversion macros  
1957 6434 d 18 h decky /trunk/kernel/ ia32: mouse support, mouse regrab is still broken  
1956 6434 d 19 h decky /trunk/kernel/ ia32: adopt new IRQ interface, mouse not tested yet  
1939 6443 d 13 h decky /trunk/ ia32: fix compilation, keyboard not checked yet  
1901 6465 d 15 h jermar /trunk/kernel/ Make SMP related parts of main.c more generic.
Move initialization of local APIC to architecture specific code.
Add arch_post_cpu_init() to support the above.