Rev |
Age |
Author |
Path |
Log message |
Diff |
2441 |
6290 d 15 h |
decky |
/trunk/kernel/ |
fix ICC compilation |
|
2101 |
6412 d 17 h |
decky |
/trunk/kernel/ |
fix signed/unsigned comparison and integer overflow |
|
2095 |
6412 d 19 h |
decky |
/trunk/kernel/arch/ia32/src/smp/ |
fix signed/unsigned comparison |
|
2089 |
6413 d 23 h |
decky |
/trunk/ |
huge type system cleanup
remove cyclical type dependencies across multiple header files
many minor coding style fixes |
|
2071 |
6424 d 16 h |
jermar |
/trunk/ |
(c) versus (C) |
|
1901 |
6537 d 21 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. |
|
1888 |
6549 d 19 h |
jermar |
/trunk/ |
C99 compliant header guards (hopefully) everywhere in the kernel.
Formatting and indentation changes.
Small improvements in sparc64. |
|
1787 |
6614 d 18 h |
decky |
/ |
move kernel/trunk, uspace/trunk and boot/trunk to trunk/kernel, trunk/uspace and trunk/boot |
|
1780 |
6621 d 19 h |
jermar |
/kernel/trunk/ |
Replace old __u?? types with respective C99 variants (e.g. uint32_t, int64_t, uintptr_t etc.). |
|
1702 |
6642 d 22 h |
cejka |
/kernel/trunk/ |
Kernel doxygen comments updated. |
|
1576 |
6651 d 16 h |
jermar |
/kernel/trunk/ |
Make use of thread_join_timeout() and thread_detach() in kernel.
Improved comments in slab.h. |
|
1221 |
6694 d 13 h |
decky |
/kernel/trunk/ |
printf-related and other code cleanup |
|
615 |
6825 d 1 h |
palkovsky |
/kernel/trunk/ |
Cleanups to make it compile with -Wall. Did not catch everything yet. |
|
534 |
6833 d 17 h |
jermar |
/ |
Rename HelenOS/SPARTAN to HelenOS/kernel again. |
|
532 |
6833 d 17 h |
jermar |
/ |
Revert renaming of HelenOS/SPARTAN to HelenOS/kernel because of important pending patch. |
|
512 |
6844 d 23 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. |
|
501 |
6845 d 21 h |
jermar |
/ |
Rename HelenOS/SPARTAN to HelenOS/kernel. |
|
458 |
6860 d 0 h |
decky |
/SPARTAN/trunk/ |
make configuration variables usage consistent |
|
368 |
6907 d 23 h |
jermar |
/SPARTAN/trunk/ |
Physical memory management work.
New frame allocator.
Some architectures need to have bigger heap. |
|
347 |
6915 d 16 h |
jermar |
/SPARTAN/trunk/ |
Documentation updates for amd64, mips32 and ia32.
Replace %L with %P printf() formatter in MPS and ACPI detection functions to print addresses in maximal width.
Tweak memmap.S and IA-32 and AMd64 boot.S.
Cancel unneeded instructions.
Replace cmpl $0, %ebx with testl %ebx, %ebx.
Move memmap.S data to K_DATA_START section. |
|
277 |
6925 d 15 h |
palkovsky |
/SPARTAN/trunk/arch/ |
Reverted APIC mapping back to identity mapping.
Added AMD64 SMP support. Works now! |
|
273 |
6925 d 18 h |
palkovsky |
/SPARTAN/trunk/ |
Changes to make ia32 smp code not architecture dependent.
Changes to accomodate new gdtr loading scheme. |
|
205 |
6929 d 2 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(). |
|
198 |
6929 d 15 h |
jermar |
/SPARTAN/trunk/ |
Switch order of 'src' and 'dst' arguments in some left-over uses of memcopy.
Cleanup. |
|
195 |
6929 d 17 h |
vana |
/SPARTAN/trunk/ |
1) memcopy and _memcopy functions rewriten to ANSI C norm.
2) Repaired ia32,ia64 and mips version of SPARTAN to work with this memcopy functions
3) Warning for non declared funcions added and repaired ia32,ia64 and mips versions to pass build process with this warning and Werror option |
|
131 |
6971 d 1 h |
jermar |
/SPARTAN/trunk/arch/ia32/src/ |
Initialize kmp_completion_wq during configuration via ACPI MADT.
Move some generic SMP configuration code from mps.c to smp.c. |
|
128 |
6973 d 0 h |
jermar |
/SPARTAN/trunk/arch/ia32/ |
Create IA-32 interface for bringing SMP up.
This interface hides differences between ACPI MADT and MPS configuration tables.
Provide MPS implementation thereof. |
|
125 |
6975 d 14 h |
jermar |
/SPARTAN/trunk/ |
Huge indentation fix. |
|
116 |
7010 d 20 h |
jermar |
/SPARTAN/trunk/ |
Add map_structure() to automate mapping of memory structures that can span multiple pages and/or cross page boundaries.
Change ACPI map_sdt() to use map_structure().
Small changes in MPS code.
The extra frame allocation for accessing frame 0 is unnecessary as it is possible to access frame 0 from kernel address space.
Zero TSS descriptor in the newly prepared GDT. |
|
113 |
7014 d 12 h |
jermar |
/SPARTAN/trunk/ |
SMP recovery patch #2 (SMP is no longer broken !!!).
Fix missing KA2PA() operation in ap.S which was causing page faults during AP early initialization.
Fix bug in map_page_to_frame(): 'root' was interpretted as kernel address while read_dba() returns physical address.
Make references to page directory and page tables use kernel addresses instead of physical addresses.
Massive frame allocation code cleanup.
Basically revert to what we had had before implementation of userspace.
Usual cosmetics. |
|
110 |
7015 d 21 h |
jermar |
/SPARTAN/trunk/ |
SMP recovery patch #1. (SMP still broken)
Move ap_boot() to K_TEXT_START_2 section.
Change ap_boot() to cope with mapping of kernel address space.
Change some addresses in mps.c from kernel to physical.
MIPS.
Move msim dprinter device to 0xB0000000.
This address is from kseg1 (unmapped, uncached) segment. |
|
72 |
7040 d 16 h |
decky |
/SPARTAN/trunk/ |
size_t usage
const qualifier
code cleanup |
|
68 |
7040 d 16 h |
decky |
/SPARTAN/trunk/ |
NDEBUG debug symbol, ASSERT debug macro, fancier panic() in debug mode
indentation fixes, ASSERTs |
|
34 |
7051 d 19 h |
jermar |
/SPARTAN/trunk/ |
More ACPI work.
Initial MADT table parsing.
SMP renaming and reorganization to reflect there are more ways to bring SMP up. |
|
33 |
7052 d 12 h |
jermar |
/SPARTAN/trunk/ |
ACPI update (RSDT/XSDT configuration).
Cosmetic changes. |
|
32 |
7054 d 15 h |
jermar |
/SPARTAN/trunk/ |
ACPI detection code.
MP detection code rewrite.
Minor changes. |
|
30 |
7056 d 2 h |
jermar |
/SPARTAN/trunk/arch/ia32/ |
Separate EBDA detection from MP Specification code. EBDA address will be needed during ACPI initialization. |
|
29 |
7056 d 19 h |
jermar |
/SPARTAN/trunk/arch/ia32/ |
Begin ACPI support.
ACPI support will be necessary for initialization of SMP systems with SMT (HyperThreading). |
|
28 |
7057 d 0 h |
jermar |
/SPARTAN/trunk/ |
Small improvements. |
|
27 |
7057 d 14 h |
jermar |
/SPARTAN/trunk/ |
APIC changes and fixes.
Be more robust during MP configuration.
Do not use APIC ID as CPU_ID_ARCH anymore.
Changing APIC ID's is not a good idea.
Use dr0 register instead. |
|