Rev |
Age |
Author |
Path |
Log message |
Diff |
765 |
6825 d 18 h |
jermar |
/kernel/trunk/ |
Add PAGE_WIDTH to aid divisions by PAGE_SIZE. |
|
763 |
6826 d 1 h |
jermar |
/kernel/trunk/ |
Modify frame.h to use shifting instead of multiplication and division.
Define FRAME_WIDTH for all architectures. |
|
760 |
6826 d 3 h |
jermar |
/kernel/trunk/ |
mips32 is not supposed to allocate page table.
This is done by the generic code now.
Remove PTL0 pointer as it is not needed.
Remove GET_PTL0_ADDRESS from kernel.
Update sparc64 comments in barrier.h. |
|
756 |
6827 d 16 h |
jermar |
/kernel/trunk/ |
Memory management work.
Remove the last (i.e. 'root') argument from page_mapping_insert() and page_mapping_find().
Page table address is now extracted from the first (i.e. 'as') argument.
Add a lot of infrastructure to make the above possible.
sparc64 is now broken, most likely because of insufficient identity mapping of physical memory. |
|
750 |
6829 d 20 h |
jermar |
/kernel/trunk/ |
ia32 SMP updates.
Update info about supported version of Bochs (bump the counter to 2.2.6).
Add Task Priority Register type and initialize this register to a known state. |
|
727 |
6839 d 17 h |
jermar |
/kernel/trunk/ |
New ASID management subsystem (initial work, more is required).
Some TLB invalidation changes. |
|
703 |
6846 d 3 h |
jermar |
/kernel/trunk/ |
Memory management work.
- vm.* -> as.* (as like address space is, imho, more fitting)
- Don't do TLB shootdown on vm_install(). Some architectures only need to call tlb_invalidate_asid().
- Don't allocate all frames for as_area in as_area_create(), but let them be allocated on-demand by as_page_fault().
- Add high-level page fault handler as_page_fault().
- Add as_area_load_mapping(). |
|
693 |
6850 d 22 h |
decky |
/kernel/trunk/arch/ia32/ |
simplify and cleanup ia32 boot process, remove obsolete stuff |
|
674 |
6855 d 4 h |
cejka |
/kernel/trunk/ |
Support for printing float numbers in kernel removed. |
|
672 |
6856 d 18 h |
jermar |
/kernel/trunk/arch/ia32/ |
ia32 work.
Initialize LDR and DFR registers in Local APIC so that logical destination addresses work. |
|
633 |
6874 d 18 h |
palkovsky |
/kernel/trunk/arch/ |
Fixes of compilation of atomic. |
|
631 |
6874 d 18 h |
palkovsky |
/kernel/trunk/ |
Fixed cpu halting in debug panic mode. |
|
627 |
6874 d 23 h |
jermar |
/kernel/trunk/ |
Fix ia64 and sparc64 to compile with new atomic_t.
Fix rwlock test #5 and semaphore test #1 to compile with new atomic_t.
sparc64 work.
TBA must be set before a function call when MMU is switched off. |
|
625 |
6875 d 0 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. |
|
622 |
6875 d 19 h |
palkovsky |
/kernel/trunk/ |
Better gcc CALLER implementation |
|
606 |
6878 d 0 h |
palkovsky |
/kernel/trunk/ |
Small kconsole readline changes.
Some mips tweaks to allow for real keyboard support in indy. |
|
601 |
6878 d 20 h |
palkovsky |
/kernel/trunk/ |
Added some readline functionality to kconsole.
Arrows editing, history, tab completion. |
|
597 |
6879 d 2 h |
jermar |
/kernel/trunk/ |
Finer grained TLB invalidate functions for ia32 and amd64. Not yet deployed. |
|
581 |
6880 d 4 h |
palkovsky |
/kernel/trunk/ |
Small debug changes. |
|
576 |
6880 d 15 h |
palkovsky |
/kernel/trunk/ |
Changed ia32 & amd64 to use exc_register instead of trap_register.
Fixed dependency list building. I hope you all have 'makedepend' installed,
if you don't it's time to install it, as CC -M builds the dependency
list without directory names..and it just does not work. |
|
575 |
6880 d 15 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 |
6881 d 17 h |
jermar |
/kernel/trunk/ |
sparc64 work.
Implement functions for reading IMMU and DMMU TLBs. |
|
566 |
6882 d 16 h |
palkovsky |
/kernel/trunk/ |
Fixed bug in Intel32/AMD64 boot, that could cause page fault on boot.
Fixes of configuration program. |
|
557 |
6883 d 2 h |
jermar |
/kernel/trunk/ |
Add comments describing locking rules for some locks.
Cleanup. |
|
540 |
6884 d 16 h |
jermar |
/kernel/trunk/arch/ |
Map all available frames of memory on ia32 and amd64 (ticket #10). |
|
534 |
6885 d 20 h |
jermar |
/ |
Rename HelenOS/SPARTAN to HelenOS/kernel again. |
|
532 |
6885 d 20 h |
jermar |
/ |
Revert renaming of HelenOS/SPARTAN to HelenOS/kernel because of important pending patch. |
|
515 |
6895 d 21 h |
jermar |
/kernel/trunk/ |
SMP cleanup continued.
Add nice type for IO APIC ID register.
Replace some magic numbers with more descriptive macros. |
|
514 |
6896 d 15 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 |
6896 d 22 h |
jermar |
/kernel/trunk/arch/ia32/ |
APIC code cleanup. |
|
512 |
6897 d 2 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 |
6897 d 19 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 |
6897 d 21 h |
decky |
/kernel/trunk/arch/ia32/include/boot/ |
revert bug in multiboot flags |
|
506 |
6897 d 21 h |
decky |
/kernel/trunk/ |
preparation for init task loading |
|
501 |
6898 d 1 h |
jermar |
/ |
Rename HelenOS/SPARTAN to HelenOS/kernel. |
|
481 |
6907 d 17 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 |
6909 d 2 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 |
6910 d 2 h |
jermar |
/SPARTAN/trunk/ |
Define atomic_t type. |
|
470 |
6911 d 14 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 |
6911 d 22 h |
jermar |
/SPARTAN/trunk/arch/ia32/include/ |
Get the memory barriers on ia32 right. |
|