Rev |
Age |
Author |
Path |
Log message |
Diff |
1040 |
6726 d 18 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 |
6726 d 19 h |
decky |
/kernel/trunk/ |
support for more init tasks
(might break some archs yet) |
|
1027 |
6727 d 6 h |
palkovsky |
/kernel/trunk/ |
Implemented callback IPC call (connect_to_me). |
|
973 |
6728 d 18 h |
palkovsky |
/kernel/trunk/generic/ |
Added simpler userspace starting. |
|
965 |
6728 d 21 h |
palkovsky |
/kernel/trunk/ |
Added skeleton name service.
Cleanup for IPC to use mutexes instead of spinlocks. |
|
955 |
6729 d 11 h |
palkovsky |
/kernel/trunk/ |
Added kernel IPC functionality. |
|
938 |
6730 d 12 h |
jermar |
/kernel/trunk/ |
Basic support for loading ELF object files.
ia64, amd64, ia32 working.
mips32 requires some attention. |
|
820 |
6762 d 8 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 |
6762 d 16 h |
palkovsky |
/kernel/trunk/ |
Small cleanup. |
|
794 |
6764 d 14 h |
palkovsky |
/kernel/trunk/ |
Added MIPS userspace. Currently can't make it work in gxemul. |
|
756 |
6770 d 6 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 |
6771 d 7 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 |
6782 d 8 h |
jermar |
/kernel/trunk/ |
New ASID management subsystem (initial work, more is required).
Some TLB invalidation changes. |
|
718 |
6786 d 9 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 |
6786 d 12 h |
decky |
/kernel/trunk/ |
remove obsolete in-kernel userspace code
remove CONFIG_USERSPACE switch, uspace support is configured at run-time |
|
703 |
6788 d 17 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 |
6798 d 8 h |
jermar |
/kernel/trunk/ |
Add 'version' and 'cpus' kconsole commands.
Remove leading p from names of p* commands. |
|
654 |
6812 d 13 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 |
6817 d 11 h |
decky |
/kernel/trunk/ |
init task loading (yet buggy) |
|
625 |
6817 d 14 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 |
6819 d 19 h |
palkovsky |
/kernel/trunk/ |
Cleanups to make it compile with -Wall. Did not catch everything yet. |
|
609 |
6820 d 13 h |
palkovsky |
/kernel/trunk/ |
added support for breakpoints to mips32 |
|
578 |
6823 d 4 h |
palkovsky |
/kernel/trunk/ |
Added exception printing.
It does not work correctly on SMP architectures :-/
Preemption error.... |
|
534 |
6828 d 11 h |
jermar |
/ |
Rename HelenOS/SPARTAN to HelenOS/kernel again. |
|
532 |
6828 d 11 h |
jermar |
/ |
Revert renaming of HelenOS/SPARTAN to HelenOS/kernel because of important pending patch. |
|
523 |
6834 d 14 h |
jermar |
/kernel/trunk/ |
Clean up. |
|
518 |
6836 d 7 h |
jermar |
/kernel/trunk/ |
Improve kconsole's support for recognition of commands with arguments.
Implement ARG_TYPE_STRING.
Add 'describe' command.
Move kconsole.c to generic/src/console.
Move kconsole.h to generic/include/console. |
|
517 |
6837 d 7 h |
jermar |
/kernel/trunk/ |
Implement basic kernel console command recognition.
Commands without arguments are now recognized. |
|
512 |
6839 d 17 h |
jermar |
/kernel/trunk/ |
SMP work.
Add madt_irq_to_pin().
Make ksmp() use virtual irq_to_pin() function, which makes better sence for ACPI configurations. |
|
510 |
6840 d 7 h |
jermar |
/kernel/trunk/ |
Add chardev_t.
This type is meant to abstract any input character device such as keyboard, serial port etc.
Add stdin.
Add dummy kconsole. |
|
508 |
6840 d 9 h |
jermar |
/kernel/trunk/ |
Basic keyboard support for ia32.
For some reason, keyoboard looks dead on SMP.
Make kinit() print "kinit..." strings in longer intervals. |
|
501 |
6840 d 15 h |
jermar |
/ |
Rename HelenOS/SPARTAN to HelenOS/kernel. |
|
459 |
6854 d 18 h |
decky |
/SPARTAN/trunk/ |
build system: CONFIG_TEST, CONFIG_USERSPACE |
|
458 |
6854 d 18 h |
decky |
/SPARTAN/trunk/ |
make configuration variables usage consistent |
|
452 |
6855 d 10 h |
decky |
/SPARTAN/trunk/ |
major build system revision (unfinished)
this patchset most definitively breaks a lot of things, be patient |
|
430 |
6861 d 8 h |
jermar |
/SPARTAN/trunk/ |
Move src/ and include/ to generic. |
|
413 |
6876 d 7 h |
jermar |
/SPARTAN/trunk/ |
Rename cpu_priority_{high|low|restore|read} functions to interrupts_{disable|enable|restore|read}.
Rename pri_t to ipl_t (Interrupt Priority Level).
Rename thread_t::pri to thread_t::priority. |
|
391 |
6889 d 8 h |
jermar |
/SPARTAN/trunk/ |
mips32 memory management work.
TLB Refill Exception implemented (passed basic testing).
Remove bit g from struct entry_hi.
Add generic find_mapping().
Add asid to vm_t type, define asid_t to hide architecture specific differences.
Implement ASID allocation for mips32, dummy for other architectures.
Add THE->vm (a.k.a. VM).
Add vm_install_arch().
Move pte_t definition to arch/types.h on each architecture.
Fix PTL manipulating functions on mips32 to shift pfn by 12 instead of by 14.
Fix tlb_init_arch() to initialize all entries.
Other.
Remove unnecessary header files from arch.h
Add missing headers here and there.
Remove two unnecessary ld flags from mips32 makefile. |
|
236 |
6922 d 13 h |
jermar |
/SPARTAN/trunk/src/ |
Add missing header into kinit.c.
Do not use PA2KA() on dst_ptl0. |
|
205 |
6923 d 20 h |
jermar |
/SPARTAN/trunk/ |
Get rid of memcopy().
All we now have is memcpy() and _memcpy().
memcpy() is defined to be builtin.
Where not applicable, architectures must implement memcpy() code or call slowish _memcopy(). |
|