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
2784 5966 d 2 h jermar /trunk/kernel/arch/ Fortify ia32 and amd64 kernels against mallicious uspace applications that set
DF prior to entering the kernel. For AMD64 syscalls, we don't use the CLD
instruction, but make use of the SFMASK MSR instead. Simics works fine with
it, but QEMU seems to have a problem.
 
2783 5966 d 2 h jermar /trunk/kernel/arch/amd64/src/cpu/ Fix cstyle.  
2781 5970 d 10 h cejka /trunk/ Unified context saving/restoring macros in ppc32.  
2780 5970 d 10 h cejka /trunk/ Fixed broken context_offset.h symlinks for mips32eb and ia32xen.  
2779 5970 d 10 h cejka /trunk/ Context saving/restoring macros used for mips32.  
2777 5970 d 12 h cejka /trunk/ Unified context handling code for amd64.  
2775 5970 d 13 h cejka /trunk/kernel/arch/ia32/src/ Added missing ia32/context.S from last commit.  
2774 5970 d 14 h cejka /trunk/kernel/arch/ Context.s renamed to context.S for ia32 and fixed links for ia32xen.
Added asm macros for context save/restore and offset definitions.
 
2772 5973 d 3 h jermar /trunk/kernel/arch/arm32/src/mm/ Fix breakage in arm32 non-debug build.  
2767 5975 d 3 h jermar /trunk/kernel/arch/amd64/src/ Fix breakage in non-debug amd64 build.  
2765 5976 d 3 h jermar /trunk/kernel/generic/src/proc/ tasklet.c needs to include config.h  
2746 5987 d 6 h decky /trunk/kernel/ start merging tasklets (more or less a rewrite)  
2745 5987 d 11 h decky /trunk/ code cleanup (mostly signed/unsigned)
allow extra compiler warnings
 
2726 6005 d 12 h vana /trunk/ Basic IA64 boot and kernel suport for real machines  
2725 6008 d 8 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)
 
2724 6008 d 9 h decky /trunk/kernel/generic/src/interrupt/ enlarge description field  
2723 6009 d 7 h decky /trunk/kernel/arch/ remove memory_print_map(), as it duplicates functionality of physmem_print()  
2722 6009 d 8 h decky /trunk/kernel/arch/mips32/ convert ARC specific commands to generic ones  
2721 6009 d 9 h decky /trunk/kernel/ convert e820list to a generic physmem command  
2720 6009 d 12 h decky /trunk/kernel/arch/mips32/src/mm/ prettyprint tlb command  
2719 6009 d 12 h decky /trunk/kernel/arch/mips32/src/ prettyprint bkpts command  
2713 6013 d 8 h decky /trunk/kernel/arch/amd64/src/boot/ remove fake tab  
2712 6013 d 9 h decky /trunk/kernel/ prettyprint output  
2703 6020 d 6 h jermar /trunk/kernel/arch/amd64/ Grow the initial identity mapping from 64M to 4G.
We should not allocate GDT's from above 4G or the amd64 will occassionally
triple-fault again.
 
2702 6020 d 9 h decky /trunk/kernel/arch/ia32/src/mm/ change cstyle to human-readable form  
2701 6020 d 11 h jermar /trunk/kernel/ Fix cstyle and (c) to 2008.  
2697 6030 d 9 h decky /trunk/kernel/ amd64: shorten kernel address space by 2 GB to support proper mapping of more than 2 GB of physical memory  
2696 6030 d 13 h decky /trunk/kernel/arch/mips32/ initial support for dorder device in MSIM  
2692 6034 d 5 h decky /trunk/kernel/arch/amd64/ move cpuid tests from amd64.c to boot.S  
2684 6039 d 3 h jermar /trunk/ Add libc and VFS implementation of lseek(), VFS_SEEK resp.
Add the size member to the VFS node structure (not yet initialized).
 
2677 6045 d 6 h jermar /trunk/ Rename IPC_M_AS_AREA_SEND to IPC_M_SHARE_OUT. Rename IPC_M_AS_AREA_RECV to
IPC_M_SHARE_IN. Provide user-friendly wrappers for these methods so that even
dummies can get it right. Some applications using simpler protocols still use
these methods directly.
 
2676 6045 d 12 h jermar /trunk/ Simplify the IPC_M_DATA_WRITE protocol. Do not pass the source address space
virtual address to the recipient. This feature was not used anyway. Now
IPC_M_DATA_WRITE and IPC_M_DATA_READ are feature-aligned.
 
2662 6053 d 1 h jermar /trunk/ Add support for IPC_M_DATA_READ calls.  
2661 6053 d 2 h jermar /trunk/kernel/generic/src/ipc/ Release the IPC_M_DATA_WRITE buffer even if the write is refused by the
recipient.
 
2660 6053 d 3 h jermar /trunk/ Rename IPC_M_DATA_SEND to IPC_M_DATA_WRITE. Now, when we also add
IPC_M_DATA_READ, it will not clash and cause confusion with userspace wrappers
such as ipc_data_receive(). Rename the forementioned wrappers to
ipc_data_write_send(), ipc_data_write_receive() and ipc_data_write_deliver().
 
2647 6060 d 4 h jermar /trunk/kernel/generic/src/mm/ Fix a bug in anonymous address space area sharing. Call the backend's share
function only if the source area is not already shared. Otherwise increment the
sh_info refcount. Without this fix, the kernel will try to recreate the pagemap
if three and more address space areas attempt to share the same data.
 
2646 6060 d 4 h jermar /trunk/kernel/generic/include/ Formatting.  
2638 6072 d 2 h jermar /trunk/ Sync IPC comments with IPC code.  
2637 6072 d 3 h cejka /trunk/ Extended IPC_M_CONNECT_TO_ME to use 3 user defined parameters.
Phone identifier is passed in ARG5.
 
2636 6074 d 2 h jermar /trunk/ Update comments wrt the previous commit.
Minor formatting fixes.