Rev |
Age |
Author |
Path |
Log message |
Diff |
891 |
6832 d 4 h |
palkovsky |
/kernel/trunk/genarch/src/fb/ |
Fixed getpixel_1byte to work with 3:2:3 color scheme. |
|
886 |
6832 d 5 h |
jermar |
/kernel/trunk/genarch/src/fb/ |
Change putpixel1() to look better. |
|
867 |
6836 d 3 h |
jermar |
/kernel/trunk/ |
Move OFW functionality of ppc32 memory_init to genarch so that the code can also be used by sparc64.
sparc64 is now close to broken as it lacks functionality to provide identity mapping for the whole phyisical memory. |
|
862 |
6837 d 0 h |
palkovsky |
/kernel/trunk/genarch/src/fb/ |
Added logo for framebuffer (simple bitmap) |
|
839 |
6844 d 2 h |
palkovsky |
/kernel/trunk/genarch/src/fb/ |
Better structure for framebuffer. |
|
838 |
6844 d 7 h |
palkovsky |
/kernel/trunk/ |
Added untested support for 2 & 4-byte (15-bit & 24-bit depth) framebuffer. |
|
837 |
6844 d 8 h |
palkovsky |
/kernel/trunk/ |
Moved framebuffer to genarch. |
|
832 |
6847 d 19 h |
jermar |
/kernel/trunk/ |
Change pt_mapping_remove() to deallocate frames for empty PTL1, PTL2 and PTL3. |
|
831 |
6848 d 2 h |
jermar |
/kernel/trunk/ |
Make use of one unused bit in PTE formats of amd64, ia32 and mips32 to store 1 in valid mappings.
This helps to distinguish valid entries from not present entries with 0 content (i.e. not present
entries with PFN 0 and other bits cleared). |
|
830 |
6848 d 4 h |
jermar |
/kernel/trunk/ |
Make ASID FIFO for mips32 be allocated statically.
Make ASID FIFO for sparc64 and ia64 be allocated dynamically.
Fix ia64 to call asid_fifo_init().
All three architectures now call asid_fifo_init() from as_arch_init(). |
|
826 |
6848 d 20 h |
jermar |
/kernel/trunk/ |
Add page_mapping_remove(). |
|
823 |
6849 d 18 h |
jermar |
/kernel/trunk/ |
Reimplement ASID stealing logic.
This time, hopefully, with correct synchronization. |
|
822 |
6849 d 19 h |
palkovsky |
/kernel/trunk/ |
Changed malloc to include second parameter and documented
recommended usage.
Added zone merging, made ia32 & amd64 to merge found zones. |
|
815 |
6850 d 5 h |
jermar |
/kernel/trunk/ |
Fix sparc64 and ia64 to work with the changed frame allocator.
Fix ppc32 to at least compile. |
|
814 |
6850 d 5 h |
palkovsky |
/kernel/trunk/ |
Cleanup o frame allocator.
Removed early_malloc & initial heap.
Will break ia64, ppc & sparc.
Added e820 table print. |
|
811 |
6850 d 21 h |
jermar |
/kernel/trunk/ |
Fix number of steps in softint division.
Make ia64 port compile with softint. |
|
810 |
6851 d 2 h |
cejka |
/kernel/trunk/genarch/ |
Added softint for emulation 32 and 64 bit division.
Not tested yet. |
|
793 |
6852 d 3 h |
jermar |
/kernel/trunk/ |
Use hash_table_get_instance instead of list_get_instance.
Rename page_operations to page_mapping_operations.
Rename page_pt_operations to pt_mapping_operations.
Rename page_ht_operations to ht_mapping_operations. |
|
792 |
6852 d 4 h |
jermar |
/kernel/trunk/ |
Page hash table architectures now use generic hash table to manage
mappings. |
|
788 |
6853 d 0 h |
jermar |
/kernel/trunk/ |
Move list and fifo data types to adt/. |
|
786 |
6853 d 2 h |
bondari |
/kernel/trunk/ |
frame_alloc() functions variations in order to avoid problems with frame_alloc_generic() changes.
IMPORTANT: Parameter order for frame_alloc() was changed |
|
778 |
6853 d 23 h |
palkovsky |
/kernel/trunk/ |
Fixed boot process not to call malloc when slab not initialized.
Added simics workaround. |
|
762 |
6856 d 4 h |
palkovsky |
/kernel/trunk/ |
Currently not-working SLAB allocator.
- slightly changed interface to frame_alloc, allow zone preference |
|
760 |
6856 d 5 h |
jermar |
/kernel/trunk/ |
mips32 is not supposed to allocate page table.
This is done by the generic code now.
Remove PTL0 pointer as it is not needed.
Remove GET_PTL0_ADDRESS from kernel.
Update sparc64 comments in barrier.h. |
|
757 |
6856 d 21 h |
jermar |
/kernel/trunk/ |
Blacklist addresses between 0xa0000 and 0xfffff on ia64 for frame allocator.
This area contains VGA text frame buffer and should be avoided.
falloc2 test now passes on ia64. |
|
756 |
6857 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 |
6858 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. |
|
753 |
6859 d 1 h |
jermar |
/kernel/trunk/ |
Convert ASID management of ia64 to ASID FIFO mechanism.
18-bit RIDs are supported. |
|
746 |
6863 d 4 h |
jermar |
/kernel/trunk/ |
Page hash table modifications. |
|
741 |
6864 d 21 h |
jermar |
/kernel/trunk/ |
Unlock address space prior TLB shootdown in get_asid() to unify
the locking order among mips32, sparc64 and ia64.
Add ASID_STEALING_ENABLED macro to disable the stealing part on ia64
in a clean way. |
|
740 |
6865 d 3 h |
jermar |
/kernel/trunk/ |
ia64 ASID management code (not tested). |
|
730 |
6868 d 0 h |
jermar |
/kernel/trunk/ |
Finalize ASID management for sparc64 and mips32 by making use of FIFO queue of ASIDs. |
|
727 |
6869 d 20 h |
jermar |
/kernel/trunk/ |
New ASID management subsystem (initial work, more is required).
Some TLB invalidation changes. |
|
699 |
6879 d 4 h |
jermar |
/kernel/trunk/ |
Memory management work.
Proto-interface and dummy implementation of generic page hash table subsytem. |
|
689 |
6881 d 1 h |
bondari |
/kernel/trunk/ |
Frame alloc test #1 |
|
687 |
6881 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. |
|
684 |
6881 d 3 h |
jermar |
/kernel/trunk/ |
Memory management work.
Move generic 4-level page table interface to genarch
and enable architectures to use different virtual memory
mechanisms (e.g. page hash tables).
Start page hash table support.
Switch ia64 and sparc64 to page hash tables.
Other architectures keep on using 4-level page table interface. |
|
669 |
6889 d 19 h |
jermar |
/kernel/trunk/ |
sparc64 work.
kconsole support.
Add non-blocking ofw_getchar(). |
|
659 |
6898 d 7 h |
jermar |
/kernel/trunk/ |
Make the kernel compile with -Wall. |
|
534 |
6915 d 22 h |
jermar |
/ |
Rename HelenOS/SPARTAN to HelenOS/kernel again. |
|