Subversion Repositories HelenOS

Rev

Go to most recent revision | Show changed files | Directory listing | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
2725 5986 d 12 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)
 
2723 5987 d 11 h decky /trunk/kernel/arch/ remove memory_print_map(), as it duplicates functionality of physmem_print()  
2227 6289 d 20 h decky /trunk/kernel/ start shutdown infrastructure  
2222 6290 d 6 h decky /trunk/kernel/ map kernel pages explicitly as writable (this solves compatibility issues with Intel Core 2)
make VESA framebuffer initialization more robust
 
2218 6291 d 3 h decky /trunk/kernel/ support the possibility to send EOI or Interrupt Acknowledgement
prior to processing the interrupt
(this is essential on some architectures to prevent preemption deadlock)
 
2170 6298 d 4 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 6360 d 13 h decky /trunk/ huge type system cleanup
remove cyclical type dependencies across multiple header files
many minor coding style fixes
 
2071 6371 d 6 h jermar /trunk/ (c) versus (C)  
1993 6427 d 14 h decky /trunk/ make framebuffer code more generic  
1930 6463 d 11 h decky /trunk/kernel/arch/ppc64/ ppc64: make it compile again  
1901 6484 d 11 h jermar /trunk/kernel/ Make SMP related parts of main.c more generic.
Move initialization of local APIC to architecture specific code.
Add arch_post_cpu_init() to support the above.
 
1888 6496 d 9 h jermar /trunk/ C99 compliant header guards (hopefully) everywhere in the kernel.
Formatting and indentation changes.
Small improvements in sparc64.
 
1837 6537 d 18 h jermar /trunk/ Support 24bpp framebuffers with 4 pixelbytes (each pixel aligned on 32-bits).

At least on sparc64, the OpenFirmware linebytes property specifies the number
of pixels between consecutive scan lines of the display. Fix scanilne calculation,
including possible alignment.

Add note to 8bpp pixel functions pointing out drawbacks of that mode.
 
1787 6561 d 8 h decky / move kernel/trunk, uspace/trunk and boot/trunk to trunk/kernel, trunk/uspace and trunk/boot  
1780 6568 d 9 h jermar /kernel/trunk/ Replace old __u?? types with respective C99 variants (e.g. uint32_t, int64_t, uintptr_t etc.).  
1767 6576 d 16 h palkovsky /kernel/trunk/ Remove unneeded FRAME_PANIC.
Fix some things broken by last commit.
 
1760 6579 d 11 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...
 
1745 6584 d 5 h jermar /kernel/trunk/arch/ppc64/src/mm/ Make defunct ppc64 kernel compile again.  
1731 6585 d 2 h jermar /kernel/trunk/ Updates in Doxygen-style comments.
Make architecture specific modules appear conditionally in the documentation.
Add time management module.
Improve names of other modules and sort module order
to be more like in the design documentation.
 
1708 6586 d 15 h jermar /kernel/trunk/ Fix some broken doxygen comments.  
1705 6588 d 15 h cejka /kernel/trunk/ Added file with modules definitions and descriptions.
We are able to change modules order and their description in one place.
 
1704 6588 d 18 h cejka /kernel/trunk/ Fixed first letter size of subgroup name in Others.  
1702 6589 d 12 h cejka /kernel/trunk/ Kernel doxygen comments updated.  
1474 6602 d 4 h palkovsky /kernel/trunk/ Added syscall that lets kernel regain access to keyboard.  
1411 6609 d 10 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.
 
1398 6612 d 6 h decky /kernel/trunk/arch/ port ppc32 changes to ppc64 (raw)  
1305 6623 d 13 h decky /kernel/trunk/arch/ppc64/ make ppc64 compile again  
1304 6624 d 8 h palkovsky /kernel/trunk/arch/ Fix zone_merge_all in ppc architectures.  
1227 6640 d 10 h jermar /kernel/trunk/ Reorganize syscall names to better correspond to kernel architecture.
Add dummy placeholders for SYS_AS_AREA_SHARE_APPROVE and
SYS_AS_AREA_SHARE_PERFORM syscalls.
 
1221 6641 d 4 h decky /kernel/trunk/ printf-related and other code cleanup  
1196 6647 d 13 h cejka /kernel/trunk/ Printf ported back from uspace to kernel.
Printf calls changed to match new conventions.
 
1191 6649 d 17 h jermar /kernel/trunk/ Kernel support for SYS_ENABLE_IOSPACE.
amd64 and ia32 provide dummy implementation thereof.
 
1187 6650 d 9 h jermar /kernel/trunk/ Cleanup pm.c and pm.h code on ia32 and amd64.
Add before_task_runs() and before_task_runs_arch() for each architecture.
Add ia32 and amd64 code to ensure I/O Permission Bitmap update.
 
1162 6654 d 11 h decky /kernel/trunk/arch/ make the ppc ports generate proper 32b or 64b code  
1160 6654 d 11 h decky /kernel/trunk/ start ppc64 port
the code is currently a wild mixture of 32/64b code, will be fixed