Subversion Repositories HelenOS-historic

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
625 6761 d 7 h palkovsky /kernel/trunk/ We are now almost -Wall clean.
- redefined atomic_t
- deleted many, many unused variables
- some minor code cleanups found using compiler warning.
 
615 6763 d 12 h palkovsky /kernel/trunk/ Cleanups to make it compile with -Wall. Did not catch everything yet.  
609 6764 d 6 h palkovsky /kernel/trunk/ added support for breakpoints to mips32  
578 6766 d 21 h palkovsky /kernel/trunk/ Added exception printing.
It does not work correctly on SMP architectures :-/
Preemption error....
 
534 6772 d 3 h jermar / Rename HelenOS/SPARTAN to HelenOS/kernel again.  
532 6772 d 4 h jermar / Revert renaming of HelenOS/SPARTAN to HelenOS/kernel because of important pending patch.  
523 6778 d 7 h jermar /kernel/trunk/ Clean up.  
518 6780 d 0 h jermar /kernel/trunk/ Improve kconsole's support for recognition of commands with arguments.
Implement ARG_TYPE_STRING.
Add 'describe' command.
Move kconsole.c to generic/src/console.
Move kconsole.h to generic/include/console.
 
517 6781 d 0 h jermar /kernel/trunk/ Implement basic kernel console command recognition.
Commands without arguments are now recognized.
 
512 6783 d 10 h jermar /kernel/trunk/ SMP work.
Add madt_irq_to_pin().
Make ksmp() use virtual irq_to_pin() function, which makes better sence for ACPI configurations.
 
510 6783 d 23 h jermar /kernel/trunk/ Add chardev_t.
This type is meant to abstract any input character device such as keyboard, serial port etc.
Add stdin.
Add dummy kconsole.
 
508 6784 d 2 h jermar /kernel/trunk/ Basic keyboard support for ia32.
For some reason, keyoboard looks dead on SMP.

Make kinit() print "kinit..." strings in longer intervals.
 
501 6784 d 8 h jermar / Rename HelenOS/SPARTAN to HelenOS/kernel.  
459 6798 d 10 h decky /SPARTAN/trunk/ build system: CONFIG_TEST, CONFIG_USERSPACE  
458 6798 d 11 h decky /SPARTAN/trunk/ make configuration variables usage consistent  
452 6799 d 3 h decky /SPARTAN/trunk/ major build system revision (unfinished)
this patchset most definitively breaks a lot of things, be patient
 
430 6805 d 1 h jermar /SPARTAN/trunk/ Move src/ and include/ to generic.  
413 6820 d 0 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.
 
391 6833 d 1 h jermar /SPARTAN/trunk/ mips32 memory management work.
TLB Refill Exception implemented (passed basic testing).
Remove bit g from struct entry_hi.
Add generic find_mapping().
Add asid to vm_t type, define asid_t to hide architecture specific differences.
Implement ASID allocation for mips32, dummy for other architectures.
Add THE->vm (a.k.a. VM).
Add vm_install_arch().
Move pte_t definition to arch/types.h on each architecture.
Fix PTL manipulating functions on mips32 to shift pfn by 12 instead of by 14.
Fix tlb_init_arch() to initialize all entries.

Other.
Remove unnecessary header files from arch.h
Add missing headers here and there.
Remove two unnecessary ld flags from mips32 makefile.
 
236 6866 d 6 h jermar /SPARTAN/trunk/src/ Add missing header into kinit.c.

Do not use PA2KA() on dst_ptl0.
 
205 6867 d 13 h jermar /SPARTAN/trunk/ Get rid of memcopy().
All we now have is memcpy() and _memcpy().
memcpy() is defined to be builtin.
Where not applicable, architectures must implement memcpy() code or call slowish _memcopy().
 
198 6868 d 2 h jermar /SPARTAN/trunk/ Switch order of 'src' and 'dst' arguments in some left-over uses of memcopy.

Cleanup.
 
195 6868 d 3 h vana /SPARTAN/trunk/ 1) memcopy and _memcopy functions rewriten to ANSI C norm.
2) Repaired ia32,ia64 and mips version of SPARTAN to work with this memcopy functions
3) Warning for non declared funcions added and repaired ia32,ia64 and mips versions to pass build process with this warning and Werror option
 
170 6877 d 0 h jermar /SPARTAN/trunk/ Add comment to scheduler.c explaining the reason behind saving CPU priority of preempted thread.

Remove two unnecessary cpu_priority_high() calls.
 
167 6879 d 10 h jermar /SPARTAN/trunk/ Switch over to per vm_t page tables. (breaks ia32 userspace)

Define dummy memcopy() for amd64 and ppc to satisfy compiler.

Get rid of problematic #include <arch/mm/page.h> in mm/page.h.

Indentation fixes and small changes here and there.
 
135 6909 d 9 h jermar /SPARTAN/trunk/ Fix setters of page table attributes for both IA-32 and MIPS.  
125 6914 d 1 h jermar /SPARTAN/trunk/ Huge indentation fix.  
68 6979 d 3 h decky /SPARTAN/trunk/ NDEBUG debug symbol, ASSERT debug macro, fancier panic() in debug mode
indentation fixes, ASSERTs
 
34 6990 d 6 h jermar /SPARTAN/trunk/ More ACPI work.
Initial MADT table parsing.

SMP renaming and reorganization to reflect there are more ways to bring SMP up.
 
32 6993 d 2 h jermar /SPARTAN/trunk/ ACPI detection code.
MP detection code rewrite.
Minor changes.
 
28 6995 d 10 h jermar /SPARTAN/trunk/ Small improvements.  
15 7011 d 5 h jermar /SPARTAN/trunk/ Introduce macros CPU, THREAD, TASK and use them to replace the->cpu, the->thread, the->task.
Later on, this will make it possible to reference *current* cpu, thread and/or task without the aid from virtual memory.
 
11 7053 d 23 h jermar /SPARTAN/trunk/ Clean up (ia32 vs. i386).
Header files reorganization.
 
1 7061 d 6 h jermar /SPARTAN/ Initial import