| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
rtems_rfs_dir_read searches the directory inode's entries list starting
at the specified offset until an empty entry (last entry) is encountered. It
fills in a struct dirent with the name of the entry, length of the name, ino of
the entry, and the absolute offset of the entry in the parent directory's
entries
list.
Unfortunately, the stock implementation of rtems_rfs_dir_read returns a
somewhat arbitrary offset (as dirent::d_off), while
rtems_rfs_dir_lookup_ino always returns the correct offset.
This change fixes that logic so the returned offset is accurate.
Tested by comparing the offset returned in dirent with the result of
rtems_rfs_dir_lookup_ino.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The bitmap allocation accounting logic in rtems-rfs-bitmaps.c is flawed
around control->free. Specifically:
In rtems_rfs_bitmap_map_set():
control->free is only decremented when its corresponding search bit is
toggled. This is wrong and will miss on average 31/32 set updates.
In rtems_rfs_bitmap_map_clear():
control->free is incremented unconditionally.
The correct behavior is:
When updating the map, check if the bit is already set/clear. Only update
control->free when the bit is toggled.
This change enforced the correct behavior.
Tested by inspecting the internal data structure.
|
|
|
|
|
|
|
|
| |
In rtems_rfs_bitmap_map_clear_all(), control->free is set to 'elements',
which is the number of elements in the bitmap. This is incorrect, as
control->free should contain the number of free bits, not elements.
This change fixes the logic and resets control->free to a correct value.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change fixes https://devel.rtems.org/ticket/3089.
Briefly, rtems_rfs_group.c contains conflicting conversions between
block numbers and group number and bit offset pairs. This caused the
actual bit stored on the bitmask to be one bit displaced from its
intended location.
For more details, please see the associated ticket.
Tested by inspecting the written bitmasks with and without this change.
|
|
|
|
|
| |
A "make distclean" is not supported. So, it makes no sense to have pure
"make distclean" related stuff in the Makefile.am.
|
|
|
|
|
| |
A "make dist" is not supported. So, it makes no sense to have pure "make
dist" related stuff in the Makefile.am.
|
| |
|
|
|
|
|
| |
Update #3117.
Update #3182.
|
| |
|
|
|
|
|
| |
Update #3117.
Update #3182.
|
|
|
|
|
|
|
|
|
|
| |
When it's a macro, a function declaration causes a compiler error due to the
macro being expanded.
Partial log showing error:
https://gist.github.com/AmaanC/ab3521141479aa6f61ea25f5d74ebb4d
Closes #3331
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change, excluding the #error directive, lets us make progress towards
compiling i386 targets with --enable-smp.
The #error directive needs to be there since the CPU_Interrupt_frame is used by
the SMP context switching code, and this placeholder struct, if used, would only
lead to more subtle bugs and errors. With the directive, the SMP context
switching code can be improved separately.
Updates #3331
|
|
|
|
| |
Closes #3346.
|
|
|
|
|
|
| |
As a side-effect, this fixes some warnings.
Close #3350.
|
|
|
|
|
|
|
|
|
| |
Cannot read or write MSR when executing in user mode. This
is used when RTEMS_PARAVIRT is defined.
Provide alternate methods to disable/enable interrupts
Closes #3306.
|
|
|
|
| |
Closes #3305.
|
| |
|
|
|
|
|
|
| |
This patch is a part of the BSP source reorganization.
Update #3285.
|
|
|
|
|
|
| |
This patch is a part of the BSP source reorganization.
Update #3285.
|
|
|
|
| |
Updates #3327.
|
|
|
|
| |
Updates #3327.
|
|
|
|
| |
Updates #3327.
|
|
|
|
| |
Updates #3327.
|
|
|
|
| |
Updates #3327.
|
|
|
|
| |
Updates #3327.
|
|
|
|
| |
Updates #3327.
|
|
|
|
| |
Updates #3327.
|
|
|
|
| |
Updates #3327.
|
|
|
|
| |
Updates #3327.
|
|
|
|
| |
Updates #3327.
|
|
|
|
| |
Updates #3327.
|
|
|
|
| |
Updates #3327.
|
|
|
|
| |
Updates #3327.
|
|
|
|
| |
Updates #3327.
|
|
|
|
| |
Updates #3327.
|
|
|
|
| |
Updates #3327.
|
|
|
|
| |
Updates #3327.
|
|
|
|
| |
Do not discard a user provided task name in rtems_shell_init_env().
|
| |
|
|
|
|
| |
Update #3325.
|
|
|
|
|
|
|
|
|
| |
Do not use names derived from scheduler implementation details. Instead
use names derived from the scheduler configuration or documentation.
Provide defines for backward compatibility.
Update #3325.
|
|
|
|
|
|
| |
Install the network headers only if --enable-networking is specified.
Update #3254.
|
| |
|
| |
|
|
|
|
| |
Updates #3327.
|
|
|
|
| |
Update #3325.
|
| |
|
|
|
|
| |
Close #3320.
|
|
|
|
| |
Update #2840.
|
|
|
|
|
|
| |
CONFIGURE_HAS_OWN_INIT_TABLE was used both with and without
defining CONFIGURE_RTEMS_INIT_TASKS_TABLE. This rework allows
it to work both ways without warnings.
|