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 5952 d 18 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 5952 d 18 h jermar /trunk/kernel/arch/amd64/src/cpu/ Fix cstyle.  
2781 5957 d 2 h cejka /trunk/ Unified context saving/restoring macros in ppc32.  
2780 5957 d 3 h cejka /trunk/ Fixed broken context_offset.h symlinks for mips32eb and ia32xen.  
2779 5957 d 3 h cejka /trunk/ Context saving/restoring macros used for mips32.  
2777 5957 d 5 h cejka /trunk/ Unified context handling code for amd64.  
2775 5957 d 6 h cejka /trunk/kernel/arch/ia32/src/ Added missing ia32/context.S from last commit.  
2774 5957 d 6 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 5959 d 19 h jermar /trunk/kernel/arch/arm32/src/mm/ Fix breakage in arm32 non-debug build.  
2767 5961 d 20 h jermar /trunk/kernel/arch/amd64/src/ Fix breakage in non-debug amd64 build.  
2765 5962 d 19 h jermar /trunk/kernel/generic/src/proc/ tasklet.c needs to include config.h  
2746 5973 d 22 h decky /trunk/kernel/ start merging tasklets (more or less a rewrite)  
2745 5974 d 3 h decky /trunk/ code cleanup (mostly signed/unsigned)
allow extra compiler warnings
 
2726 5992 d 4 h vana /trunk/ Basic IA64 boot and kernel suport for real machines  
2725 5995 d 1 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 5995 d 1 h decky /trunk/kernel/generic/src/interrupt/ enlarge description field  
2723 5995 d 23 h decky /trunk/kernel/arch/ remove memory_print_map(), as it duplicates functionality of physmem_print()  
2722 5996 d 0 h decky /trunk/kernel/arch/mips32/ convert ARC specific commands to generic ones  
2721 5996 d 1 h decky /trunk/kernel/ convert e820list to a generic physmem command  
2720 5996 d 4 h decky /trunk/kernel/arch/mips32/src/mm/ prettyprint tlb command  
2719 5996 d 4 h decky /trunk/kernel/arch/mips32/src/ prettyprint bkpts command  
2713 6000 d 0 h decky /trunk/kernel/arch/amd64/src/boot/ remove fake tab  
2712 6000 d 1 h decky /trunk/kernel/ prettyprint output  
2703 6006 d 22 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 6007 d 1 h decky /trunk/kernel/arch/ia32/src/mm/ change cstyle to human-readable form  
2701 6007 d 3 h jermar /trunk/kernel/ Fix cstyle and (c) to 2008.  
2697 6017 d 2 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 6017 d 5 h decky /trunk/kernel/arch/mips32/ initial support for dorder device in MSIM  
2692 6020 d 21 h decky /trunk/kernel/arch/amd64/ move cpuid tests from amd64.c to boot.S  
2684 6025 d 19 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 6031 d 22 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 6032 d 5 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 6039 d 18 h jermar /trunk/ Add support for IPC_M_DATA_READ calls.  
2661 6039 d 19 h jermar /trunk/kernel/generic/src/ipc/ Release the IPC_M_DATA_WRITE buffer even if the write is refused by the
recipient.
 
2660 6039 d 19 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 6046 d 20 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 6046 d 20 h jermar /trunk/kernel/generic/include/ Formatting.  
2638 6058 d 18 h jermar /trunk/ Sync IPC comments with IPC code.  
2637 6058 d 19 h cejka /trunk/ Extended IPC_M_CONNECT_TO_ME to use 3 user defined parameters.
Phone identifier is passed in ARG5.
 
2636 6060 d 18 h jermar /trunk/ Update comments wrt the previous commit.
Minor formatting fixes.