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
2454 6188 d 8 h jermar /trunk/kernel/ A bit of infrastructure for building with different compilers.
CFLAGS split into GCC_CFLAGS and SUNCC_CFLAGS.
As of now, there are no separate ICC_CFLAGS, but can be easily added.
 
2453 6188 d 14 h jermar /trunk/kernel/ More suncc fixes.
- remove more empty declarations
- add options to turn errors on empty structs into warnings and options to
silence these warnings
 
2452 6188 d 16 h jermar /trunk/kernel/ More suncc fixes.
- Removed extra semicolons after function declaration.
- Sun Studio recognizes only C99 __func__ and no gcc-specific __FUNCTION__.
In this case, a simple -D option can fix the problem.
 
2441 6193 d 8 h decky /trunk/kernel/ fix ICC compilation  
2302 6220 d 12 h decky /trunk/ force VGA palette to 3:2:3 palette on 8 bpp modes
(this fixes ticket #33)
 
2233 6245 d 9 h decky /trunk/kernel/arch/ use the hlt instruction more properly  
2227 6246 d 0 h decky /trunk/kernel/ start shutdown infrastructure  
2222 6246 d 9 h decky /trunk/kernel/ map kernel pages explicitly as writable (this solves compatibility issues with Intel Core 2)
make VESA framebuffer initialization more robust
 
2219 6246 d 12 h decky /trunk/kernel/arch/amd64/src/boot/ add error message on no long mode support  
2218 6247 d 6 h decky /trunk/kernel/ support the possibility to send EOI or Interrupt Acknowledgement
prior to processing the interrupt
(this is essential on some architectures to prevent preemption deadlock)
 
2216 6247 d 10 h decky /trunk/ make thread ID 64 bit (task ID is 64 bit already)
cleanup thread syscalls
 
2125 6302 d 10 h decky /trunk/ experimental support for Objective C
(disabled by default)
 
2106 6310 d 17 h jermar /trunk/kernel/ Merge as_t structure into one and leave the differring parts in as_genarch_t.

Indentation and formatting changes in header files.
 
2100 6315 d 11 h decky /trunk/kernel/ signed/unsigned comparison, explicit typecast  
2089 6316 d 16 h decky /trunk/ huge type system cleanup
remove cyclical type dependencies across multiple header files
many minor coding style fixes
 
2087 6317 d 12 h jermar /trunk/kernel/ Indentaion and formatting changes even Martin will like :-)  
2083 6322 d 16 h decky /trunk/kernel/ typedef elimination  
2082 6322 d 17 h decky /trunk/ __asm__ __volatile__ -> asm volatile  
2079 6323 d 11 h decky /trunk/kernel/ remove some typedefs in favor of anonymous structures  
2071 6327 d 9 h jermar /trunk/ (c) versus (C)  
2057 6354 d 20 h jermar /trunk/kernel/arch/ Fix all remaining mistmatches in width of byte swapping functions for ia64,
ppc32, ppc64, amd64, mips32 and ia32.
 
2018 6364 d 12 h decky /trunk/kernel/ rename rdtsc() to get_cycle()  
2007 6374 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 6375 d 14 h decky /trunk/kernel/arch/ cleanup endian conversion macros  
1958 6409 d 16 h decky /trunk/kernel/arch/amd64/ amd64: adopt new IRQ interface  
1949 6414 d 17 h jermar /trunk/kernel/arch/ Remove notes about automatically generated context_offset.h
and replace it with a proper copyright notice.
 
1948 6414 d 19 h jermar /trunk/kernel/ Remove broken, outdated and unused gencontext.c utilities.  
1940 6418 d 13 h decky /trunk/kernel/arch/amd64/ amd64: fix compilation, keyboard not checked yet  
1937 6418 d 20 h decky /trunk/kernel/arch/ remove orphaned functions  
1901 6440 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.
 
1891 6448 d 8 h jermar /trunk/kernel/ sparc64 work:
- Experimental support for TSB (Translation Storage Buffer).
 
1890 6448 d 18 h jermar /trunk/ - Create a dedicated slab cache for as_t objects and switch from malloc/free to slab_alloc/slab_free for
them.

- Slightly fix and improve both the kernel and userspace atomic_add() on sparc64.

- More TSB work on the sparc64 front.
 
1889 6449 d 10 h jermar /trunk/kernel/ Fix bug in mm/as.c:
- as_area_destroy() should not work with AS but as

sparc64 work:
- start implementing TSB support
 
1888 6452 d 13 h jermar /trunk/ C99 compliant header guards (hopefully) everywhere in the kernel.
Formatting and indentation changes.
Small improvements in sparc64.
 
1882 6453 d 17 h jermar /trunk/kernel/ Support for sparc64 FPU context.  
1877 6457 d 20 h jermar /trunk/kernel/ Coding style fixes.
Remove unneeded sparc64 dummy functions.
 
1854 6468 d 19 h jermar /trunk/kernel/ Define architecture-specific thread sub-constructors and sub-destructors on all architectures.
Define the THREAD_FLAG_USPACE which means that the thread runs in user space.
The forementioned changes allow for allocating of user window buffer on sparc64
threads that execute in userspace.

A lot of formatting and indentation fixes.
 
1844 6488 d 11 h jermar /trunk/kernel/ Add an option to compile the sparc64 kernel for Ultra 5 or Enterprise E6500.
Basic keyboard support (polling) based on ns16550 serial port (deployed on Ultra).
 
1842 6488 d 16 h jermar /trunk/kernel/ i8042 and z8530 separated, the tree compiles again.
Now there is some duplicated code in i8042.c and z8530.c,
but that can be eliminated in slower pace.
 
1838 6493 d 14 h jermar /trunk/kernel/ Add scan code map for Sun keyboard.