|
|
@c81e5e0
|
14 years |
martin |
ia32: improve linker scripts
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4eb260a
|
14 years |
martin |
remove unused variable
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@cb4f078
|
14 years |
martin |
unify kernel byte string implementations
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1e00216
|
15 years |
martin |
add support for line number debug information into linker scripts …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f902d36
|
15 years |
martin |
rename the dp8390 driver (and everything related) to ne2000
as it is …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@acc7ce4
|
15 years |
martin |
uspace interrupt controller drivers for i8259 and APIC (non-functional …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c11ebb6a
|
15 years |
martin |
NE2000 ISA for QEMU 0.13 (use hardwired IRQ 5)
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@eff1f033
|
15 years |
jiri |
Match platform driver based on platform name instead of architecture …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@96b02eb9
|
15 years |
martin |
more unification of basic types
- use sysarg_t and native_t (unsigned …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7e752b2
|
15 years |
martin |
* correct printf() formatting strings and corresponding arguments
* …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5587cf7
|
15 years |
martin |
* use portable constant defines for integer range constants
* add …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@dc0b964
|
15 years |
martin |
* do not hardwire PRI??? formatting macros in the sources, use …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e9e5b9ab
|
15 years |
jakub |
Disable access to I/O ports that are in the last byte of the I/O port …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a13c6bc
|
15 years |
jakub |
Fix TSS_IOMAP_SIZE.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@598f90e
|
15 years |
jiri |
Use istate_t definitions from kernel instead of duplicating them.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ff586e06
|
15 years |
martin |
indentation and spacing fixes (no change in functionality)
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@17ccb9d7
|
15 years |
martin |
whitespace changes
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@be3f94c
|
15 years |
martin |
do not clutter global namespace with internal defines
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1d3d2cf
|
15 years |
martin |
rename gdtselector to GDT_SELECTOR to make explicit it is a macro …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@142084b2
|
15 years |
martin |
safer way how to register memory zones, do not ignore zones with …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7cf3e66
|
15 years |
jakub |
Fix ia32 build.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2bf2e1d
|
15 years |
jakub |
Remove orphaned declaration.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@91ef7cfd
|
15 years |
jakub |
Remove obsolete comment.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@864e272
|
15 years |
jakub |
Remove mysterious use of SP_DELTA.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c8cd9a8
|
15 years |
jakub |
Preallocate space for the istate structure on the stack for the use by …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0d1e976
|
15 years |
jakub |
Sync ia32 istate_decode() with the formatting used by the amd64 version.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d029434
|
15 years |
jakub |
Use symbolic representation for selectors.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@246f939
|
15 years |
jakub |
Allocate space for the fake error word and the istate structre at …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0cd21bf
|
15 years |
jakub |
Sanitize EFLAGS in sysenter_handler.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1b6c058
|
15 years |
jakub |
Add definitions for a few more EFLAGS bits.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8269769
|
15 years |
jakub |
Fix copyright year.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@35599c9
|
15 years |
jakub |
Use the proper condition code with the CMOVcc instruction.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8078180
|
15 years |
jakub |
Replace a branch instruction with conditional move.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b539f54
|
15 years |
jakub |
Do not clobber preserved register EBX.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@efbd094
|
15 years |
jakub |
No need to clear the NT flag before IRET if the kernel never sets it …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f4946de
|
15 years |
jakub |
Use trap gate instead of interrupt gate for the syscall int handler.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4e91239
|
15 years |
jakub |
Move comment to a better location.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@44c69b66
|
15 years |
jakub |
Make the code in asm.S independent of the interrupt vector used for …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c15b374
|
15 years |
jakub |
Introduce PF_ACCESS_UNKNOWN to be used by the debuging/panicking code …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b808660
|
15 years |
jakub |
Do not align ia32 int handlers on any pre-defined power-of-two …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9097982f
|
15 years |
jakub |
Remove outdated comment.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@676afa2
|
15 years |
jakub |
Fix grammar.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ed7998b
|
15 years |
jakub |
Rewrite the SYSENTER syscall handler to use istate_t for parameter …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0737078
|
15 years |
jakub |
Rewrite the slow ia32 syscall handler to use istate_t for parameter …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@77385fe
|
15 years |
jakub |
Reorganize the ia32 istate_t slightly so that it can also be used by …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@22c3444
|
15 years |
martin |
improve early printout scrolling speed
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ca8f84f
|
15 years |
martin |
it might be handy for early_putchar to also interpret backspace
(i.e. …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7a0359b
|
15 years |
martin |
improve kernel function tracing
- add support for more generic kernel …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b5382d4f
|
15 years |
martin |
fix off-by-one mistake when interpreting newline
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@da52547
|
15 years |
martin |
add early_putchar() which can be used to do early kernel console …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6dce6af
|
15 years |
martin |
switch to C-style comments
improve indentation
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@90ed058
|
15 years |
jakub |
Merge ia32 interrupt handler and trap frame improvements.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@873c681
|
15 years |
martin |
initial support for early kernel debugging prints
use C comments in …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@eee047c
|
15 years |
jakub |
Interrupt handlers should clear the direction flag too.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5cca935
|
15 years |
jakub |
Optimize CLEAR_NT_FLAG.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9110ff0
|
15 years |
jakub |
Bump up INTERRUPT_ALIGN as the new interrupt handler would not fit in …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@99718a2e
|
15 years |
martin |
improve code readability
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0a79ad9
|
15 years |
martin |
rename functions for consistency
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0c3e63f
|
15 years |
martin |
map Local APIC and I/O APIC using hw_map()
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4edd57fd
|
15 years |
martin |
the limit in the APIC driver is on CPU ids, not APIC ids
(however, I …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c9eb31c2
|
15 years |
jakub |
Print all potentially interesting information about an ia32 trap frame …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6473d41
|
15 years |
jakub |
Alter the ia32 istate_t so that the stack trace printed upon a panic …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@fe32163
|
15 years |
martin |
improve support for inactive CPUs
major revision of MADT and MPS …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@49eb681
|
15 years |
martin |
code cleanup (no change in functionality)
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e3038b4
|
15 years |
jakub |
Merge unified panic architecture (Phase 1).
Note that this is still …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@22a28a69
|
15 years |
jakub |
Rename decode_istate() to istate_decode() and declare it only once in …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@64f6ef04
|
15 years |
martin |
amd64: create identity mapping of the first 8 GB of physical memory …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@33dac7d
|
15 years |
martin |
improve printouts
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2ddcc7b
|
15 years |
martin |
cstyle cleanup (no change in functionality)
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@68667ce
|
15 years |
martin |
add physical memory workaround for amd64
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@720db0c
|
15 years |
martin |
fix erroneous resizing of physical zones (ticket #240)
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@cae5404
|
15 years |
martin |
add simple temporary workaround (far from any proper solution) for the …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@62baed17
|
15 years |
jakub |
Switch ia32 to use the unified panic architecture.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ccb426c
|
15 years |
martin |
improve other kernel printouts
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@214ec25c
|
15 years |
martin |
use unsigned integers for exception and interrupt numbers
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b3b7e14a
|
15 years |
martin |
distinguish between "hot" and "cold" exceptions
display only "hot" …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e3ce39b
|
15 years |
jakub |
Lock the page tables before working with them on ia32.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@da1bafb
|
15 years |
martin |
major code revision
- replace spinlocks taken with interrupts …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b8230b9
|
15 years |
martin |
coding style changes, no change in functionality
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3d6beaa
|
15 years |
martin |
get rid of get_ip()
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5f0e39e8
|
15 years |
martin |
add missing semicolon
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@31198c12
|
15 years |
martin |
get rid of get_ip() and HERE (the functionality is replaced more …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2b4a9f26
|
15 years |
martin |
Add interrupts-disabled spinlocks whose purpose is the semantic …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ba4a63b8
|
15 years |
jakub |
Coding style fix.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@849ed54
|
15 years |
martin |
Networking work:
Split the networking stack into end-user library …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d99c1d2
|
15 years |
martin |
use [u]int{8|16|32|64}_t type definitions as detected by the autotool …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4e9aaf5
|
15 years |
martin |
more autotooling: run actually the compiler in autotool.py and detect …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@177e4ea
|
15 years |
martin |
move from a simple sanity check tool to a more feature-rich …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a000878c
|
15 years |
martin |
make sure that all statically allocated strings are declared as "const …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ba371e1
|
15 years |
martin |
conclude Clang support
this is the final piece which was missing to …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@228666c
|
15 years |
martin |
introduce atomic_count_t as the explicit type of the internal value in …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@209faf9
|
15 years |
jakub |
Merge the networking branch as it is.
Does not compile at the moment.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a70bda4
|
15 years |
lukasmejdrech |
* use standardized interrupt definition
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0eda6e09
|
15 years |
martin |
cstyle
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@dabdd1a
|
15 years |
martin |
unify memstr.h coding style (no functional change)
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@82474ef
|
15 years |
martin |
improve the GCC contract of halt(), make it explicitly noreturn
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3a2f8aa
|
16 years |
jiri |
ADB driver for userspace, ADB keyboard support.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1ac3a52
|
16 years |
jakub |
The kernel symbol table must be always 8-byte aligned.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@40d4c1d
|
16 years |
jakub |
Merge the stack tracing branch.
The merge includes generic and amd64 …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@cb597bc2
|
16 years |
jakub |
Improve instruction suffix.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|