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
2170 6308 d 8 h jermar /trunk/kernel/ Simplify synchronization in as_switch().
The function was oversynchronized, which
was causing deadlocks on the address
space mutex.

Now, address spaces can only be switched
when the asidlock is held. This also protects
stealing of ASIDs. No other synchronization
is necessary.
 
2089 6370 d 16 h decky /trunk/ huge type system cleanup
remove cyclical type dependencies across multiple header files
many minor coding style fixes
 
2082 6376 d 17 h decky /trunk/ __asm__ __volatile__ -> asm volatile  
2071 6381 d 9 h jermar /trunk/ (c) versus (C)  
1888 6506 d 13 h jermar /trunk/ C99 compliant header guards (hopefully) everywhere in the kernel.
Formatting and indentation changes.
Small improvements in sparc64.
 
1851 6530 d 16 h jermar /trunk/kernel/ sparc64 work.
Define the istate structure.
Move the identity-mapping handler to assembly.
Make the preemptible handler more general so that TL=1 MMU exceptions can make use of it.

Little bit of formatting and indentation.
 
1850 6533 d 19 h jermar /trunk/kernel/arch/ia64/src/mm/ Indentation and formatting changes.  
1787 6571 d 11 h decky / move kernel/trunk, uspace/trunk and boot/trunk to trunk/kernel, trunk/uspace and trunk/boot  
1780 6578 d 13 h jermar /kernel/trunk/ Replace old __u?? types with respective C99 variants (e.g. uint32_t, int64_t, uintptr_t etc.).  
1767 6586 d 20 h palkovsky /kernel/trunk/ Remove unneeded FRAME_PANIC.
Fix some things broken by last commit.
 
1760 6589 d 14 h palkovsky /kernel/trunk/ Changed interface of frame_alloc/free to use address of frame instead of the pfn.
This makes it impossible to use >4GB of memory on 32-bit machines, but who cares...
 
1735 6594 d 19 h decky /kernel/trunk/ make kernel prints case consistent  
1708 6596 d 19 h jermar /kernel/trunk/ Fix some broken doxygen comments.  
1705 6598 d 18 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 6599 d 15 h cejka /kernel/trunk/ Kernel doxygen comments updated.  
1675 6603 d 17 h jermar /kernel/trunk/arch/ia64/ On ia64, purge DTR entry before overwriting it with new contents.  
1621 6606 d 13 h vana /kernel/trunk/arch/ia64/ itanium faulting task kill  
1411 6619 d 13 h jermar /kernel/trunk/ Modify the hierarchy of page fault handlers to pass access mode that caused the fault.
Architectures are required to pass either PF_ACCESS_READ, PF_ACCESS_WRITE or PF_ACCESS_EXEC
to as_page_fault(), depending on the cause of the fault.
 
1290 6638 d 16 h vana /kernel/trunk/arch/ VESA detection failure fix.

(Some headers)
 
1288 6638 d 18 h jermar /kernel/trunk/ Complete implementation of copy_from_uspace() and copy_to_uspace()
for amd64 and ia32. Other architectures still compile and run,
but need to implement their own assembly-only memcpy(), memcpy_from_uspace(),
memcpy_to_uspace() and their failover parts. For these architectures
only dummy implementations are provided.
 
1221 6651 d 7 h decky /kernel/trunk/ printf-related and other code cleanup  
1210 6652 d 17 h vana /kernel/trunk/ Incomplete VHPT walker support for Itanium  
1104 6682 d 13 h jermar /kernel/trunk/ Define atomic_t only once in atomic.h
Change the encapsulated counter type to long so that it supports negative values as well.
 
1080 6687 d 12 h jermar /kernel/trunk/arch/ia64/src/mm/ Fix double page_table_unlock() in ia64 tlb.c.  
1044 6688 d 17 h jermar /kernel/trunk/ Page table locking.  
993 6690 d 10 h jermar /kernel/trunk/arch/ia64/ Fix bug in switch to userspace on ia64: ensure start in bank 1.
Fix bug in tlb_invalidate_all() that cause interrupts to be unconditionally enabled.
Optimize context switching by discarding packed attribute of context structures.
 
958 6691 d 10 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.
 
947 6691 d 20 h vana /kernel/trunk/ Better purge page selection.  
945 6692 d 9 h vana /kernel/trunk/arch/ia64/  
944 6692 d 9 h vana /kernel/trunk/ Itanium tlb_invalidate_pages  
935 6692 d 12 h vana /kernel/trunk/ Two frame stack (standard stack + RSE) on Itanium  
928 6692 d 17 h vana /kernel/trunk/ Itanium tlb_invalidate_all  
919 6695 d 17 h jermar /kernel/trunk/ ia64 work.
Changes to make userspace work (kernel part).
Use ski.conf from contrib directory to run Ski.

There is actually no appropriate syscall handler yet.
 
904 6702 d 11 h jermar /kernel/trunk/arch/ia64/src/mm/ ia64 fix in page.c
== (comparison) was used istead of = (assignment).
 
903 6702 d 12 h jermar /kernel/trunk/arch/ia64/ ia64 work.
Add code needed for running multiple address spaces and location of kernel stack
after switch from userspace.
 
902 6703 d 17 h jermar /kernel/trunk/ ia64 work.
More capable TLB miss handlers.
The ia64 kernel now passes mm/mapping1 test.

Fix generic hash table to properly initialize lists.

Change page_ht() to properly initialize inserted PTE's.
Change format of generic page hash table PTE's.
 
901 6703 d 19 h jermar /kernel/trunk/arch/ ia64 work.
Provide PA2KA(identity) mapping for kernel data references via Alternate Data TLB Fault handler.
Add before_thread_runs_arch() that maps kstack, if necessary.
Add easy to use dtlb_mapping_insert() for comfortable insertion of kernel data mappings.
 
900 6704 d 12 h jermar /kernel/trunk/arch/ia64/ ia64 work.
Proper TLB fault handlers' headers and prototypes.
PFN 0 needs no longer be marked unavailable to frame allocator.
 
899 6704 d 13 h jermar /kernel/trunk/arch/ ia64 work.
Add dummy TLB fault handlers.
Improve code reuse in arch/mm/tlb.c.
 
879 6707 d 11 h vana /kernel/trunk/arch/ia64/ Itanium kernel page extended to maximum (256M) repaired RR manipulation functions, paging setuping function and added some comments.