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 5959 d 5 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 5959 d 5 h jermar /trunk/kernel/arch/amd64/src/cpu/ Fix cstyle.  
2781 5963 d 13 h cejka /trunk/ Unified context saving/restoring macros in ppc32.  
2780 5963 d 13 h cejka /trunk/ Fixed broken context_offset.h symlinks for mips32eb and ia32xen.  
2779 5963 d 13 h cejka /trunk/ Context saving/restoring macros used for mips32.  
2777 5963 d 15 h cejka /trunk/ Unified context handling code for amd64.  
2775 5963 d 16 h cejka /trunk/kernel/arch/ia32/src/ Added missing ia32/context.S from last commit.  
2774 5963 d 17 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 5966 d 6 h jermar /trunk/kernel/arch/arm32/src/mm/ Fix breakage in arm32 non-debug build.  
2767 5968 d 6 h jermar /trunk/kernel/arch/amd64/src/ Fix breakage in non-debug amd64 build.  
2765 5969 d 6 h jermar /trunk/kernel/generic/src/proc/ tasklet.c needs to include config.h  
2746 5980 d 9 h decky /trunk/kernel/ start merging tasklets (more or less a rewrite)  
2745 5980 d 14 h decky /trunk/ code cleanup (mostly signed/unsigned)
allow extra compiler warnings
 
2726 5998 d 15 h vana /trunk/ Basic IA64 boot and kernel suport for real machines  
2725 6001 d 11 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 6001 d 12 h decky /trunk/kernel/generic/src/interrupt/ enlarge description field  
2723 6002 d 10 h decky /trunk/kernel/arch/ remove memory_print_map(), as it duplicates functionality of physmem_print()  
2722 6002 d 11 h decky /trunk/kernel/arch/mips32/ convert ARC specific commands to generic ones  
2721 6002 d 12 h decky /trunk/kernel/ convert e820list to a generic physmem command  
2720 6002 d 15 h decky /trunk/kernel/arch/mips32/src/mm/ prettyprint tlb command  
2719 6002 d 15 h decky /trunk/kernel/arch/mips32/src/ prettyprint bkpts command  
2713 6006 d 11 h decky /trunk/kernel/arch/amd64/src/boot/ remove fake tab  
2712 6006 d 12 h decky /trunk/kernel/ prettyprint output  
2703 6013 d 9 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 6013 d 12 h decky /trunk/kernel/arch/ia32/src/mm/ change cstyle to human-readable form  
2701 6013 d 14 h jermar /trunk/kernel/ Fix cstyle and (c) to 2008.  
2697 6023 d 12 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 6023 d 16 h decky /trunk/kernel/arch/mips32/ initial support for dorder device in MSIM  
2692 6027 d 8 h decky /trunk/kernel/arch/amd64/ move cpuid tests from amd64.c to boot.S  
2684 6032 d 6 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 6038 d 9 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 6038 d 16 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 6046 d 4 h jermar /trunk/ Add support for IPC_M_DATA_READ calls.  
2661 6046 d 6 h jermar /trunk/kernel/generic/src/ipc/ Release the IPC_M_DATA_WRITE buffer even if the write is refused by the
recipient.
 
2660 6046 d 6 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 6053 d 7 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 6053 d 7 h jermar /trunk/kernel/generic/include/ Formatting.  
2638 6065 d 5 h jermar /trunk/ Sync IPC comments with IPC code.  
2637 6065 d 6 h cejka /trunk/ Extended IPC_M_CONNECT_TO_ME to use 3 user defined parameters.
Phone identifier is passed in ARG5.
 
2636 6067 d 5 h jermar /trunk/ Update comments wrt the previous commit.
Minor formatting fixes.