|
|
@6e259d5
|
20 years |
martin |
link kernel in ARCH's native format first, then use objcopy to create …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@789b5cc
|
20 years |
martin |
some fancy stuff
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
|
|
|
@6bc4dbd
|
20 years |
martin |
new build system upgrade
finished work for IA-32, IA-64, PPC-32, SPARC-64
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
|
|
|
@169c408
|
20 years |
jakub |
Move src/ and include/ to generic.
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
|
|
|
@a16bfd0
|
20 years |
ondrap |
Added identity mapping for more then 16MB - now it maps 64MB on boot.
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
|
|
|
@874e312a
|
20 years |
jakub |
Fix directives for K_TEXT_START, K_TEXT_START_2 and K_DATA_START …
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
|
|
|
@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
|
|
|
@c9ed176
|
20 years |
jakub |
Move kernel build files one level up the directory tree.
Fix paths in …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@84dd253
|
20 years |
jakub |
Physical memory management work.
New frame allocator.
Some …
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
|
|
|
@01e48c1
|
20 years |
jakub |
Optimize sorting functions so that malloc() and free() is called only …
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
|
|
|
@b1cf98c
|
20 years |
jakub |
Documentation updates for amd64, mips32 and ia32.
Replace %L with %P …
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
|
|
|
@ddd9486
|
20 years |
jakub |
Cleanup.
Cancel fake in pm.c and replace it with LONG(0xdeadbeaf) in …
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
|
|
|
@ffc277e
|
20 years |
ondrap |
Cleanup of makefiles to have common options in one main makefile.
Add …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b0edf3b2
|
20 years |
jakub |
Add comments for new floating point modifiers to print.c.
Remove …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d246e7e
|
20 years |
jakub |
Make AMD64 gencontext.c consistent with MIPS gencontext.c
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2bd4fdf
|
20 years |
ondrap |
MIPS bug fixes.
Added usermode to MIPS, unfortunately impossible to …
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
|
|
|
@e84439a
|
20 years |
ondrap |
Fixed mips boot process.
On interrupt saving registers, save $lo, $hi. …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1b492b5
|
20 years |
ondrap |
Backported amd64 build process back to ia32.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2c55af3
|
20 years |
ondrap |
Better stack recognition in stack content dump.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ff4c4f5
|
20 years |
ondrap |
Symtab now contains variables
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@342616d
|
20 years |
ondrap |
More logical fpu_context_engaged setting.
The sse1 test now correctly …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ae9624e
|
20 years |
ondrap |
Symbol table now contains static functions too.
NOTE: gcc heavily …
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
|
|
|
@4f1475d4
|
20 years |
ondrap |
Added preprocessed linker script to AMD architecture, so that
the …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ee7e6ace
|
20 years |
jakub |
Create tools/ directory.
Move helper scripts and tools out of src/ and …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8ec9bae
|
20 years |
ondrap |
Codingstyle changes
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8ff2f3f
|
20 years |
ondrap |
IA32 printf-double support migrated to amd64
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
|
|
|
@946b630
|
20 years |
ondrap |
Reverted APIC mapping back to identity mapping.
Added AMD64 SMP …
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
|
|
|
@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
|
|
|
@2f08a55d
|
20 years |
malyzelenyhnus |
Support for NaN and infinity in printf.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@544b4bf
|
20 years |
ondrap |
Added basic FPU context (not working).
Added CPU utilities from ia32
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
|
|
|
@e515167d
|
20 years |
ondrap |
Added basic FPU context (not working).
Added CPU utilities from ia32 …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@82a80d3
|
20 years |
jakub |
Implement PPC's get_stack_base().
Comment AMD64's get_stack_base().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@36b209a
|
20 years |
ondrap |
Added volatile to inb/outb, so that it does not optimeze
lot of things …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@89344d85
|
20 years |
ondrap |
Changes, that were needed to make it work on Bochs.
- We CAN use the …
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
|
|
|
@4bb86b4
|
20 years |
ondrap |
Use ia32 memmap.h/memmapash.h
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@32f6e1bd
|
20 years |
ondrap |
Resolved mapping of e820 boot area, so that it can be accessed as …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7df54df
|
20 years |
ondrap |
Fixed stack settings in boot.S in real mode.
Added ia32 memmap …
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
|
|
|
@79c1593
|
20 years |
ondrap |
Better coding style
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
|
|
|
@de25b6f
|
20 years |
ondrap |
Removed mapping of bottom 2GB to kernel space.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@db3341e
|
20 years |
ondrap |
Fixed typo in 'outb' instruction.
Paging basically working.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e3b9572
|
20 years |
ondrap |
Interrupts for amd64.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d9f81af3
|
20 years |
ondrap |
Fixed bad type in frame.c.
Amd64 prints banner.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c832cc0a
|
20 years |
ondrap |
hardcoded_symbol fixed into linker script on amd64/ia32/mips architecture
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@33ccb2c
|
20 years |
ondrap |
SVN cleanup
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
|
|
|
@e291e5d
|
20 years |
ondrap |
arch_pre_init_mm now working.
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
|
|
|
@9756131
|
20 years |
jakub |
Get rid of memcopy().
All we now have is memcpy() and _memcpy(). …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@379d73f3
|
20 years |
ondrap |
Added putchar to AMD
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@fa0dfaf
|
20 years |
ondrap |
Context-save/restore 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
|
|
|
@8fc0d455
|
20 years |
ondrap |
Code cleanup.
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
|
|
|
@6f878b7
|
20 years |
ondrap |
AMD64 now can switch into long mode.
Basic page tables working.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c245372b
|
20 years |
ondrap |
Fixed linker script to include .eh_frame section.
It now boots into …
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
|
|
|
@cfd6efd2
|
20 years |
ondrap |
Do not allow red area on stack in kernel mode.
Small updates for AMD64 …
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
|
|
|
@b07769b6
|
20 years |
jakub |
Switch over to per vm_t page tables. (breaks ia32 userspace)
Define …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@36641a3
|
20 years |
ondrap |
Copied from ia32, bootloader can be the same.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1141c1a
|
20 years |
ondrap |
Basics for amd64 architecture. It does compile, but it does not work yet.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|