Rev |
Age |
Author |
Path |
Log message |
Diff |
1223 |
6770 d 13 h |
jermar |
/kernel/trunk/ |
Make ia64 and sparc64 compile again.
Fix ia64 to set up inits in arch_pre_main(). |
|
1221 |
6771 d 3 h |
decky |
/kernel/trunk/ |
printf-related and other code cleanup |
|
1196 |
6777 d 12 h |
cejka |
/kernel/trunk/ |
Printf ported back from uspace to kernel.
Printf calls changed to match new conventions. |
|
1191 |
6779 d 17 h |
jermar |
/kernel/trunk/ |
Kernel support for SYS_ENABLE_IOSPACE.
amd64 and ia32 provide dummy implementation thereof. |
|
1187 |
6780 d 8 h |
jermar |
/kernel/trunk/ |
Cleanup pm.c and pm.h code on ia32 and amd64.
Add before_task_runs() and before_task_runs_arch() for each architecture.
Add ia32 and amd64 code to ensure I/O Permission Bitmap update. |
|
1185 |
6780 d 11 h |
jermar |
/kernel/trunk/ |
Add task_create_arch() for all architectures. |
|
1184 |
6780 d 11 h |
jermar |
/kernel/trunk/ |
Move arch/thread.h to arch/proc/thread.h on all architectures.
Replace ARCH_THREAD_DATA with new thread_arch_t arch on all architectures.
Similarily, add task_arch_t arch on all architectures.
On amd64 and ia32, grow the TSS segment by 64K + 1B to support IO port
permission bitmap. For the same reason, define per task IO port permission bitmaps
on ia32 and amd64. |
|
1171 |
6781 d 17 h |
jermar |
/kernel/trunk/ |
Initialize ARCH_THREAD_DATA on all architectures.
On ia32 and amd64 this fixes bug caused by uninitialized TLS pointer. |
|
1135 |
6799 d 3 h |
decky |
/kernel/trunk/ |
framebuffer code cleanup, support for non-standard scanline sizes
ppc32: get framebuffer parameters from boot loader |
|
1124 |
6800 d 15 h |
jermar |
/kernel/trunk/arch/ |
Small changes.
Make sparc64 and ppc32 compile again. |
|
1108 |
6802 d 3 h |
jermar |
/kernel/trunk/ |
Small PTE_* macros and SET_PTL0_ADDRESS macro changes. |
|
1106 |
6802 d 3 h |
jermar |
/kernel/trunk/arch/ |
Pass either -DCONFIG_PAGE_PT or -DCONFIG_PAGE_HT to the compiler. |
|
1104 |
6802 d 8 h |
jermar |
/kernel/trunk/ |
Define atomic_t only once in atomic.h
Change the encapsulated counter type to long so that it supports negative values as well. |
|
1082 |
6807 d 6 h |
jermar |
/kernel/trunk/arch/sparc64/include/ |
Fix atomic_postdec() operation. |
|
1070 |
6807 d 16 h |
jermar |
/kernel/trunk/ |
More checks for address space area conflicts. |
|
1062 |
6808 d 3 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. |
|
1024 |
6809 d 7 h |
jermar |
/kernel/trunk/ |
Redefine semantics of unary atomic operations.
Add test to verify that an architecture understands the semantics correctly. |
|
977 |
6810 d 12 h |
jermar |
/kernel/trunk/ |
Add sys_mremap() syscall. |
|
967 |
6810 d 15 h |
palkovsky |
/kernel/trunk/ |
Allowed userspace to include page.h. |
|
958 |
6811 d 6 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. |
|
955 |
6811 d 6 h |
palkovsky |
/kernel/trunk/ |
Added kernel IPC functionality. |
|
940 |
6812 d 7 h |
jermar |
/kernel/trunk/ |
Get rid of unneeded macros.
Their functionality has been replaced by the ELF loader. |
|
938 |
6812 d 7 h |
jermar |
/kernel/trunk/ |
Basic support for loading ELF object files.
ia64, amd64, ia32 working.
mips32 requires some attention. |
|
910 |
6819 d 12 h |
bondari |
/kernel/trunk/ |
ELF framework for all archs. SPARC V9 not tested to compile. |
|
901 |
6823 d 15 h |
jermar |
/kernel/trunk/arch/ |
ia64 work.
Provide PA2KA(identity) mapping for kernel data references via Alternate Data TLB Fault handler.
Add before_thread_runs_arch() that maps kstack, if necessary.
Add easy to use dtlb_mapping_insert() for comfortable insertion of kernel data mappings. |
|
898 |
6824 d 12 h |
jermar |
/kernel/trunk/ |
Minor changes. |
|
897 |
6825 d 2 h |
jermar |
/kernel/trunk/ |
sparc64 work.
Fix KBD_VIRT_ADDRESS.
Call before_thread_runs() prior to the switch to the thread's stack. Add comment why this is crucial.
Add after_thread_ran() to the scheduler.
Add before_thread_runs_arch() and after_thread_ran_arch() for sparc64, mapping/demapping thread's kernel stack.
Add dummy after_thread_ran_arch() to all other architectures.
Add dtlb_insert_mapping() to promote code reuse. |
|
895 |
6825 d 5 h |
jermar |
/kernel/trunk/ |
sparc64 work.
Very raw and fragile preliminary standalone keyboard support - polling mode only.
Because of a workaround in Simics, the scan codes are the same as on ia32. |
|
894 |
6825 d 9 h |
jermar |
/kernel/trunk/ |
Move i8042 driver to genarch as it might be used by more architectures. |
|
893 |
6825 d 13 h |
jermar |
/kernel/trunk/arch/ |
sparc64 work.
Revive OFW console code and use it before the kernel switches to standalone console.
ia32 + ia64 cosmetic changes. |
|
889 |
6826 d 12 h |
jermar |
/kernel/trunk/arch/sparc64/include/drivers/ |
Forgotten fb.h for sparc64. |
|
883 |
6826 d 14 h |
jermar |
/kernel/trunk/arch/sparc64/ |
sparc64 work.
Switch console to framebuffer (needs proper detection and initialization).
No native keyboard support, so far.
Memory management trap handler fixes.
Do not use OpenFirmware trap table anymore. |
|
877 |
6828 d 6 h |
jermar |
/kernel/trunk/arch/sparc64/ |
Fixes in sparc64 preliminary TLB miss handler.
Compute and insert identity mapping for kernel on the fly. |
|
873 |
6828 d 14 h |
jermar |
/kernel/trunk/arch/sparc64/ |
sparc64 work.
Add more MMU helper functions and make data TLB miss handler more verbose. |
|
868 |
6830 d 11 h |
jermar |
/kernel/trunk/arch/sparc64/src/mm/ |
Add missing file. |
|
867 |
6830 d 11 h |
jermar |
/kernel/trunk/ |
Move OFW functionality of ppc32 memory_init to genarch so that the code can also be used by sparc64.
sparc64 is now close to broken as it lacks functionality to provide identity mapping for the whole phyisical memory. |
|
864 |
6831 d 2 h |
jermar |
/kernel/trunk/arch/sparc64/include/trap/ |
Add forgotten file. |
|
863 |
6831 d 2 h |
jermar |
/kernel/trunk/arch/sparc64/ |
sparc64 work.
Add initial TLB miss handlers. |
|
861 |
6831 d 12 h |
jermar |
/kernel/trunk/arch/sparc64/include/ |
Add atomic_add() operation for sparc64. |
|
860 |
6832 d 2 h |
decky |
/kernel/trunk/ |
indentation changes
ppc32 fpu context save/restore
ppc32 CPU version
ppc32 memcpy |
|