Subversion Repositories HelenOS

Rev

Go to most recent revision | Show changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
2634 6182 d 20 h decky /trunk/kernel/arch/mips32/src/ fix trivial bug in storing lastcount  
2633 6182 d 20 h decky /trunk/kernel/arch/mips32/ CPU cycle accounting on MIPS  
2107 6484 d 0 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 6490 d 8 h decky /trunk/ huge type system cleanup
remove cyclical type dependencies across multiple header files
many minor coding style fixes
 
2071 6501 d 1 h jermar /trunk/ (c) versus (C)  
1955 6583 d 12 h decky /trunk/kernel/arch/mips32/ timer_fnc -> virtual_timer_fnc  
1936 6592 d 11 h decky /trunk/kernel/arch/mips32/ mips32: update for new IRQ subsystem  
1888 6626 d 4 h jermar /trunk/ C99 compliant header guards (hopefully) everywhere in the kernel.
Formatting and indentation changes.
Small improvements in sparc64.
 
1881 6628 d 8 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 6691 d 3 h decky / move kernel/trunk, uspace/trunk and boot/trunk to trunk/kernel, trunk/uspace and trunk/boot  
1780 6698 d 4 h jermar /kernel/trunk/ Replace old __u?? types with respective C99 variants (e.g. uint32_t, int64_t, uintptr_t etc.).  
1705 6718 d 10 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 6719 d 7 h cejka /kernel/trunk/ Kernel doxygen comments updated.  
1434 6735 d 3 h palkovsky /kernel/trunk/ Added 'realtime' clock interface.
Added some asm macros as memory barriers.
Added drift computing for mips platform.
 
1260 6763 d 23 h palkovsky /kernel/trunk/ Small fixes.  
1258 6763 d 23 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 6811 d 1 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 6902 d 3 h palkovsky /kernel/trunk/arch/mips32/ Cleanup of unnecessary things.  
590 6904 d 3 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 6904 d 21 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 6905 d 3 h palkovsky /kernel/trunk/ Merged msim & gxemul native keyboards.  
567 6906 d 21 h palkovsky /kernel/trunk/ Added simple support for arc keyboards on mips.  
534 6910 d 1 h jermar / Rename HelenOS/SPARTAN to HelenOS/kernel again.  
532 6910 d 2 h jermar / Revert renaming of HelenOS/SPARTAN to HelenOS/kernel because of important pending patch.  
509 6922 d 0 h jermar /kernel/trunk/ Basic keyboard support for mips32 (msim).  
501 6922 d 6 h jermar / Rename HelenOS/SPARTAN to HelenOS/kernel.  
483 6930 d 1 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 6957 d 22 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 6993 d 7 h jermar /SPARTAN/trunk/ Rename mips port to mips32.  
332 6994 d 8 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 6995 d 4 h palkovsky /SPARTAN/trunk/ Basic changes to boot it on SGI Indy.  
324 6996 d 7 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 6998 d 11 h jermar /SPARTAN/trunk/arch/mips/ Copyright notices changes.  
125 7051 d 23 h jermar /SPARTAN/trunk/ Huge indentation fix.  
124 7052 d 1 h decky /SPARTAN/trunk/arch/mips/ fix EXC_Mod define

enhance interrupt handling
 
68 7117 d 1 h decky /SPARTAN/trunk/ NDEBUG debug symbol, ASSERT debug macro, fancier panic() in debug mode
indentation fixes, ASSERTs
 
1 7199 d 4 h jermar /SPARTAN/ Initial import