Rev |
Age |
Author |
Path |
Log message |
Diff |
1780 |
6750 d 1 h |
jermar |
/kernel/trunk/ |
Replace old __u?? types with respective C99 variants (e.g. uint32_t, int64_t, uintptr_t etc.). |
|
1754 |
6764 d 7 h |
jermar |
/kernel/trunk/ |
Indentation and some improved comments.
Remove forgotten comment from gxemul.sh. |
|
1702 |
6771 d 3 h |
cejka |
/kernel/trunk/ |
Kernel doxygen comments updated. |
|
1473 |
6783 d 22 h |
decky |
/kernel/trunk/ |
kernel support for text-only framebuffer |
|
1296 |
6808 d 4 h |
vana |
/kernel/trunk/arch/ia32/src/drivers/ |
new line only if no clrscr |
|
756 |
6903 d 18 h |
jermar |
/kernel/trunk/ |
Memory management work.
Remove the last (i.e. 'root') argument from page_mapping_insert() and page_mapping_find().
Page table address is now extracted from the first (i.e. 'as') argument.
Add a lot of infrastructure to make the above possible.
sparc64 is now broken, most likely because of insufficient identity mapping of physical memory. |
|
755 |
6904 d 17 h |
jermar |
/kernel/trunk/ |
Change page_mapping_find/insert interfaces to take as_t * as first argument
and not asid_t as second argument. This change was necessitated by the
removal of mapping array from as_area_t and the fact that an address
space doesn't have an ASID when it is created. |
|
687 |
6927 d 1 h |
jermar |
/kernel/trunk/ |
Memory management work.
Pass address space identifier to functions in page_operations to support single global page hash table. |
|
623 |
6951 d 7 h |
jermar |
/kernel/trunk/ |
Add SPINLOCK_DECLARE and SPINLOCK_INITIALIZE macros.
SPINLOCK_DECLARE is to be used instead of direct spinlock_t declarations
in dynamically allocated structures on which spinlock_initialize() is called after
their creation.
SPINLOCK_INITIALIZE is to be used instead of direct spinlock_t declarations
of global spinlocks. It declares and initializes the spinlock.
Moreover, both macros are empty on UP so that -Wall warnings about unused structures
get supressed. |
|
588 |
6956 d 1 h |
palkovsky |
/kernel/trunk/ |
Added support for backspace
- printing '\b' should move the cursor one char to the left
- backspace key should return '\b' to application |
|
575 |
6956 d 17 h |
palkovsky |
/kernel/trunk/ |
Added generic exc_register/exc_dispatch functions,
copied from ia32 architecture. Currently only mips32 uses them.
The chardev_t can now be both input & output device (was
needed for serial driver).
Broken other architectures - ia64, sparc, powerpc will not compile.
Mips32 supports input on all msim, gxemul, indy(tested emulation
in gxemul, loses characters), simics. Simics serial line
is done using polling, I was unable to make it produce
an interrupt when the key was pressed. |
|
534 |
6961 d 22 h |
jermar |
/ |
Rename HelenOS/SPARTAN to HelenOS/kernel again. |
|
532 |
6961 d 22 h |
jermar |
/ |
Revert renaming of HelenOS/SPARTAN to HelenOS/kernel because of important pending patch. |
|
501 |
6974 d 3 h |
jermar |
/ |
Rename HelenOS/SPARTAN to HelenOS/kernel. |
|
492 |
6974 d 20 h |
jermar |
/SPARTAN/trunk/ |
Rename map_page_to_frame() to page_mapping_insert() and find_mapping() to page_mapping_find().
New names should make it more apparent that these two belong together. |
|
452 |
6988 d 22 h |
decky |
/SPARTAN/trunk/ |
major build system revision (unfinished)
this patchset most definitively breaks a lot of things, be patient |
|
413 |
7009 d 18 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. |
|
205 |
7057 d 8 h |
jermar |
/SPARTAN/trunk/ |
Get rid of memcopy().
All we now have is memcpy() and _memcpy().
memcpy() is defined to be builtin.
Where not applicable, architectures must implement memcpy() code or call slowish _memcopy(). |
|
198 |
7057 d 20 h |
jermar |
/SPARTAN/trunk/ |
Switch order of 'src' and 'dst' arguments in some left-over uses of memcopy.
Cleanup. |
|
195 |
7057 d 22 h |
vana |
/SPARTAN/trunk/ |
1) memcopy and _memcopy functions rewriten to ANSI C norm.
2) Repaired ia32,ia64 and mips version of SPARTAN to work with this memcopy functions
3) Warning for non declared funcions added and repaired ia32,ia64 and mips versions to pass build process with this warning and Werror option |
|
167 |
7069 d 5 h |
jermar |
/SPARTAN/trunk/ |
Switch over to per vm_t page tables. (breaks ia32 userspace)
Define dummy memcopy() for amd64 and ppc to satisfy compiler.
Get rid of problematic #include <arch/mm/page.h> in mm/page.h.
Indentation fixes and small changes here and there. |
|
125 |
7103 d 20 h |
jermar |
/SPARTAN/trunk/ |
Huge indentation fix. |
|
106 |
7146 d 5 h |
jermar |
/SPARTAN/trunk/ |
IA-32 fixes.
Use kernel addresses instead of physical addresses in map_page_to_frame().
Physical addresses are supposed to only be exported to mm hardware.
Because of this fix, userspace is functional again.
Remap EGA videoram to (0x80000000 + videoram) and change the ega driver to work with the new address.
Minor cosmetics through out the code.
Changes in linker scripts. |
|
63 |
7169 d 1 h |
decky |
/SPARTAN/trunk/ |
const qualifier for print functions |
|
1 |
7251 d 0 h |
jermar |
/SPARTAN/ |
Initial import |
|