Subversion Repositories HelenOS

Rev

Show changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
4605 5547 d 11 h decky /branches/snapshot/ add task snapshoting branch  
4490 5576 d 6 h decky /trunk/kernel/ remove redundant index_t and count_t types (which were always quite ambiguous and not actually needed)  
3973 5672 d 14 h decky /trunk/kernel/ kernel memory management revisited (phase 2): map physical memory according to zones
- ia32: register reserved and ACPI zones
- pareas are now used only for mapping of present physical memory (hw_area() is gone)
- firmware zones and physical addresses outside any zones are allowed to be mapped generally
- fix nasty antient bug in zones_insert_zone()
 
3940 5679 d 8 h decky /trunk/kernel/ make hw_area API more generic
this allows mapping of EGA VRAM on ia32/amd64
 
3908 5683 d 6 h decky /trunk/ overhaul pareas: use one single physical area for the physical address space not belonging to physical memory  
3778 5726 d 11 h jermar /trunk/kernel/arch/ia64/include/mm/ Extern declaration for ia64 last_frame.  
3774 5727 d 10 h jermar /trunk/kernel/arch/ia64/include/ More of ia64 cleanup.  
3635 5766 d 5 h vana /trunk/ IA64: Userspace I/O support  
3578 5780 d 17 h vana /trunk/ Alfa of SMP support on IA64  
3233 5887 d 10 h decky /trunk/ remove dummy page coloring facility, which is currenty not used  
2726 6056 d 15 h vana /trunk/ Basic IA64 boot and kernel suport for real machines  
2725 6059 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)
 
2721 6060 d 11 h decky /trunk/kernel/ convert e820list to a generic physmem command  
2089 6433 d 12 h decky /trunk/ huge type system cleanup
remove cyclical type dependencies across multiple header files
many minor coding style fixes
 
2082 6439 d 12 h decky /trunk/ __asm__ __volatile__ -> asm volatile  
2071 6444 d 5 h jermar /trunk/ (c) versus (C)  
2007 6491 d 3 h jermar /trunk/kernel/ Introduce page colors. So far, only sparc64 uses correct page color bits. Other architectures have a dummy define
specifying zero bits for a page color.

There is a new check of page color in as_area_share(). Because of lack of support for this in the userspace, the
check has been #ifef'ed out.
 
1891 6565 d 3 h jermar /trunk/kernel/ sparc64 work:
- Experimental support for TSB (Translation Storage Buffer).
 
1890 6565 d 13 h jermar /trunk/ - Create a dedicated slab cache for as_t objects and switch from malloc/free to slab_alloc/slab_free for
them.

- Slightly fix and improve both the kernel and userspace atomic_add() on sparc64.

- More TSB work on the sparc64 front.
 
1889 6566 d 5 h jermar /trunk/kernel/ Fix bug in mm/as.c:
- as_area_destroy() should not work with AS but as

sparc64 work:
- start implementing TSB support
 
1888 6569 d 8 h jermar /trunk/ C99 compliant header guards (hopefully) everywhere in the kernel.
Formatting and indentation changes.
Small improvements in sparc64.
 
1787 6634 d 7 h decky / move kernel/trunk, uspace/trunk and boot/trunk to trunk/kernel, trunk/uspace and trunk/boot  
1780 6641 d 8 h jermar /kernel/trunk/ Replace old __u?? types with respective C99 variants (e.g. uint32_t, int64_t, uintptr_t etc.).  
1702 6662 d 11 h cejka /kernel/trunk/ Kernel doxygen comments updated.  
1675 6666 d 12 h jermar /kernel/trunk/arch/ia64/ On ia64, purge DTR entry before overwriting it with new contents.  
1511 6673 d 10 h palkovsky /kernel/trunk/arch/ Remove __address from include file included by uspace  
1290 6701 d 11 h vana /kernel/trunk/arch/ VESA detection failure fix.

(Some headers)
 
1210 6715 d 12 h vana /kernel/trunk/ Incomplete VHPT walker support for Itanium  
1138 6740 d 8 h jermar /kernel/trunk/ CPU stacks must have two frames on ia64.
Make sure both thread stack frames are mapped in before_thread_runs_arch().
Take STACK_FRAMES into account during kernel memory layout initialization in main_bsp().
 
1108 6745 d 3 h jermar /kernel/trunk/ Small PTE_* macros and SET_PTL0_ADDRESS macro changes.  
1070 6750 d 15 h jermar /kernel/trunk/ More checks for address space area conflicts.  
967 6753 d 15 h palkovsky /kernel/trunk/ Allowed userspace to include page.h.  
958 6754 d 5 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.
 
945 6755 d 4 h vana /kernel/trunk/arch/ia64/  
944 6755 d 5 h vana /kernel/trunk/ Itanium tlb_invalidate_pages  
940 6755 d 6 h jermar /kernel/trunk/ Get rid of unneeded macros.
Their functionality has been replaced by the ELF loader.
 
935 6755 d 8 h vana /kernel/trunk/ Two frame stack (standard stack + RSE) on Itanium  
919 6758 d 13 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.
 
915 6760 d 15 h jermar /kernel/trunk/arch/ia64/ ia64 work.
- Another item had to be allocated on stack to remember new value written to ar.bspstore.
Fix heavyweight interruption handler to calculate RSC.loadrs from the new value of ar.bspstore
instead from the old one.
Uncomment instructions switching ar.bspstore.
- Configure kernel with 512M of memory.
 
911 6762 d 9 h jermar /kernel/trunk/arch/ia64/ ia64 work.

Change heavyweight interrupt handler to use bank 0 registers instead of AR.KR0 and AR.KR1.
This prevents userspace from the possibility to see what addresses are being used by kernel.

Store kernel stack address in bank 0 r23 instead of AR.KR7. Again, userspace will not be
able to read the address of its kernel stack.

Increase FRAME_SIZE to 64K as this is the first supported page size in which will fit
thread's combined register and memory stack. (RSE can write out as many as 16K.)