Rev |
Age |
Author |
Path |
Log message |
Diff |
4021 |
5646 d 14 h |
jermar |
/trunk/kernel/ |
There is no need to define ioport{8,16,32}_t types for each architecture separately. |
|
4017 |
5646 d 19 h |
decky |
/trunk/kernel/arch/amd64/ |
better inline assembler readability using the new symbolic syntax |
|
3948 |
5656 d 17 h |
jermar |
/trunk/kernel/arch/amd64/ |
Unbreak amd64. |
|
3929 |
5658 d 13 h |
jermar |
/trunk/kernel/arch/ |
Introduce ioport8_t, ioport16_t and ioport32_t. These types are to be used with
pio_read_n() and pio_write_n() functions. This breaks everything. |
|
3902 |
5662 d 19 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. |
|
2453 |
6283 d 19 h |
jermar |
/trunk/kernel/ |
More suncc fixes.
- remove more empty declarations
- add options to turn errors on empty structs into warnings and options to
silence these warnings |
|
2452 |
6283 d 21 h |
jermar |
/trunk/kernel/ |
More suncc fixes.
- Removed extra semicolons after function declaration.
- Sun Studio recognizes only C99 __func__ and no gcc-specific __FUNCTION__.
In this case, a simple -D option can fix the problem. |
|
2233 |
6340 d 14 h |
decky |
/trunk/kernel/arch/ |
use the hlt instruction more properly |
|
2089 |
6411 d 21 h |
decky |
/trunk/ |
huge type system cleanup
remove cyclical type dependencies across multiple header files
many minor coding style fixes |
|
2082 |
6417 d 21 h |
decky |
/trunk/ |
__asm__ __volatile__ -> asm volatile |
|
2071 |
6422 d 14 h |
jermar |
/trunk/ |
(c) versus (C) |
|
1888 |
6547 d 17 h |
jermar |
/trunk/ |
C99 compliant header guards (hopefully) everywhere in the kernel.
Formatting and indentation changes.
Small improvements in sparc64. |
|
1787 |
6612 d 16 h |
decky |
/ |
move kernel/trunk, uspace/trunk and boot/trunk to trunk/kernel, trunk/uspace and trunk/boot |
|
1780 |
6619 d 17 h |
jermar |
/kernel/trunk/ |
Replace old __u?? types with respective C99 variants (e.g. uint32_t, int64_t, uintptr_t etc.). |
|
1702 |
6640 d 20 h |
cejka |
/kernel/trunk/ |
Kernel doxygen comments updated. |
|
1251 |
6686 d 20 h |
jermar |
/kernel/trunk/ |
Fix BITS2BYTES macro to return 0 when passed 0 as argument.
Fix ia32 TSS segment granularity to be 0.
Fix ia32 and amd64 initial TSS limit to be 103.
Little textual changes here and there. |
|
1186 |
6701 d 18 h |
jermar |
/kernel/trunk/arch/ |
Replace assembly from pm.c with new inline functions defined in asm.h. |
|
1072 |
6728 d 23 h |
palkovsky |
/kernel/trunk/ |
Added debugger to AMD64.
Added automatic debugging of AS if it is not rewritten with zero.
Did small changes to IPC infrastructure. |
|
984 |
6731 d 19 h |
palkovsky |
/kernel/trunk/arch/ |
Fixed invlpg for ia32 & amd64. |
|
806 |
6767 d 8 h |
palkovsky |
/kernel/trunk/arch/amd64/ |
Added (finally!) userspace to AMD64.
It does not work on Simics *$U&%&$&*#. Broken simics!!!
There should be probably LEA instead of MOV/ADD, but LEA does not
work in neither qemu nor bochs. Any other simulator to test? :-/ |
|