|
|
@ddcc8a0
|
14 years |
jakub |
Split frame_arch_init() into two parts.
- frame_low_arch_init() is …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5dd830c
|
14 years |
jakub |
Partition ia32 kernel memory.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@55896b6
|
14 years |
jakub |
Add architecture specific hooks for km_(non)_identity_init().
Add …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e0e00d7
|
14 years |
sucha14 |
cstyle
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@fb45c7b
|
14 years |
sucha14 |
Call PSE variant of map_kernel on AP.
This fixes boot on ia32 with SMP …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6d8c4654
|
14 years |
sucha14 |
Add missing copyright header
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e3e4a2c
|
14 years |
martin |
resurrect the original PSE page mapping code and use it if PSE is …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1c99eae
|
14 years |
martin |
cstyle
(no change in functionality)
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8c15255
|
14 years |
sucha14 |
Add support for i486/vortex86 processor
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f4fa6d9
|
14 years |
sucha14 |
Remove CPUID check for PSE on ia32 as we no longer need that
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b112055
|
14 years |
sucha14 |
Boot ia32 without Page Size Extensions
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c0699467
|
14 years |
martin |
do not provide general access to kernel headers from uspace, only …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9e34750
|
14 years |
martin |
[merge] VESA VBE improvements (thx Martin Sucha)
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c427578
|
14 years |
sucha14 |
Request VBE 3.0 information from the BIOS.
Fixes setting non-standard …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@26aafe8
|
14 years |
martin |
cleanup the huge mess related to stacks, their sizes and locations
use …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f36787d7
|
14 years |
jakub |
Fix formatting of ia32 istate_decode().
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
|
|
|
@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
|
|
|
@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
|
|
|
@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
|
|
|
@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
|
|
|
@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
|
|
|
@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
|
|
|
@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
|
|
|
@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
|
|
|
@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
|
|
|
@5f0e39e8
|
15 years |
martin |
add missing semicolon
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
|
|
|
@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
|
|
|
@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
|
|
|
@3a2f8aa
|
15 years |
jiri |
ADB driver for userspace, ADB keyboard support.
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
|
|
|
@203deeb8
|
16 years |
jakub |
Print the stack trace on bad ia32 trap.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4290746
|
16 years |
jakub |
Add ia32 specific support kernel stack traces.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@bac86377
|
16 years |
jakub |
Put sentinels to beginnings of all ia32 kernel stacks to stop …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8fb47ec0
|
16 years |
jakub |
Add EBP to ia32 istate.
Add interface to extract frame pointer from istate.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f1a2c6e
|
16 years |
jakub |
Add semicolon.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|