Subversion Repositories HelenOS

Rev

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

Filtering Options

Rev Age Author Path Log message Diff
3941 5787 d 11 h jermar /trunk/kernel/ Let IRQ claim methods take irq_t * instead of the instance argument.  
3913 5790 d 18 h decky /trunk/ mips32: basic SMP support  
3906 5792 d 9 h jermar /trunk/kernel/ IRQ handlers are using one superfluous argument and an unused elipsis.
On the other hand, IRQ claim functions would need to be passed the instance
argument.
 
3228 5996 d 4 h decky /trunk/ physical memory detection in MSIM (discontinous regions supported)
remove Sgi Indy (ARC) support -- it was unmaintaned, untested for years and without uspace support
 
2634 6234 d 7 h decky /trunk/kernel/arch/mips32/src/ fix trivial bug in storing lastcount  
2633 6234 d 7 h decky /trunk/kernel/arch/mips32/ CPU cycle accounting on MIPS  
2107 6535 d 11 h jermar /trunk/ When clock() is called by an external interrupt dispatched by the IRQ dispatcher,
no spinlock can be held or the kernel will not be preemptive. This fixes Ticket #24.

Formating and indentation fixes.
 
2089 6541 d 19 h decky /trunk/ huge type system cleanup
remove cyclical type dependencies across multiple header files
many minor coding style fixes
 
2071 6552 d 12 h jermar /trunk/ (c) versus (C)  
1955 6634 d 23 h decky /trunk/kernel/arch/mips32/ timer_fnc -> virtual_timer_fnc  
1936 6643 d 22 h decky /trunk/kernel/arch/mips32/ mips32: update for new IRQ subsystem  
1888 6677 d 15 h jermar /trunk/ C99 compliant header guards (hopefully) everywhere in the kernel.
Formatting and indentation changes.
Small improvements in sparc64.
 
1881 6679 d 19 h jermar /trunk/ sparc64 work:
- find a CPU node and read its clock_frequency attribute
- implement asm_delay_loop()
- set TICK_COMPARE register according to processor frequency
- small improvements at random places

OpenFirmware work:
- two new functions for walking the device tree

Generic boot loader work:
- added basic string functions

Usual pile of indentation and formatting fixes.
 
1787 6742 d 14 h decky / move kernel/trunk, uspace/trunk and boot/trunk to trunk/kernel, trunk/uspace and trunk/boot  
1780 6749 d 15 h jermar /kernel/trunk/ Replace old __u?? types with respective C99 variants (e.g. uint32_t, int64_t, uintptr_t etc.).  
1705 6769 d 21 h cejka /kernel/trunk/ Added file with modules definitions and descriptions.
We are able to change modules order and their description in one place.
 
1702 6770 d 18 h cejka /kernel/trunk/ Kernel doxygen comments updated.  
1434 6786 d 14 h palkovsky /kernel/trunk/ Added 'realtime' clock interface.
Added some asm macros as memory barriers.
Added drift computing for mips platform.
 
1260 6815 d 10 h palkovsky /kernel/trunk/ Small fixes.  
1258 6815 d 10 h palkovsky /kernel/trunk/ Added support for IRQ notifiactions.
- seems to work correctly on ia32, amd64
- the mips kbd probably lowers interrupts when the char is read from
the port, we will have to find a way how to deal with it.
 
958 6862 d 12 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.
 
610 6953 d 15 h palkovsky /kernel/trunk/arch/mips32/ Cleanup of unnecessary things.  
590 6955 d 14 h palkovsky /kernel/trunk/ Move all MIPS exceptions to generic dispatcher.
Align size in malloc() to __native size, some architectures
don't like it unaligned.
 
575 6956 d 8 h palkovsky /kernel/trunk/ Added generic exc_register/exc_dispatch functions,
copied from ia32 architecture. Currently only mips32 uses them.

The chardev_t can now be both input & output device (was
needed for serial driver).

Broken other architectures - ia64, sparc, powerpc will not compile.

Mips32 supports input on all msim, gxemul, indy(tested emulation
in gxemul, loses characters), simics. Simics serial line
is done using polling, I was unable to make it produce
an interrupt when the key was pressed.
 
574 6956 d 14 h palkovsky /kernel/trunk/ Merged msim & gxemul native keyboards.  
567 6958 d 8 h palkovsky /kernel/trunk/ Added simple support for arc keyboards on mips.  
534 6961 d 13 h jermar / Rename HelenOS/SPARTAN to HelenOS/kernel again.  
532 6961 d 13 h jermar / Revert renaming of HelenOS/SPARTAN to HelenOS/kernel because of important pending patch.  
509 6973 d 11 h jermar /kernel/trunk/ Basic keyboard support for mips32 (msim).  
501 6973 d 17 h jermar / Rename HelenOS/SPARTAN to HelenOS/kernel.  
483 6981 d 13 h jermar /SPARTAN/trunk/ For now, each architecture must use its own -O switch (-O2 doesn't work for ia64, -O3 doesn't work for mips32).

New mips32 atomic_add() function.

Cleanup.
 
413 7009 d 9 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.
 
341 7044 d 18 h jermar /SPARTAN/trunk/ Rename mips port to mips32.  
332 7045 d 19 h palkovsky /SPARTAN/trunk/ Updated symtab so that it works correctly with BE architectures.
Changed compiler for BE MIPS to be mips-sgi-irix5, because
mipsel -EB does not behave correctly.
Doc updates to amd64.
Added ARC BIOS support to MIPS architecture. Putchar works correctly,
kernel passed FPU & some rwlock tests.
 
329 7046 d 15 h palkovsky /SPARTAN/trunk/ Basic changes to boot it on SGI Indy.  
324 7047 d 18 h palkovsky /SPARTAN/trunk/ MIPS architecture now works without any problems in
- msim: compile as OUTPUT_FORMAT(binary)
- gxemul: compile as OUTPUT_FORMAT(ecoff-littlemips), or create
configuration file for binary format (will be done later)
- simics: compile as OUTPUT_FORMAT(elf32-little), might work with binary
format, didn't try yet.
 
319 7049 d 22 h jermar /SPARTAN/trunk/arch/mips/ Copyright notices changes.  
125 7103 d 10 h jermar /SPARTAN/trunk/ Huge indentation fix.  
124 7103 d 12 h decky /SPARTAN/trunk/arch/mips/ fix EXC_Mod define

enhance interrupt handling
 
68 7168 d 12 h decky /SPARTAN/trunk/ NDEBUG debug symbol, ASSERT debug macro, fancier panic() in debug mode
indentation fixes, ASSERTs