Rev |
Age |
Author |
Path |
Log message |
Diff |
575 |
6872 d 14 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. |
|
569 |
6873 d 16 h |
jermar |
/kernel/trunk/ |
sparc64 work.
Implement functions for reading IMMU and DMMU TLBs. |
|
566 |
6874 d 15 h |
palkovsky |
/kernel/trunk/ |
Fixed bug in Intel32/AMD64 boot, that could cause page fault on boot.
Fixes of configuration program. |
|
557 |
6875 d 1 h |
jermar |
/kernel/trunk/ |
Add comments describing locking rules for some locks.
Cleanup. |
|
540 |
6876 d 15 h |
jermar |
/kernel/trunk/arch/ |
Map all available frames of memory on ia32 and amd64 (ticket #10). |
|
534 |
6877 d 19 h |
jermar |
/ |
Rename HelenOS/SPARTAN to HelenOS/kernel again. |
|
532 |
6877 d 19 h |
jermar |
/ |
Revert renaming of HelenOS/SPARTAN to HelenOS/kernel because of important pending patch. |
|
515 |
6887 d 20 h |
jermar |
/kernel/trunk/ |
SMP cleanup continued.
Add nice type for IO APIC ID register.
Replace some magic numbers with more descriptive macros. |
|
514 |
6888 d 14 h |
jermar |
/kernel/trunk/arch/ia32/ |
More SMP cleanup.
Suddenly, keyboard started to work on SMP under Simics.
Still not functional on Bochs (will consult Bochs people).
Doxygen style comments for apic.c. |
|
513 |
6888 d 21 h |
jermar |
/kernel/trunk/arch/ia32/ |
APIC code cleanup. |
|
512 |
6889 d 1 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. |
|
508 |
6889 d 18 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. |
|
507 |
6889 d 20 h |
decky |
/kernel/trunk/arch/ia32/include/boot/ |
revert bug in multiboot flags |
|
506 |
6889 d 20 h |
decky |
/kernel/trunk/ |
preparation for init task loading |
|
501 |
6889 d 23 h |
jermar |
/ |
Rename HelenOS/SPARTAN to HelenOS/kernel. |
|
481 |
6899 d 16 h |
vana |
/SPARTAN/trunk/arch/ia32/include/ |
Revert of =m in ia32 atomic operations. In according to gcc docs +m should be right but as Jakub said it is not working
with amd64 but =m is... and I'm not able to build tools for that platform to test it now :-( . (Maybe bug in gcc ???) |
|
477 |
6901 d 0 h |
vana |
/SPARTAN/trunk/ |
Atomic inc & dec functions synchronized on all ia32,ia64 and mips platforms. Now there are 3 versions which returns no value, new value and old value och changed variable. |
|
475 |
6902 d 1 h |
jermar |
/SPARTAN/trunk/ |
Define atomic_t type. |
|
470 |
6903 d 13 h |
jermar |
/SPARTAN/trunk/ |
ia64 work.
Big cleanup of IA-64 interrupt processing.
Merge of interrupt.c and interrupt_handler.c.
Rewrite of ivt.S and interrupt.c.
Higher level interrupt handlers are now passed a vector number and a pointer to stack structure.
ia32 work.
ia32 has ordered writes. Until it deploys weaker memory ordering model, write_barrier() can be empty statement. |
|
469 |
6903 d 20 h |
jermar |
/SPARTAN/trunk/arch/ia32/include/ |
Get the memory barriers on ia32 right. |
|
468 |
6903 d 21 h |
decky |
/SPARTAN/trunk/ |
fix IA-32 fences (1/2) |
|
458 |
6904 d 2 h |
decky |
/SPARTAN/trunk/ |
make configuration variables usage consistent |
|
457 |
6904 d 2 h |
decky |
/SPARTAN/trunk/ |
new build system almost finished |
|
452 |
6904 d 18 h |
decky |
/SPARTAN/trunk/ |
major build system revision (unfinished)
this patchset most definitively breaks a lot of things, be patient |
|
432 |
6908 d 18 h |
jermar |
/SPARTAN/trunk/arch/ |
IA-64 work.
Add some asm functions for manipulation with PSR, AR and CR registers. |
|
423 |
6915 d 23 h |
decky |
/SPARTAN/trunk/ |
Enable/disable CPU memory barriers at compile time |
|
422 |
6917 d 5 h |
jermar |
/SPARTAN/trunk/ |
Move ACPI code to genarch.
Enable it for ia32, amd64 and ia64.
For now, ia64 support is commented out. |
|
419 |
6918 d 18 h |
bondari |
/SPARTAN/trunk/arch/ |
Memory inline functions for AMD64.
memcmp and memcpy are redefined according to norma |
|
414 |
6925 d 5 h |
jermar |
/SPARTAN/trunk/ |
Create generic context_save() and context_restore().
These two functions are defined inline and only call context_save_arch() and context_restore_arch(), respectively.
The main purpose of this is to enable centralized commenting of these important and tricky functions. |
|
413 |
6925 d 15 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. |
|
408 |
6928 d 1 h |
decky |
/SPARTAN/trunk/ |
IA32 has_cpuid() inline
minor indentation fixes |
|
393 |
6937 d 19 h |
bondari |
/SPARTAN/trunk/arch/ia32/include/ |
Comments fixed |
|
392 |
6937 d 19 h |
bondari |
/SPARTAN/trunk/arch/ia32/ |
Last inline functions for IA-32 |
|
391 |
6938 d 16 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. |
|
390 |
6938 d 16 h |
bondari |
/SPARTAN/trunk/arch/ia32/ |
ia-32 memcmp inline |
|
389 |
6939 d 3 h |
jermar |
/SPARTAN/trunk/ |
MIPS work.
Fix some name inconsistencies between cp0 functions' declarations and definitions.
Add and implement tlb_init_arch().
Add tlb_modified() exception handler.
Other architectures: add dummy tlb_init_arch(). |
|
363 |
6953 d 17 h |
jermar |
/SPARTAN/trunk/arch/ |
Fix copyright notices. |
|
361 |
6953 d 18 h |
bondari |
/SPARTAN/trunk/ |
Memory routines per-arch declations for future implementation |
|
359 |
6954 d 17 h |
bondari |
/SPARTAN/trunk/arch/ia32/include/ |
I think some comments to the algoritm would be helful |
|
358 |
6954 d 17 h |
bondari |
/SPARTAN/trunk/ |
built-in memcpy is not used anymore on IA-32.
IA-32 memcpy is now fast and inline. |
|