summaryrefslogtreecommitdiff
path: root/cpukit (follow)
AgeCommit message (Collapse)Author
2018-08-10rfs: Remove erroneous call of rtems_disk_release()Sebastian Huber
The function rtems_rfs_buffer_sync() erroneously calls rtems_disk_release(). This screws up the reference counting of the disk. Close #3494.
2018-03-08cpukit/mttpd: Add a callback to generate a per file HTTP etag.Chris Johns
Closes #3324
2018-02-08Update dlerror usagePatrick Gauvin
Handles possible NULL return value Updates #2747
2018-02-08libdl: Fix dlerror return typePatrick Gauvin
POSIX specifies char *, not const char * Updates #2747
2018-02-08libdl: dlerror return NULL when no errorPatrick Gauvin
Updates #2747
2018-02-08libdl: Clear error between dlerror invocationsPatrick Gauvin
Updates #2747
2017-12-07dosfs: Allow creating a file with similar name.Christian Mauderer
If there is already a file with a long file name it isn't possible to create a second file which has a name that ends on the first files name (for example ets.beam and sets.beam). This patch fixes that. Close #3258.
2017-12-05dosfs: Fix files with same name as volume name.Christian Mauderer
Take care that a file in the root directory with the same name as the volume name can be found. Close #3257.
2017-10-04posix: Fix aio_cancel()Sebastian Huber
Close #3164.
2017-10-02i2c: Fix EEPROM driver program timeout handlingSebastian Huber
The RTEMS_MILLISECONDS_TO_TICKS() macro doesn't round up. Do not use it to calculate the program timeout in ticks. Check program done condition after the timeout check to account for pre-emptions. Close #3162.
2017-10-02i2c: Send MSB of address first for EEPROMsSebastian Huber
Close #3161.
2017-09-06dosfs: Fix fat_file_update()Sebastian Huber
Do not update the non-existant meta-data of the root directory. Close #2944.
2017-09-06dosfs: Fix find name next entry preparationSebastian Huber
Close #2964.
2017-09-06dosfs: Fix msdos_dir_read()Sebastian Huber
Set a proper name buffer length for each converter invocation. Close #2987.
2017-08-23libmisc/shell: Make some internal shell functions public.Chris Johns
- Add 'rtems_shell_init_environment()' so a user can create the shell environment without needing to run a shell. - Move 'rtems_shell_lookup_topic', 'rtems_shell_can_see_cmd', and 'rtems_shell_execute_cmd' from the internal interface to the public interface. Closes #3104.
2017-08-22confdefs: Fix POSIX keys configurationSebastian Huber
Remove the OBJECTS_UNLIMITED_OBJECTS flag for the memory size configuration. Close #3105.
2017-08-10arm: Validate IT[7:0] bit field of PSRSebastian Huber
Close #3093.
2017-08-10arm: Fix CPU context validation for Cortex-R4Sebastian Huber
Do not touch the FPSCR[QC] bit since this is DNM/RAZ on Cortex-R4. Close #3092.
2017-07-07arm: Fix ARMv7-M interrupt processing4.11.2Sebastian Huber
Right after a "msr basepri_max, %[basepri]" instruction an interrupt service may still take place (observed at least on Cortex-M7). However, pendable service calls that are activated during this interrupt service may be delayed until interrupts are enable again. The _ARMV7M_Pendable_service_call() did not check that a thread dispatch is allowed. Move this test from _ARMV7M_Interrupt_service_leave() to _ARMV7M_Pendable_service_call(). Close #3060.
2017-04-04libdl: Back port C++ exception throw and catch from 4.12.Chris Johns
Closes #2956.
2017-03-21dosfs: Fix file name searchSebastian Huber
Do not use our long file name entry count to optimize the file name search. The Unicode comparison must be taken into account. Close #2939.
2017-03-21dosfs: Fix race condition msdos_dir_read()Sebastian Huber
Obtain file system instance lock before member access. Close #2937.
2017-03-21dosfs: Rename fat_entries to lfn_entriesSebastian Huber
The name "fat_entries" for long file name directory entries is quite misleading.
2017-03-21dosfs: Fix long file name paddingSebastian Huber
Close #2934.
2017-03-21dosfs: msdos_filename_utf8_to_short_name_for_saveSebastian Huber
Simplify.
2017-03-21dosfs: Fix msdos_add_file()Sebastian Huber
Make sure that long file names work accross cluster boundaries. Close #2929.
2017-03-21dosfs: Simplify msdos_add_file()Sebastian Huber
Update #2929.
2017-03-21dosfs: Add and use msdos_lfn_checksum()Sebastian Huber
Update #2929.
2017-03-21dosfs: Simplify fat_file_open()Sebastian Huber
Update #2929.
2017-03-21dosfs: Simplify msdos_creat_node()Sebastian Huber
Update #2929.
2017-03-21dosfs: Fix fat_file_write()Sebastian Huber
Remove forced overwrite which leads to file data corruption. The logic to determine a forced overwrite was fundamentally broken. For simplity, disable this feature. Close #2622.
2017-03-21dosfs: Fix msdos_utf8_normalize_and_fold()Sebastian Huber
It is all right in case the result uses the full destination buffer. Without this fix the handling of a maximum 8.3 short file name is broken. Close #2928.
2017-03-21libio: Fix deadlock in location managementSebastian Huber
Perform a context-dependent deferred location release to avoid a deadlock on the file system instance locks, for example during a chdir(). Close #2936.
2017-02-28termios: Fix infinite loop in receive pathSebastian Huber
In canonical mode, the raw input buffer or the canonical buffer may overflow without an end of line. Avoid an infinite loop in this case. Update #2915.
2017-02-28termios: Protect raw input buffer with device lockSebastian Huber
Use the device lock to protect the raw input buffer management, e.g. tail, head and buffer content updates. Update #2914.
2017-02-28termios: Simplify rtems_termios_read_tty()Sebastian Huber
Remove dead code. Update #2914.
2017-02-28dosfs: Fix FAT32 formatterSebastian Huber
The second FAT entry contains a bit to indicate if the FAT32 filesystem is not dirty and a bit to indicate if there was no IO error. Set both bits for a fresh filesystem. This prevents a warning if mounted on Windows. Update #2913.
2017-02-28dosfs: Directories should have a file size of 0Sebastian Huber
Update #2755.
2017-02-15Remove old CVS keywordsNick Withers
Close #2388.
2017-02-15Fix exception handler for supporting FPUSudarshan Rajagopalan
Close #2401.
2017-02-14dosfs: Fix msdos_find_file_in_directory()Sebastian Huber
For a filename match the entry must match without anything remaining. Update #2908.
2017-01-26Change version to 4.11.1.99Sebastian Huber
Update #2886.
2016-10-03bsps/arm: do not introduce CPU_CACHE_LINE_BYTES in 4.11 and correct ↵Pavel Pisa
CPU_STRUCTURE_ALIGNMENT.
2016-10-03libdl/rtl-obj.c: synchronize cache should not depend on CPU_CACHE_LINE_BYTES.Pavel Pisa
The CPU_CACHE_LINE_BYTES has been introduced after 4.11 branch fork and is not available for all architectures on RTEMS 4.11. Use of rtems_cache_get_maximal_line_size() is more descriptive choice. The min/max data/instruction cache line size is not critical there, value is used for optimization only to use single operation for decently following sections.
2016-10-02libdl/rtl-obj.c: synchronize cache after code relocation.Pavel Pisa
Memory content changes caused by relocation has to be propagated to memory/cache level which is used/snooped during instruction cache fill. Closes #2438 Updates #2782
2016-10-02rtems+bsps/cache: Define cache manager operations for code synchronization ↵Pavel Pisa
and maximal alignment. There is need for unambiguous named and defined cache function which should be called when code is updated, loaded or is self-modifying. There should be function to obtain maximal cache line length as well. This function can and should be used for allocations which can be used for data and or code and ensures that there are no partial cache lines overlaps on start and end of allocated region. Updates #2782
2016-10-02score/arm: Ensure that copile time alignment is 64 bytes for Cortex-A multilib.Pavel Pisa
Some/many Cortex-A cores have data cache line length 64 bytes and maximum value has to be used for system structures alignment. Updates #2782 Updates #2783
2016-10-02arm/score and shared: define ARM hypervisor mode and alternate vector table ↵Pavel Pisa
base access. The main reason for inclusion of minimum hypervisor related defines is that current ARM boards firmware and loaders (U-boot for example) start loaded operating system kernel in HYP mode to allow it take control of virtualization (Linux/KVM for example). Updates #2783
2016-09-23score: Fix C/C++ compatibility issueSebastian Huber
Only use CPU_Per_CPU_control if it contains at least one filed. In GNU C empty structures have a size of zero. In C++ structures have a non-zero size. In case CPU_PER_CPU_CONTROL_SIZE is defined to zero, then this structure is not used anymore. Close #2789.
2016-08-15libdl: Fix cache corruption bugs.Chris Johns
This patch fixes a number of bugs in the cache when requests are made to read close to the end of the file and the data is copied from the top of the cache buffer to the bottom of the buffer. This was compounded by attempting to read past the end of the file. Closes #2754.