Subversion Repositories HelenOS

Rev

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

Filtering Options

Rev Age Author Path Log message Diff
4647 5645 d 1 h jermar /branches/arm/ Branch out a new arm branch.  
3941 5789 d 22 h jermar /trunk/kernel/ Let IRQ claim methods take irq_t * instead of the instance argument.  
3913 5793 d 5 h decky /trunk/ mips32: basic SMP support  
3906 5794 d 20 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 5998 d 15 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 6236 d 18 h decky /trunk/kernel/arch/mips32/src/ fix trivial bug in storing lastcount  
2633 6236 d 18 h decky /trunk/kernel/arch/mips32/ CPU cycle accounting on MIPS  
2107 6537 d 22 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 6544 d 6 h decky /trunk/ huge type system cleanup
remove cyclical type dependencies across multiple header files
many minor coding style fixes
 
2071 6554 d 23 h jermar /trunk/ (c) versus (C)  
1955 6637 d 10 h decky /trunk/kernel/arch/mips32/ timer_fnc -> virtual_timer_fnc  
1936 6646 d 9 h decky /trunk/kernel/arch/mips32/ mips32: update for new IRQ subsystem  
1888 6680 d 2 h jermar /trunk/ C99 compliant header guards (hopefully) everywhere in the kernel.
Formatting and indentation changes.
Small improvements in sparc64.
 
1881 6682 d 6 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 6745 d 1 h decky / move kernel/trunk, uspace/trunk and boot/trunk to trunk/kernel, trunk/uspace and trunk/boot  
1780 6752 d 2 h jermar /kernel/trunk/ Replace old __u?? types with respective C99 variants (e.g. uint32_t, int64_t, uintptr_t etc.).  
1705 6772 d 8 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 6773 d 5 h cejka /kernel/trunk/ Kernel doxygen comments updated.  
1434 6789 d 1 h palkovsky /kernel/trunk/ Added 'realtime' clock interface.
Added some asm macros as memory barriers.
Added drift computing for mips platform.
 
1260 6817 d 21 h palkovsky /kernel/trunk/ Small fixes.  
1258 6817 d 21 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 6864 d 23 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 6956 d 2 h palkovsky /kernel/trunk/arch/mips32/ Cleanup of unnecessary things.  
590 6958 d 1 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 6958 d 19 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 6959 d 1 h palkovsky /kernel/trunk/ Merged msim & gxemul native keyboards.  
567 6960 d 19 h palkovsky /kernel/trunk/ Added simple support for arc keyboards on mips.  
534 6964 d 0 h jermar / Rename HelenOS/SPARTAN to HelenOS/kernel again.  
532 6964 d 0 h jermar / Revert renaming of HelenOS/SPARTAN to HelenOS/kernel because of important pending patch.  
509 6975 d 22 h jermar /kernel/trunk/ Basic keyboard support for mips32 (msim).  
501 6976 d 4 h jermar / Rename HelenOS/SPARTAN to HelenOS/kernel.  
483 6984 d 0 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 7011 d 20 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 7047 d 5 h jermar /SPARTAN/trunk/ Rename mips port to mips32.  
332 7048 d 6 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 7049 d 2 h palkovsky /SPARTAN/trunk/ Basic changes to boot it on SGI Indy.  
324 7050 d 5 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 7052 d 9 h jermar /SPARTAN/trunk/arch/mips/ Copyright notices changes.  
125 7105 d 21 h jermar /SPARTAN/trunk/ Huge indentation fix.  
124 7105 d 23 h decky /SPARTAN/trunk/arch/mips/ fix EXC_Mod define

enhance interrupt handling