Subversion Repositories HelenOS

Rev

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

Filtering Options

Rev Age Author Path Log message Diff
3941 5567 d 15 h jermar /trunk/kernel/ Let IRQ claim methods take irq_t * instead of the instance argument.  
3913 5570 d 22 h decky /trunk/ mips32: basic SMP support  
3906 5572 d 13 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 5776 d 8 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 6014 d 11 h decky /trunk/kernel/arch/mips32/src/ fix trivial bug in storing lastcount  
2633 6014 d 11 h decky /trunk/kernel/arch/mips32/ CPU cycle accounting on MIPS  
2107 6315 d 14 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 6321 d 22 h decky /trunk/ huge type system cleanup
remove cyclical type dependencies across multiple header files
many minor coding style fixes
 
2071 6332 d 15 h jermar /trunk/ (c) versus (C)  
1955 6415 d 3 h decky /trunk/kernel/arch/mips32/ timer_fnc -> virtual_timer_fnc  
1936 6424 d 2 h decky /trunk/kernel/arch/mips32/ mips32: update for new IRQ subsystem  
1888 6457 d 19 h jermar /trunk/ C99 compliant header guards (hopefully) everywhere in the kernel.
Formatting and indentation changes.
Small improvements in sparc64.
 
1881 6459 d 23 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 6522 d 17 h decky / move kernel/trunk, uspace/trunk and boot/trunk to trunk/kernel, trunk/uspace and trunk/boot  
1780 6529 d 18 h jermar /kernel/trunk/ Replace old __u?? types with respective C99 variants (e.g. uint32_t, int64_t, uintptr_t etc.).  
1705 6550 d 0 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 6550 d 21 h cejka /kernel/trunk/ Kernel doxygen comments updated.  
1434 6566 d 17 h palkovsky /kernel/trunk/ Added 'realtime' clock interface.
Added some asm macros as memory barriers.
Added drift computing for mips platform.
 
1260 6595 d 13 h palkovsky /kernel/trunk/ Small fixes.  
1258 6595 d 14 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 6642 d 16 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 6733 d 18 h palkovsky /kernel/trunk/arch/mips32/ Cleanup of unnecessary things.  
590 6735 d 18 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 6736 d 11 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 6736 d 17 h palkovsky /kernel/trunk/ Merged msim & gxemul native keyboards.  
567 6738 d 11 h palkovsky /kernel/trunk/ Added simple support for arc keyboards on mips.  
534 6741 d 16 h jermar / Rename HelenOS/SPARTAN to HelenOS/kernel again.  
532 6741 d 16 h jermar / Revert renaming of HelenOS/SPARTAN to HelenOS/kernel because of important pending patch.  
509 6753 d 14 h jermar /kernel/trunk/ Basic keyboard support for mips32 (msim).  
501 6753 d 21 h jermar / Rename HelenOS/SPARTAN to HelenOS/kernel.  
483 6761 d 16 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 6789 d 12 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 6824 d 22 h jermar /SPARTAN/trunk/ Rename mips port to mips32.  
332 6825 d 23 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 6826 d 18 h palkovsky /SPARTAN/trunk/ Basic changes to boot it on SGI Indy.  
324 6827 d 22 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 6830 d 1 h jermar /SPARTAN/trunk/arch/mips/ Copyright notices changes.  
125 6883 d 14 h jermar /SPARTAN/trunk/ Huge indentation fix.  
124 6883 d 15 h decky /SPARTAN/trunk/arch/mips/ fix EXC_Mod define

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