Rev |
Age |
Author |
Path |
Log message |
Diff |
3902 |
5630 d 8 h |
jermar |
/trunk/kernel/ |
Introduce a more platform-neutral name for programmed I/O.
The new API looks like pio_read_n() or pio_write_n(), where n is 8, 16 or 32.
The old API (i.e. inb(), inw(), inl(), outb() outw(), outl()) may have made
some people think that the interface is only to be used with the separate I/O
space. That's not the case. This API is to be implemented on all platforms
so that we can finally have really generic kernel device drivers. |
|
3890 |
5631 d 4 h |
jermar |
/trunk/ |
Get rid of CONFIG_DEBUG_ALLREGS. |
|
3889 |
5631 d 9 h |
svoboda |
/trunk/kernel/arch/ia32/include/drivers/ |
Make ia32/amd64 compile again. This is mostly a hack, but a more drastic cleanup is needed to do it the right way. |
|
3880 |
5633 d 4 h |
decky |
/trunk/kernel/arch/ |
simplify configuration
introduce arch_construct_function and inb/outb (sometimes empty) on all platforms
various code cleanup |
|
3878 |
5633 d 4 h |
decky |
/trunk/kernel/arch/ |
introduce fncptr_t and ioport_t on all platforms |
|
3779 |
5672 d 10 h |
jermar |
/trunk/kernel/ |
Only one kernel EGA driver to rule them all. |
|
3707 |
5691 d 5 h |
decky |
/trunk/ |
kconsole is optional
kernel & uspace framebuffer rewrite with speedups (some things are slightly broken yet) |
|
3706 |
5691 d 5 h |
decky |
/trunk/ |
cstyle & small fixes |
|
3485 |
5763 d 3 h |
jermar |
/trunk/ |
Support for SYSENTER on ia32. |
|
3381 |
5798 d 4 h |
jermar |
/trunk/kernel/arch/ia32/include/ |
Prevent 'tmp' in ia32's atomic_lock_arch() from being allocated
to the same register as 'val->count'. |
|
3233 |
5833 d 9 h |
decky |
/trunk/ |
remove dummy page coloring facility, which is currenty not used |
|
3164 |
5874 d 2 h |
jermar |
/trunk/ |
First argument of atomic functions is read-write (ia32). |
|
3134 |
5876 d 13 h |
jermar |
/trunk/kernel/arch/ |
Add smc_coherence_block(). |
|
3133 |
5877 d 3 h |
jermar |
/trunk/kernel/arch/ |
Add smc_coherence() macro to all architectures.
So far, only amd64, ia32, ia64 and sparc64 are implemented. |
|
3104 |
5884 d 16 h |
svoboda |
/trunk/kernel/ |
Declare arguments for memstr.h operations as pointers instead of uintptr_t. |
|
3092 |
5886 d 18 h |
jermar |
/trunk/kernel/arch/ia32/include/ |
Better comments for pretty print formatters. |
|
3071 |
5887 d 9 h |
decky |
/trunk/kernel/ |
reflect changes in generic code
proper formatting directives
coding style |
|
3070 |
5887 d 9 h |
decky |
/trunk/kernel/arch/ |
introduce portable formatting directives
remove common types |
|
3043 |
5888 d 3 h |
jermar |
/trunk/kernel/arch/ia32/ |
Some inline functions in memstr.h seem to be of uncertain origin (ia32).
Replace either with built-in functions or with generic functions. |
|
3041 |
5888 d 11 h |
svoboda |
/trunk/kernel/arch/ia32/include/ |
Fix register-constraint typo in ia32 memstr.h and add two '&'s for symmetry's sake. (None were really causing trouble) |
|
2797 |
5948 d 4 h |
jermar |
/trunk/kernel/ |
Each architecture should only announce its endianity.
The conversion macros should be defined only once. |
|
2794 |
5949 d 4 h |
jermar |
/trunk/kernel/ |
Add macros for byte swapping of uint16_t's. |
|
2774 |
5967 d 15 h |
cejka |
/trunk/kernel/arch/ |
Context.s renamed to context.S for ia32 and fixed links for ia32xen.
Added asm macros for context save/restore and offset definitions. |
|
2725 |
6005 d 10 h |
decky |
/trunk/kernel/ |
remove config.memory_size, get_memory_size() and memory_init.{c|d}
the amount of available memory can be calculated from the sizes of the zones
add FRAMES2SIZE, SIZE2KB and SIZE2MB functions/macros (code readability) |
|
2723 |
6006 d 8 h |
decky |
/trunk/kernel/arch/ |
remove memory_print_map(), as it duplicates functionality of physmem_print() |
|
2721 |
6006 d 10 h |
decky |
/trunk/kernel/ |
convert e820list to a generic physmem command |
|
2630 |
6077 d 2 h |
jermar |
/trunk/kernel/arch/ |
Formatting fixes. |
|
2612 |
6086 d 4 h |
jermar |
/trunk/kernel/arch/ |
Cleanup. |
|
2467 |
6243 d 6 h |
jermar |
/trunk/ |
Improve comments for arch-specific implementations of hierarchical
4-level page tables. Improve formatting. |
|
2465 |
6248 d 9 h |
jermar |
/trunk/ |
Merge arm32 into trunk. |
|
2444 |
6256 d 0 h |
jermar |
/trunk/kernel/ |
First fixes for suncc support.
It is going to be a long way... |
|
2441 |
6256 d 2 h |
decky |
/trunk/kernel/ |
fix ICC compilation |
|
2317 |
6278 d 1 h |
decky |
/trunk/kernel/arch/ia32/include/ |
remove outstanding move |
|
2316 |
6278 d 1 h |
decky |
/trunk/kernel/arch/ia32/include/ |
remove forgotten movs |
|
2314 |
6278 d 1 h |
decky |
/trunk/kernel/arch/ia32/include/ |
allow to compile with -O0 |
|
2233 |
6308 d 3 h |
decky |
/trunk/kernel/arch/ |
use the hlt instruction more properly |
|
2216 |
6310 d 4 h |
decky |
/trunk/ |
make thread ID 64 bit (task ID is 64 bit already)
cleanup thread syscalls |
|
2101 |
6378 d 5 h |
decky |
/trunk/kernel/ |
fix signed/unsigned comparison and integer overflow |
|
2089 |
6379 d 10 h |
decky |
/trunk/ |
huge type system cleanup
remove cyclical type dependencies across multiple header files
many minor coding style fixes |
|
2083 |
6385 d 10 h |
decky |
/trunk/kernel/ |
typedef elimination |
|