|
|
@aa72859
|
20 years |
martin |
preparation for init task loading
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a4be38d
|
20 years |
jakub.vana |
Revert of =m in ia32 atomic operations. In according to gcc docs +m …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@73a4bab
|
20 years |
jakub.vana |
Atomic inc & dec functions synchronized on all ia32,ia64 and mips …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@59e07c91
|
20 years |
jakub |
Define atomic_t type.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e2ec980f
|
20 years |
jakub |
ia64 work.
Big cleanup of IA-64 interrupt processing.
Merge of …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0b5ac364
|
20 years |
jakub |
Get the memory barriers on ia32 right.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0187fd0
|
20 years |
martin |
fix IA-32 fences (½)
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5f85c91
|
20 years |
martin |
make configuration variables usage consistent
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@389f41e
|
20 years |
martin |
new build system almost finished
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e16e036a
|
20 years |
martin |
major build system revision (unfinished)
this patchset most …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
0.1.0
|
|
|
@0259524
|
20 years |
jakub |
IA-64 work.
Add some asm functions for manipulation with PSR, AR and …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b9b103d3
|
20 years |
martin |
Enable/disable CPU memory barriers at compile time
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@807d2d4
|
20 years |
jakub |
Move ACPI code to genarch.
Enable it for ia32, amd64 and ia64.
For …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@56d40fe
|
20 years |
bondari |
Memory inline functions for AMD64.
memcmp and memcpy are redefined …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4b2c872d
|
20 years |
jakub |
Create generic context_save() and context_restore().
These two …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@22f7769
|
20 years |
jakub |
Rename cpu_priority_{high|low|restore|read} functions to …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@bd2933a8
|
20 years |
martin |
IA32 has_cpuid() inline
minor indentation fixes
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@49c1f93
|
20 years |
bondari |
Comments fixed
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@342de62
|
20 years |
bondari |
Last inline functions for IA-32
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1084a784
|
20 years |
jakub |
mips32 memory management work.
TLB Refill Exception implemented …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8e3f47b3
|
20 years |
bondari |
ia-32 memcmp inline
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ce031f0
|
20 years |
jakub |
MIPS work.
Fix some name inconsistencies between cp0 functions' …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7e9769f
|
20 years |
jakub |
Fix copyright notices.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a68003f
|
20 years |
bondari |
Memory routines per-arch declations for future implementation
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d9430f7
|
20 years |
bondari |
I think some comments to the algoritm would be helful
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@104dc0b
|
20 years |
bondari |
built-in memcpy is not used anymore on IA-32.
IA-32 memcpy is now fast …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@105a0dc
|
20 years |
bondari |
Get from port functions are now inline
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7b43e11
|
20 years |
jakub |
Physical memory management work.
Define structures for frame zones and …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@714675b
|
20 years |
bondari |
Outb, outw, outl are now inline functions
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a5556b4
|
20 years |
bondari |
outb inline function
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d6dcdd2e
|
20 years |
jakub |
Optimize some assembler functions.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f3ade6c
|
20 years |
jakub |
Avoid code duplication by creating generic byteorder.h.
Some naming …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3156582
|
20 years |
ondrap |
Updated symtab so that it works correctly with BE architectures. …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9060bd1
|
20 years |
jakub |
IA-32 can be now cross-compiled by ./build.ia32 cross.
Unify IA-32 …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7248e31
|
20 years |
jakub |
Make IA-32 userspace stack be aligned on doubleword boundary.
In …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2c9de7e
|
20 years |
jakub |
According to IA-32 ABI, %edx and %ecx don't have to be saved accross …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b49f4ae
|
20 years |
ondrap |
Added architecture independent hooks for fpu lazy context switching. …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@16e9afa3
|
20 years |
ondrap |
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8f2153b
|
20 years |
ondrap |
Backported AMD64 linker and boot changes back to IA32.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@824553ed
|
20 years |
jakub |
Add byteorder.h to support conversions between different endianesses. …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3396f59
|
20 years |
ondrap |
Fixed gdtr naming issues after ia32 changes.
Fixed stack alignment on …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5eb1379
|
20 years |
martin |
basic GRUB memory map
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@dd80fc6
|
20 years |
martin |
GRUB basic booting (IA-32)
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c4b3e3e
|
20 years |
ondrap |
Moved AMD64 kernel above 1MB.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@776c91a
|
20 years |
ondrap |
Changes to make ia32 smp code not architecture dependent.
Changes to …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6401f79
|
20 years |
martin |
make IA-32 SMP work again (finally)
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ab08b42
|
20 years |
ondrap |
Added symbol table lookup in exceptions.
This breaks ia64 & ppc …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f6297e0
|
20 years |
martin |
proper way of initializing GDT during boot on IA-32, fixes the nasty …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2f08a55d
|
20 years |
malyzelenyhnus |
Support for NaN and infinity in printf.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@345ce2f
|
20 years |
ondrap |
Fixed asm problems in asm in atomic instructions.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@bc1089a
|
20 years |
jakub |
Make atomic_dec() and atomic_inc() take (volatile int *) argument, not …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@73838ed
|
20 years |
ondrap |
Cleanups so that it compiles on ia-32 & amd-64 cleanly
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5dce48b9
|
20 years |
martin |
load the kernel above 1 MB on IA-32
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c7bb8b05
|
20 years |
malyzelenyhnus |
Created fmath as basic tool for IEEE 754 floating point numbers. …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f9447155
|
20 years |
martin |
IA-32 GRUB support (alpha)
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@393f631
|
20 years |
martin |
many PPC stuff, platform dependent arch.h header files
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b9e97fb
|
20 years |
ondrap |
Better types for ia32 drivers, so that they can be reused in amd64. …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9c0a9b3
|
20 years |
jakub.vana |
1) memcopy and _memcopy functions rewriten to ANSI C norm.
2) Repaired …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7ce9284
|
20 years |
jakub |
Dump implementation of THREAD, TASK and CPU.
Implement preemption-safe …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1e9a463
|
20 years |
malyzelenyhnus |
Licence to print1/test.c added.
New function for printing memory map …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1fbbcd6
|
20 years |
jakub |
Globalize 'size' and 'delta' and rename them to 'kernel_size' and …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b52da8d7
|
20 years |
jakub |
Add some comments to IA-32 src/boot/boot.S and src/smp.S.
Make the …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@361635c
|
20 years |
jakub |
Preparations for weaker preemption model.
Make all kernel stacks (i.e. …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3526da33
|
20 years |
jakub |
For each architecture, add an extra type cast of x to address to …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7dd56f1
|
20 years |
jakub |
Add memory barriers into spinlock_*().
Implement …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f5e3d1da
|
20 years |
jakub |
Add missing memory_init.h files for IA-64 and MIPS architectures.
Fix …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a55f97f
|
20 years |
malyzelenyhnus |
Memory size detection for ia32 completed.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5d721f0
|
20 years |
malyzelenyhnus |
Added e801 method for obtaining memory size, improved e820 method for …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@51029384
|
20 years |
jakub |
Fix setters of page table attributes for both IA-32 and MIPS.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@232e3ec7
|
20 years |
jakub |
Implement ACPI MADT operations for interface used by kmp.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a26ddd1
|
20 years |
jakub |
Create IA-32 interface for bringing SMP up.
This interface hides …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@76cec1e
|
20 years |
jakub |
Huge indentation fix.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ff9f858
|
20 years |
jakub |
Generic 4-level page tables interface & implementation (review & …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@992bbb97
|
20 years |
jakub |
Start with generic 4-level page table interface.
Usual cleanup.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@74df77d
|
20 years |
jakub |
Add map_structure() to automate mapping of memory structures that can …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@18e0a6c
|
20 years |
jakub |
Implement several assembler functions in gcc's asm notation …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e3f41b6
|
20 years |
ondrap |
Code cleanup in scheduler.c thread.c - removed unnecessary spinlock. …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ac5d02b
|
20 years |
jakub |
IA-32 fixes.
Use kernel addresses instead of physical addresses in …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@dcbc8be
|
20 years |
jakub |
Big changes in IA-32 address space map.
Now the kernel is mapped above …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@fc9c4e1
|
20 years |
jakub |
Replace "THREAD→cpu" with "CPU" in scheduler().
Add trailing '\n' to …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2998046
|
20 years |
malyzelenyhnus |
first version of e820 memmap
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@14def1f6
|
20 years |
malyzelenyhnus |
Started memory map support.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@54ca3523
|
20 years |
jakub |
FPU work.
FPU code cleanup, add/fix copyright notices where needed. …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6de2480e
|
20 years |
jakub.vana |
IA-32 FPU lazy context switching.
Doesn't work on Bochs and sometimes …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6b96ab44
|
20 years |
jakub |
IA-64 work.
Add the rest of branch registers to context_t.
Add …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7f1bfce
|
20 years |
jakub |
Add SP_DELTA macro for each architecture.
On IA-32, this macro …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f2ffad4
|
20 years |
jakub |
For each architecture, add function/macro FADDR that calculates …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ea3fb2e
|
20 years |
jakub.vana |
Move fpu_owner pointer from cpu_arch_t to cpu_t.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6a27d63
|
20 years |
jakub.vana |
Finished FPU lazy context switching - first version. I have not tested …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@27dc170
|
20 years |
martin |
const qualifier for print functions
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@79f1f38f
|
20 years |
jakub.vana |
Functions for switching TS flag.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0c47db1
|
20 years |
jakub.vana |
Added fpu_context.h arch dep files and removed struct fpu_context from …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c4a5207f
|
20 years |
jakub |
Small changes, fix last few wrong indentations.
cleanup.
IA-64 …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@aa4e8d7
|
20 years |
jakub.vana |
Remove fpu_context pointer from context_t.
Add fpu_context statically …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e9b9e12
|
20 years |
jakub.vana |
Added fpu_context_t type.
IA-32's version of this type contains array …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0d2f805
|
20 years |
jakub |
Variable argument list support for architectures passing arguments on …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0f4e706
|
20 years |
jakub |
Make read/write_dr0() inlined.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ed0dd65
|
20 years |
jakub |
More ACPI work.
Initial MADT table parsing.
SMP renaming and …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@10a2e22
|
20 years |
jakub |
ACPI update (RSDT/XSDT configuration).
Cosmetic changes.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@babcb148
|
20 years |
jakub |
ACPI detection code.
MP detection code rewrite.
Minor changes.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|