| Rev |
Age |
Author |
Path |
Log message |
Diff |
| 4647 |
6008 d 6 h |
jermar |
/branches/arm/ |
Branch out a new arm branch. |
|
| 4126 |
6132 d 12 h |
decky |
/trunk/kernel/arch/ |
cleanup pm.h and related stuff (no change in functionality) |
|
| 4095 |
6133 d 7 h |
decky |
/trunk/kernel/arch/ |
make cpu_halt() really halt the execution |
|
| 4021 |
6142 d 4 h |
jermar |
/trunk/kernel/ |
There is no need to define ioport{8,16,32}_t types for each architecture separately. |
|
| 4017 |
6142 d 9 h |
decky |
/trunk/kernel/arch/amd64/ |
better inline assembler readability using the new symbolic syntax |
|
| 3948 |
6152 d 7 h |
jermar |
/trunk/kernel/arch/amd64/ |
Unbreak amd64. |
|
| 3929 |
6154 d 3 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 |
6158 d 9 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 |
6779 d 9 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 |
6779 d 11 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 |
6836 d 4 h |
decky |
/trunk/kernel/arch/ |
use the hlt instruction more properly |
|
| 2089 |
6907 d 11 h |
decky |
/trunk/ |
huge type system cleanup
remove cyclical type dependencies across multiple header files
many minor coding style fixes |
|
| 2082 |
6913 d 12 h |
decky |
/trunk/ |
__asm__ __volatile__ -> asm volatile |
|
| 2071 |
6918 d 4 h |
jermar |
/trunk/ |
(c) versus (C) |
|
| 1888 |
7043 d 8 h |
jermar |
/trunk/ |
C99 compliant header guards (hopefully) everywhere in the kernel.
Formatting and indentation changes.
Small improvements in sparc64. |
|
| 1787 |
7108 d 6 h |
decky |
/ |
move kernel/trunk, uspace/trunk and boot/trunk to trunk/kernel, trunk/uspace and trunk/boot |
|
| 1780 |
7115 d 7 h |
jermar |
/kernel/trunk/ |
Replace old __u?? types with respective C99 variants (e.g. uint32_t, int64_t, uintptr_t etc.). |
|
| 1702 |
7136 d 10 h |
cejka |
/kernel/trunk/ |
Kernel doxygen comments updated. |
|
| 1251 |
7182 d 10 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 |
7197 d 9 h |
jermar |
/kernel/trunk/arch/ |
Replace assembly from pm.c with new inline functions defined in asm.h. |
|
| 1072 |
7224 d 13 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 |
7227 d 9 h |
palkovsky |
/kernel/trunk/arch/ |
Fixed invlpg for ia32 & amd64. |
|
| 806 |
7262 d 22 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? :-/ |
|
| 803 |
7263 d 1 h |
palkovsky |
/kernel/trunk/arch/amd64/ |
Basic amd syscall support. |
|
| 625 |
7316 d 9 h |
palkovsky |
/kernel/trunk/ |
We are now almost -Wall clean.
- redefined atomic_t
- deleted many, many unused variables
- some minor code cleanups found using compiler warning. |
|
| 597 |
7320 d 11 h |
jermar |
/kernel/trunk/ |
Finer grained TLB invalidate functions for ia32 and amd64. Not yet deployed. |
|
| 581 |
7321 d 13 h |
palkovsky |
/kernel/trunk/ |
Small debug changes. |
|
| 534 |
7327 d 5 h |
jermar |
/ |
Rename HelenOS/SPARTAN to HelenOS/kernel again. |
|
| 532 |
7327 d 5 h |
jermar |
/ |
Revert renaming of HelenOS/SPARTAN to HelenOS/kernel because of important pending patch. |
|
| 501 |
7339 d 10 h |
jermar |
/ |
Rename HelenOS/SPARTAN to HelenOS/kernel. |
|
| 413 |
7375 d 1 h |
jermar |
/SPARTAN/trunk/ |
Rename cpu_priority_{high|low|restore|read} functions to interrupts_{disable|enable|restore|read}.
Rename pri_t to ipl_t (Interrupt Priority Level).
Rename thread_t::pri to thread_t::priority. |
|
| 348 |
7409 d 3 h |
jermar |
/SPARTAN/trunk/arch/ |
Optimize some assembler functions. |
|
| 282 |
7418 d 16 h |
palkovsky |
/SPARTAN/trunk/ |
Fixed gdtr naming issues after ia32 changes.
Fixed stack alignment on new thread to by multiple of 16,
we are now ABI-correct and we do not #GP on va_arg to boot.
Fixed bad exception register names reporting.
Fixed bad _hardcoded_load_addr, which caused allocation of kernel text
frames. |
|
| 268 |
7419 d 8 h |
palkovsky |
/SPARTAN/trunk/ |
Added symbol table lookup in exceptions.
This breaks ia64 & ppc architecture compiles. |
|
| 257 |
7419 d 15 h |
palkovsky |
/SPARTAN/trunk/ |
Added basic FPU context (not working).
Added CPU utilities from ia32
Fixed bug in vm.c that wanted PTL to be mapped in bottom memory. |
|
| 253 |
7419 d 16 h |
jermar |
/SPARTAN/trunk/arch/ |
Implement PPC's get_stack_base().
Comment AMD64's get_stack_base(). |
|
| 252 |
7419 d 18 h |
palkovsky |
/SPARTAN/trunk/arch/amd64/ |
Added volatile to inb/outb, so that it does not optimeze
lot of things out anymore.
Working delay loop. |
|
| 226 |
7421 d 10 h |
palkovsky |
/SPARTAN/trunk/ |
Fixed typo in 'outb' instruction.
Paging basically working. |
|
| 224 |
7421 d 15 h |
palkovsky |
/SPARTAN/trunk/arch/ |
Interrupts for amd64. |
|
| 219 |
7422 d 0 h |
palkovsky |
/SPARTAN/trunk/ |
Fixed bad type in frame.c.
Amd64 prints banner. |
|