|
|
@0b512a8
|
20 years |
ondrap |
Small cleanups
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
|
|
|
@e949fd6
|
20 years |
ondrap |
Fixed things broken by last commit.
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
|
|
|
@16e9afa3
|
20 years |
ondrap |
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c0b45fa
|
20 years |
martin |
remove lower 2 GB identity mapping (IA-32)
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8fe379b5
|
20 years |
ondrap |
Test that really tests SSE context switching.
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
|
|
|
@23f4b1fb
|
20 years |
ondrap |
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
|
|
|
@c835e7c
|
20 years |
malyzelenyhnus |
Printf "E" and "F" format fixed.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@78665c0
|
20 years |
ondrap |
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
|
|
|
@b6d20a7
|
20 years |
ondrap |
Symbols now include filename
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
|
|
|
@51022e9b
|
20 years |
malyzelenyhnus |
E option in printf added.
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
|
|
|
@be56c17
|
20 years |
ondrap |
Fixed retyping, so that it compiles with gcc 4.0.2
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
|
|
|
@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
|
|
|
@5a2e9bbb
|
20 years |
jakub.vana |
Missing ";" added
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@60f6b7c
|
20 years |
jakub.vana |
Register dump on IA-64 exceptions
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@399ccd9
|
20 years |
jakub |
Add missing header into kinit.c.
Do not use PA2KA() on dst_ptl0.
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
|
|
|
@e83a9f7
|
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
|
|
|
@623ba26c
|
20 years |
jakub |
Add couple of assertions CPU != NULL.
Change type of nrdy from int to …
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
|
|
|
@c842f04
|
20 years |
jakub |
Preemption work.
Instrument spinlock functions with …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@dbe9ff0
|
20 years |
jakub |
Preemption work.
Define PREEMPTION_DISABLED macro.
This macro …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@75d5721
|
20 years |
jakub.vana |
Universal exception handler and all exceptions routine to call it added
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
|
|
|
@cd95d784
|
20 years |
jakub.vana |
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3e1607f
|
20 years |
jakub |
Add some comments.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d2bb9f8a
|
20 years |
jakub.vana |
Basic exception support added for ia64 arch ……
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
|
|
|
@8f91729
|
20 years |
martin |
separated stack mapping
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
|
|
|
@41b5e2a8
|
20 years |
ondrap |
Fixed bad types in memsetw.
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
|
|
|
@ba18512
|
20 years |
jakub |
Switch order of 'src' and 'dst' arguments in some left-over uses of …
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
|
|
|
@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
|
|
|
@bcdd9aa
|
20 years |
jakub |
Add lib/the.c.
Add and deploy the_initialize() and the_copy().
Make …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a6f8899
|
20 years |
malyzelenyhnus |
Small improvements in print1 test and its source code format.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@00e00fa
|
20 years |
malyzelenyhnus |
Test for printf added.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@81887b7
|
20 years |
malyzelenyhnus |
Bugs in printf and va_arg functions repaired.
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
|
|
|
@4dd0704
|
20 years |
martin |
frmaebuffer font
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
|
|
|
@fde6429
|
20 years |
jakub |
Small changes.
Coding style fix in main.c.
Make 'cli' be the first …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6e787c4
|
20 years |
jakub |
Make rwlock test #3 compile again.
Make rwlock test #4 …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a8f9a82
|
20 years |
jakub |
Add comment to scheduler.c explaining the reason behind saving CPU …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f4a61ef
|
20 years |
jakub |
Add type cast to address in vm_create().
This seems to fix the …
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
|
|
|
@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
|
|
|
@2e5365f3
|
20 years |
jakub |
PPC work.
Define dummy implementations of many functions in fake.s. …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f79e357
|
20 years |
martin |
remove forgotten comment
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c913e456
|
20 years |
martin |
remove cyclic including, change linker script path
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@04b1b8a
|
20 years |
martin |
PPC work in progress
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
|
|
|
@11485dec
|
20 years |
jakub |
Fix IA-32's get_memory_size() to return size of memory in bytes …
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
|
|
|
@b5eb1ee
|
20 years |
jakub.vana |
Error word support debuging and testing passed with #NM & #GP exceptions.
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
|
|
|
@76cec1e
|
20 years |
jakub |
Huge indentation fix.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a1a03f9
|
20 years |
jakub |
Begin MIPS implementation of 4-level page table interface.
Add email …
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
|
|
|
@b60a22c
|
20 years |
jakub |
Replace confusing comment in scheduler.c.
Add warning/explanatory …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@87cd61f
|
20 years |
jakub |
Do panic() on page_fault().
Good for long testing in SMP mode as …
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
|
|
|
@d896525
|
20 years |
jakub |
Fix wrong locking order in scheduler.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a7a10630
|
20 years |
jakub |
SMP recovery patch #2 (SMP is no longer broken !!!).
Fix missing …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b0bf501
|
20 years |
jakub |
Define two placeholder functions for atomic_inc and atomic_dec on …
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
|
|
|
@d47f0e1
|
20 years |
jakub |
SMP recovery patch #1. (SMP still broken)
Move ap_boot() to …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d1a184f
|
20 years |
jakub |
Discard 'copy' parameter of map_page_to_frame().
Introduce 'root' …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@673104e
|
20 years |
martin |
doxygen-style comments
NDEBUG in Makefile.config
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@70527f1
|
20 years |
martin |
doxygen-style comments
cleanups
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
|
|
|
@747a2476
|
20 years |
jakub |
Just cleanup.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2b50d7c
|
20 years |
jakub |
IA-64 work.
Redefine FRAME_SIZE to "(16*1024)" instead of "2*4096". …
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
|
|
|