Subversion Repositories HelenOS

Rev

Go to most recent revision | Show changed files | Directory listing | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
413 6812 d 22 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.
 
305 6855 d 0 h jermar /SPARTAN/trunk/ Change processor type in simics.conf to x86-hammer.
This way it supports both IA-32 and AMD64.

Fix comment in i8259.c.
 
302 6855 d 6 h palkovsky /SPARTAN/trunk/arch/ia32/src/drivers/ Fixed bad slave i8259 initialization.  
235 6859 d 5 h decky /SPARTAN/trunk/ load the kernel above 1 MB on IA-32  
206 6860 d 11 h palkovsky /SPARTAN/trunk/ Better types for ia32 drivers, so that they can be reused in amd64.
Build script cleanup amd64.
New code / not working yet / in amd64.
 
205 6860 d 12 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 6861 d 0 h jermar /SPARTAN/trunk/ Switch order of 'src' and 'dst' arguments in some left-over uses of memcopy.

Cleanup.
 
195 6861 d 2 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 6872 d 9 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 6907 d 0 h jermar /SPARTAN/trunk/ Huge indentation fix.  
106 6949 d 8 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 6972 d 5 h decky /SPARTAN/trunk/ const qualifier for print functions  
15 7004 d 3 h jermar /SPARTAN/trunk/ Introduce macros CPU, THREAD, TASK and use them to replace the->cpu, the->thread, the->task.
Later on, this will make it possible to reference *current* cpu, thread and/or task without the aid from virtual memory.
 
1 7054 d 4 h jermar /SPARTAN/ Initial import