|
|
|
@3b71e84d
|
13 years |
jakub |
Get the number of PTL0 and PTL3 entries right on arm32.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c72dc15
|
13 years |
jakub |
When unmapping pages, do not cleanup the first level page tables
in …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1b478f6
|
13 years |
jakub |
Add km_is_non_identity().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@464a52f
|
13 years |
jakub |
mips32: Switch to kernel address space so that we can start taking …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0e78394
|
13 years |
jakub |
sparc64: Make sure to use AS_KERNEL when handling kernel non-identity.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1f5714e
|
13 years |
jakub |
sparc64: Kernel non-identity needs to be resolved by walking page tables.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d8f1545
|
13 years |
jakub |
KSEG3 instead of KSEG0.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@404be7c
|
13 years |
jakub |
Fix hw_map() by using the new km_alloc_page() interface.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7c3e482
|
13 years |
jakub |
Create arena for kernel non-identity mapping and
provide km wrappers …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c24b272f
|
13 years |
jakub |
Fix two off-by-one errors.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@bb7e6fc5
|
13 years |
jakub |
Do not create an initial span on ra_arena_create().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3342f33
|
13 years |
jakub |
Basic locking for resource allocator.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@12cb03d
|
13 years |
jakub |
WIP: implement the used segment hash table
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b4e59b3
|
13 years |
jakub |
WIP: Implement ra_free().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@961c0484
|
13 years |
jakub |
WIP: Implement ra_alloc().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@375fc3f
|
13 years |
jakub |
Add IS_ALIGNED().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9fe7d6c
|
13 years |
jakub |
WIP: Add first bits of a generic resource allocator.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@481a9380
|
13 years |
jakub |
Allocate stacks used when THREAD is NULL from low-memory too.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@38ff925
|
13 years |
jakub |
Force kernel stacks to be allocated from the low-memory.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@40c8c17
|
13 years |
jakub |
Replace multiple definitions of last_frame with config.physmem_end.
Do …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@056ddc30
|
13 years |
jakub |
Add several comments.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1c01e6c
|
13 years |
jakub |
Replace hw_map() implementations with one generic.
Currently the …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9aed144
|
13 years |
jakub |
Finish transition to lock-free page_mapping_find() in TLB miss …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@50177dcd
|
13 years |
jakub |
Add sparc64 support for frame_low/high_arch_init().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@25c51c8
|
13 years |
jakub |
Add ia64 support for frame_low/high_arch_init().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7978177c
|
13 years |
jakub |
Add ppc32 support for frame_low/high_arch_init().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3a4ac81b
|
13 years |
jakub |
Apply changes made in jakub@… …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@42f60375
|
13 years |
jakub |
mips32 low/high memory split work.
- modify frame_add_region() to use …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2686705
|
13 years |
jakub |
Use frame_adjust_zone_bounds() on arm32.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ad12b5ea
|
13 years |
jakub |
Factor out the amd64/ia32 code which calculates the bounds of
a zone …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a55ddc64
|
13 years |
jakub |
Allocate PTEs from low memory.
- Introduce a dedicated slab cache for …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6b326ea1
|
13 years |
jakub |
Allocate page tables from low memory so that it will be still possible …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9d4e170
|
13 years |
jakub |
Create the identity mapping for the smaller of config.identity_size …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@80d301ab
|
13 years |
jakub |
Add amd64 and ia32 support for frame_low/high_arch_init().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ce940da
|
13 years |
jakub |
Reschuffle members of frame_t to eliminate unnecessary padding.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5902d6c
|
13 years |
jakub |
Allocate order of frames, not order of bytes.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@fadb07a
|
13 years |
jakub |
Disable allocations from high memory unless explicitly requested. …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e6c4b94
|
13 years |
jakub |
Adjust matching of zone flags to suport low/high memory distinction.
…
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@19c8030
|
13 years |
jakub |
Do not update the amount of reserved memory before the reservation …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c6f1908e
|
13 years |
jakub |
Add arm32 versions of frame_low/high_arch_init().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8bdcffa
|
13 years |
jakub |
Add zone_external_conf_alloc() to automate allocation of external
zone …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e6a6c02
|
13 years |
jakub |
Add ispwr2() macro.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@95e882d
|
13 years |
jakub |
Introduce FRAME_LOWMEM and ZONE_LOWMEM flags.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ddcc8a0
|
13 years |
jakub |
Split frame_arch_init() into two parts.
- frame_low_arch_init() is …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ec1c8e6
|
13 years |
jakub |
Partition sparc64 kernel memory.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6641295
|
13 years |
jakub |
Partition ppc32 kernel memory.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@bc428e2
|
13 years |
jakub |
Partition mips32 kernel memory.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e1ed831f
|
13 years |
jakub |
Partition ia64 kernel memory.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5dd830c
|
13 years |
jakub |
Partition ia32 kernel memory.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@77a493a
|
13 years |
jakub |
Partition arm32 kernel memory.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5dc34af
|
13 years |
jakub |
Partition amd64 kernel memory.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@29938b2
|
13 years |
jakub |
Add km_non_identity_span_add() stub.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@55896b6
|
13 years |
jakub |
Add architecture specific hooks for km_(non)_identity_init().
Add …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@622f409
|
13 years |
jakub |
Add calls to set up kernel virtual memory (both identity and …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@898e847
|
13 years |
jakub |
Add members of config_t to track kernel identity mapping.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b0f00a9
|
13 years |
jakub |
Merge mainline changes.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7b5f4c9
|
13 years |
jakub |
Fix a compile error when compiling the tetris demo with the
Portable C …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c6d9d49
|
13 years |
jakub |
Merge support for listing mounted file systems by Maurizio Lombardi …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e6da6d5
|
13 years |
jakub |
Improve error handling.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@41047bf
|
13 years |
jakub |
Fix formatter for service_id_t, print fs instance number more compactly.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4f100f4
|
13 years |
jakub |
Merge support for listing mounted file systems.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@460514d
|
13 years |
m.lombardi85 |
mount() should fail if there is not enough memory to add the …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4af2f36
|
13 years |
m.lombardi85 |
move code outside mutex-protected sections if not needed.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6f9ef87a
|
13 years |
m.lombardi85 |
Do not add the fs to the mtab list if vfs_mount_internal() failed.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6b8e5b7
|
13 years |
m.lombardi85 |
vfs_get_mtab(): service_id is more useful than flags and fs_handle
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7e8403b
|
13 years |
m.lombardi85 |
Revert previous commit, fix ipc answer in case of error
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c8a894d
|
13 years |
m.lombardi85 |
Fix IPC answer in case of error
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@41e9ef7
|
13 years |
m.lombardi85 |
Rename VFS_IN_GET_MTAB —> VFS_IN_MTAB_GET
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f8838b8
|
13 years |
m.lombardi85 |
flag, instance, and fs_handle fields can be sent together in a single …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f346039
|
13 years |
m.lombardi85 |
Add #include<adt/list.h> directive to vfs_mtab.h
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@daf8ff2
|
13 years |
m.lombardi85 |
Fix memory leak
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@45ffe9f
|
13 years |
m.lombardi85 |
Do the mount only if it was possible to add the fs info to the mtab list
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8d6a41c
|
13 years |
m.lombardi85 |
Remove the mtab_list_ent structure.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@72fda53
|
13 years |
m.lombardi85 |
Add vfs_mtab.h which contains the mtab_ent structure definition.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c08fb04
|
13 years |
m.lombardi85 |
Print the mtab list when executing the mount command without any argument.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4965357f
|
13 years |
m.lombardi85 |
Fix get_mtab_list() libc implementation
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@76a67ce
|
13 years |
m.lombardi85 |
vfs_get_mtab:
- Remove mtab entry when unmounting a filesystem
- Add …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@54de4836
|
13 years |
martin |
cstyle
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c289457
|
13 years |
jano.vesely |
PCI driver improvements.
Add match ids based on pci class, subclass, …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@10e4cd7
|
13 years |
m.lombardi85 |
Initial implementation of vfs mtab_read support
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3ce78580
|
13 years |
jakub |
Merge from lp:mfs.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@20a3465
|
13 years |
m.lombardi85 |
Merge mainline changes
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4c3ad56
|
13 years |
m.lombardi85 |
fix hard links creation (they are needed to support the rename() …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@45bf63c
|
13 years |
jano.vesely |
Merge from USB branch.
Cleanup libusbhost interfaces.
Fix few …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e978ada
|
13 years |
jano.vesely |
libusbdev: Fix accidentally introduced crash in …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@54d1ad9
|
13 years |
jano.vesely |
usbhub: Fix over-current handling.
Make power-switching policies part …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@fbe148ee
|
13 years |
jano.vesely |
usbhid: Add trivial device_remove implementation.
Add const …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9871bca
|
13 years |
jano.vesely |
usbmast: Add device_remove stub.
Add const qualifiers.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@aa05b29
|
13 years |
jano.vesely |
usbmid: Add device_remove incomplete implementation.
Add const qualifiers.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@cf7561f
|
13 years |
jano.vesely |
usbflbk: Implement trivial device remove call.
Add const qualifiers.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@882580a
|
13 years |
jano.vesely |
libusbdev: Accept const pointer in driver_main.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7d9cd62
|
13 years |
jano.vesely |
libusbdev: Use new destroy function, change usb_device interface to …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@96ec0a9
|
13 years |
jano.vesely |
libusbdev: Add function do properly destroy alternative interfaces.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e27c2476
|
13 years |
jano.vesely |
usbhub: Fix double free in error paths.
Remove redundant …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c44a5f1
|
13 years |
jano.vesely |
ohci: Fix doxygen group.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@17412546
|
13 years |
jano.vesely |
libusbhost: endpoint_t: extend mutex protection, add doxygen comments.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1737bfb
|
13 years |
jakub |
cp improvements
(Thanks to Maurizio Lombardi)
- Support for the -r …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b50bf6c2
|
13 years |
jakub |
Use a more accurate default for mapping IRQ 0 in the APIC userspace driver.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e2793a4
|
13 years |
jakub |
Improve handling of ACPI MADT Interrupt Source Overrides slightly.
- …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@549ff23
|
13 years |
jano.vesely |
libusbhost: Cleanup usb_transfer_batch interface.
Remove redundant …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|