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
1999 6452 d 6 h decky /trunk/ start RAM disk support  
1901 6515 d 2 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.
 
1855 6543 d 2 h jermar /trunk/kernel/ sparc64 work.

Fix bug introduced in revision 1852. When fixing CWP,
the input registers of the current window (i.e. output
registers of the window belonging to the interrupted
context) must be preserved. Preserve those registers
in memory. Sure there exist more efficient ways how to
copy the inputs.

Simplify before_thread_runs_arch(), resp. after_thread_ran_arch(),
and make them install, resp. uninstall, DTLB locked mapping for
eventual userspace window buffer.
 
1854 6543 d 6 h jermar /trunk/kernel/ Define architecture-specific thread sub-constructors and sub-destructors on all architectures.
Define the THREAD_FLAG_USPACE which means that the thread runs in user space.
The forementioned changes allow for allocating of user window buffer on sparc64
threads that execute in userspace.

A lot of formatting and indentation fixes.
 
1787 6591 d 23 h decky / move kernel/trunk, uspace/trunk and boot/trunk to trunk/kernel, trunk/uspace and trunk/boot  
1729 6615 d 17 h decky /kernel/trunk/generic/src/main/ coding style changes  
1705 6619 d 6 h cejka /kernel/trunk/ Added file with modules definitions and descriptions.
We are able to change modules order and their description in one place.
 
1702 6620 d 3 h cejka /kernel/trunk/ Kernel doxygen comments updated.  
1662 6625 d 8 h palkovsky /kernel/trunk/generic/src/main/ Responsive kconsole after test finished.  
1659 6625 d 9 h vana /kernel/trunk/generic/src/main/ No uspace if tests  
1581 6628 d 9 h jermar /kernel/trunk/generic/src/ Detach kmp thread after joining it.
Extend assertion in thread_destroy() to not panic when threads are destroyed in their Unded state.
 
1576 6628 d 22 h jermar /kernel/trunk/ Make use of thread_join_timeout() and thread_detach() in kernel.

Improved comments in slab.h.
 
1341 6648 d 20 h cejka /kernel/trunk/generic/src/main/ Added capability to register IRQs to tasks.  
1297 6657 d 2 h jermar /kernel/trunk/ Add SYS_CAP_GRANT and SYS_CAP_REVOKE syscalls.
Move SYS_PREEMPT_CONTROL to ddi.c.
Add some comments and fix some small issues.
 
1248 6667 d 0 h jermar /kernel/trunk/ Add some @file doxygen comments and improve already existing comments.  
1196 6678 d 4 h cejka /kernel/trunk/ Printf ported back from uspace to kernel.
Printf calls changed to match new conventions.
 
1174 6682 d 7 h jermar /kernel/trunk/ Start capabilities support.  
1062 6708 d 19 h jermar /kernel/trunk/ It is now possible to associate symbolic names with both threads and tasks.
More verbose kconsole threads, tasks and scheduler commands.
 
1042 6709 d 5 h decky /kernel/trunk/generic/src/main/ more verbose warning  
1040 6709 d 5 h palkovsky /kernel/trunk/generic/ Changed ipc to use spinlocks instead of mutexes again.
Fixed loading inits to set nameservice as the first loaded process.
Lot of TODO in ipc done.
 
1037 6709 d 6 h decky /kernel/trunk/ support for more init tasks
(might break some archs yet)
 
1027 6709 d 17 h palkovsky /kernel/trunk/ Implemented callback IPC call (connect_to_me).  
973 6711 d 5 h palkovsky /kernel/trunk/generic/ Added simpler userspace starting.  
965 6711 d 8 h palkovsky /kernel/trunk/ Added skeleton name service.
Cleanup for IPC to use mutexes instead of spinlocks.
 
955 6711 d 22 h palkovsky /kernel/trunk/ Added kernel IPC functionality.  
938 6712 d 23 h jermar /kernel/trunk/ Basic support for loading ELF object files.
ia64, amd64, ia32 working.
mips32 requires some attention.
 
820 6744 d 19 h jermar /kernel/trunk/ Convert size_t, count_t and index_t to 64-bits on 64-bit architectures.
Change some pfn_t usages to count_t, size_t and index_t.
 
817 6745 d 3 h palkovsky /kernel/trunk/ Small cleanup.  
794 6747 d 1 h palkovsky /kernel/trunk/ Added MIPS userspace. Currently can't make it work in gxemul.  
756 6752 d 17 h jermar /kernel/trunk/ Memory management work.
Remove the last (i.e. 'root') argument from page_mapping_insert() and page_mapping_find().
Page table address is now extracted from the first (i.e. 'as') argument.
Add a lot of infrastructure to make the above possible.
sparc64 is now broken, most likely because of insufficient identity mapping of physical memory.
 
754 6753 d 18 h jermar /kernel/trunk/generic/ Remove address space area mapping array.
The information is to be stored directly in page tables.
This is to better support 64-bit systems which can have
fairly large address space areas.
 
727 6764 d 19 h jermar /kernel/trunk/ New ASID management subsystem (initial work, more is required).
Some TLB invalidation changes.
 
718 6768 d 20 h decky /kernel/trunk/ interface change: as_area_load_mapping -> as_area_set_mapping (set single page mapping)
map init directly from the physical frames it is loaded in
 
717 6768 d 23 h decky /kernel/trunk/ remove obsolete in-kernel userspace code
remove CONFIG_USERSPACE switch, uspace support is configured at run-time
 
703 6771 d 4 h jermar /kernel/trunk/ Memory management work.
- vm.* -> as.* (as like address space is, imho, more fitting)
- Don't do TLB shootdown on vm_install(). Some architectures only need to call tlb_invalidate_asid().
- Don't allocate all frames for as_area in as_area_create(), but let them be allocated on-demand by as_page_fault().
- Add high-level page fault handler as_page_fault().
- Add as_area_load_mapping().
 
673 6780 d 19 h jermar /kernel/trunk/ Add 'version' and 'cpus' kconsole commands.
Remove leading p from names of p* commands.
 
654 6795 d 0 h jermar /kernel/trunk/generic/src/ Fix page_insert_mapping().
Some architectures (e.g. ia32) need to have the lower-numbered PTL's flagged as PAGE_WRITE in order to prevent overriding protection bits of leaf TTE's.
 
629 6799 d 22 h decky /kernel/trunk/ init task loading (yet buggy)  
625 6800 d 1 h palkovsky /kernel/trunk/ We are now almost -Wall clean.
- redefined atomic_t
- deleted many, many unused variables
- some minor code cleanups found using compiler warning.
 
615 6802 d 6 h palkovsky /kernel/trunk/ Cleanups to make it compile with -Wall. Did not catch everything yet.