Rev |
Age |
Author |
Path |
Log message |
Diff |
2725 |
6042 d 21 h |
decky |
/trunk/kernel/ |
remove config.memory_size, get_memory_size() and memory_init.{c|d}
the amount of available memory can be calculated from the sizes of the zones
add FRAMES2SIZE, SIZE2KB and SIZE2MB functions/macros (code readability) |
|
2462 |
6287 d 15 h |
jermar |
/trunk/kernel/ |
Replace gcc-specific __FUNCTION__ with C99 __func__.
suncc's xregs=no%float can be used only on sparc64. |
|
2170 |
6354 d 13 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 |
6416 d 22 h |
decky |
/trunk/ |
huge type system cleanup
remove cyclical type dependencies across multiple header files
many minor coding style fixes |
|
2082 |
6422 d 22 h |
decky |
/trunk/ |
__asm__ __volatile__ -> asm volatile |
|
2071 |
6427 d 15 h |
jermar |
/trunk/ |
(c) versus (C) |
|
1888 |
6552 d 18 h |
jermar |
/trunk/ |
C99 compliant header guards (hopefully) everywhere in the kernel.
Formatting and indentation changes.
Small improvements in sparc64. |
|
1851 |
6576 d 22 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 |
6580 d 1 h |
jermar |
/trunk/kernel/arch/ia64/src/mm/ |
Indentation and formatting changes. |
|
1787 |
6617 d 17 h |
decky |
/ |
move kernel/trunk, uspace/trunk and boot/trunk to trunk/kernel, trunk/uspace and trunk/boot |
|
1780 |
6624 d 18 h |
jermar |
/kernel/trunk/ |
Replace old __u?? types with respective C99 variants (e.g. uint32_t, int64_t, uintptr_t etc.). |
|
1767 |
6633 d 1 h |
palkovsky |
/kernel/trunk/ |
Remove unneeded FRAME_PANIC.
Fix some things broken by last commit. |
|
1760 |
6635 d 19 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 |
6641 d 1 h |
decky |
/kernel/trunk/ |
make kernel prints case consistent |
|
1708 |
6643 d 0 h |
jermar |
/kernel/trunk/ |
Fix some broken doxygen comments. |
|
1705 |
6645 d 0 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 |
6645 d 21 h |
cejka |
/kernel/trunk/ |
Kernel doxygen comments updated. |
|
1675 |
6649 d 23 h |
jermar |
/kernel/trunk/arch/ia64/ |
On ia64, purge DTR entry before overwriting it with new contents. |
|
1621 |
6652 d 18 h |
vana |
/kernel/trunk/arch/ia64/ |
itanium faulting task kill |
|
1411 |
6665 d 18 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 |
6684 d 22 h |
vana |
/kernel/trunk/arch/ |
VESA detection failure fix.
(Some headers) |
|
1288 |
6685 d 0 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 |
6697 d 12 h |
decky |
/kernel/trunk/ |
printf-related and other code cleanup |
|
1210 |
6698 d 23 h |
vana |
/kernel/trunk/ |
Incomplete VHPT walker support for Itanium |
|
1104 |
6728 d 18 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 |
6733 d 17 h |
jermar |
/kernel/trunk/arch/ia64/src/mm/ |
Fix double page_table_unlock() in ia64 tlb.c. |
|
1044 |
6734 d 23 h |
jermar |
/kernel/trunk/ |
Page table locking. |
|
993 |
6736 d 15 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 |
6737 d 15 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 |
6738 d 1 h |
vana |
/kernel/trunk/ |
Better purge page selection. |
|
945 |
6738 d 14 h |
vana |
/kernel/trunk/arch/ia64/ |
|
|
944 |
6738 d 15 h |
vana |
/kernel/trunk/ |
Itanium tlb_invalidate_pages |
|
935 |
6738 d 18 h |
vana |
/kernel/trunk/ |
Two frame stack (standard stack + RSE) on Itanium |
|
928 |
6738 d 22 h |
vana |
/kernel/trunk/ |
Itanium tlb_invalidate_all |
|
919 |
6741 d 23 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 |
6748 d 16 h |
jermar |
/kernel/trunk/arch/ia64/src/mm/ |
ia64 fix in page.c
== (comparison) was used istead of = (assignment). |
|
903 |
6748 d 18 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 |
6749 d 23 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 |
6750 d 0 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 |
6750 d 18 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. |
|