Commit Graph

37055 Commits

Author SHA1 Message Date
Joel Sherrill
b495d9433a cpu/arm/__tls_get_addr.c: Use internal _Assert()
Updates #5238.
2025-06-10 15:02:48 +00:00
Prithvi Tambewagh
12f5c780c2 leon: Include leon.h to resolve undefined leon_r32_no_cache
Include leon.h in bsp.h for providing reference to leon_r32_no_cache - leon3 BSP
2025-06-10 15:01:02 +00:00
Amar Takhar
8bf1511496 yamlfmt: Format all yaml files
yamlfmt will become a hard error as our files are already clean except for these
minor issues.
2025-06-07 11:58:28 -04:00
Amar Takhar
c87906d13c m68k/uC5282: Fix typo in spcxx01
Introduced in !433

Refs #5259
2025-06-07 11:48:31 -04:00
Chris Johns
5b687c4da5 cpukit/libfs: Clean up the libfs mount handlers
- Remove the `fsmount_me_t` handler moving its signature to `mount_t`.

- The `mount_t` signature with the `data` lets file systems handle
  options and that means the shell `mount` command can mount
  more file systems.

- Clean up the `mount` call's handling of the `mount_t` and
  `fsmount_me_t` structures.
2025-06-05 23:39:10 +00:00
Chris Johns
1dd2299be2 cpukit/libfs/imfs: Clean white space 2025-06-05 23:39:10 +00:00
Joel Sherrill
968a7af3c1 m68k/uC5282: Disable spcxx01
Disable this test until issue #5217 is resolved.

Updates #5230
2025-06-05 23:37:15 +00:00
Chris Johns
b0eb259377 bsps/shared/dev/ide: Initalise ATA request links as off chain
- Fixes the asserts when building with RTEMS_DEBUG

Closes #5253
2025-06-05 23:19:48 +00:00
Joel Sherrill
a9cf40113a sparc/include/.../cpuimpl.h: Correct global file scope register use
The register keyword was never more than a suggestion but in more
recent versions of C and C++, it has been reduced to a reserved
keyword with no semantics. GCC has a documented extension for
global register variables. Add the __extension__ keyword to avoid
warnings.

See Issue #5250 for a more detailed discussion including a link
to a discussion on the GCC mailing list.

The use of g6 as a pointer to the per CPU information is documented
in the SPARC chapter of the CPU Supplement Guide.

Closes #5250.
2025-05-29 23:39:03 +00:00
Lucian Silistru
7ec18af86c bsps/riscv: use lw to load _SMP_Processor_configured_maximum on rv64
_SMP_Processor_configured_maximum is 32 bit, LREG macro is ld on rv64,
lw on rv32. Changing the load to explicit 'lw' to always load 4 bytes

Closes #5251
2025-05-29 22:49:11 +00:00
Chris Johns
ef07c0c540 waf: Build all BSPs with -k with errors
Closes #5252
2025-05-29 17:57:38 +10:00
Amar Takhar
34c362fee1 ascii: Remove non-ASCII characters
We will soon be enforcing ASCII-only characters for source.
2025-05-22 19:35:12 +00:00
Amar Takhar
662ad275f7 ascii: Remove non-ASCII characters from names
There are only the 3 names in our entire source that use non-ASCII characters.
Our documentation can still use any type of character.  We want to limit source
to ASCII for safety reasons.
2025-05-22 19:35:12 +00:00
Amar Takhar
b714e4a809 ascii: Remove non-ASCII characters
We will soon be enforcing ASCII-only characters for source.
2025-05-22 19:35:12 +00:00
Amar Takhar
7a4a42d23b ignore: Add missing files and new ones
* Add missing jffs2 files
* Ignore yaml/* as it's an import
* Add files for fstests that need to skip the char test
2025-05-22 14:41:47 -04:00
Amar Takhar
b2b8b2604a encoding: Fix encoding for 3 files
board_memories: WINDOWS-1250
aes.c: ISO-8859-3
sdramc.c: WINDOWS-1250

These have been converted to utf-8 with the broken characters fixed.  The
original encoding is wrong and has been corrupted.  Now they are ASCII.
2025-05-21 20:06:29 -04:00
Amar Takhar
70ad0926b0 readme: Convert to ASCII
Convert table to ASCII
2025-05-20 13:05:47 -04:00
alessandronardin
ab7f9193eb posix/aio: modified insertion of sync requests
now sync requests are appended at the end of the appropriate queue

Closes #5176
2025-05-13 10:39:08 +02:00
alessandronardin
1c9d74cfac posix/aio: Free requests after handling
Requests in rtems_aio_handle were not being freed after they were handled
causing resource leaks. This commit adds the necessary free for the
requests after processing.

Closes #5175
2025-05-13 10:34:44 +02:00
mez3n
528095cd24 cpukit/rtems: add rtems_barrier_get_number_waiting()
Closes rtems/programs/gsoc#9
Added rtems_get_number_waiting according to the issue
rtems/programs/gsoc#9, including tests and documentation.
2025-05-12 17:00:14 +00:00
Jeremy Lorelli
0017330fc6 spec: Remove missing headers from m68k BSPs
These headers were removed in b30d88cb87
2025-05-09 15:37:47 -07:00
yang.zhang
76f9a25ea0 cpukit/posix: sigtimedwait() only clear a signal when EINTR
When a thread is unblocked from sigtimedwait, it maybe ETIMEOUT or
EINTR. If ETIMEOUT, there is no pending signals, never and is not
necessary to call _POSIX_signals_Clear_signals because of the_info->si_signo
is -1.

Should validate the signal passed into _POSIX_signals_Clear_signals.
2025-05-08 22:47:01 +00:00
Chris Johns
7c79f8c63d waf: Handle no version label in VERSION with releases
No version label in the VERSION file broke with
releases.

Closes #5186
2025-05-08 22:44:43 +00:00
Chris Johns
deb26068f0 machine/timecounters: Add missing _Timecounter_ decls
Add:

 - _Timecounter_Getboottime
 - _Timecounter_Getboottimebin

Closes #5211
2025-05-08 22:37:32 +00:00
Joel Sherrill
db35b8c722 psignalclearsignals.c: Eliminate used before initialized warning
There were independent checks at lock/unlock time on whether the
signal clearing logic executed in a critical section. Refactored
so the two checks are now one.

Closes #5239
2025-05-08 22:31:30 +00:00
Matteo Concas
24a3ae9fa5 grlib/spwtdp: Remove DEBUG flag
This flag should not be enabled by default
2025-05-06 19:30:06 +00:00
Joel Sherrill
44b61ba51f m68k/uC5282/bspstart.c: Minimum fixes for lines > 80 columns
The file uses tabs and that was not addressed.
2025-05-06 17:35:58 +00:00
Joel Sherrill
497af62f84 uC5282/start/bspstart.c: Correct printk() specifier
printk() specifier was for unsigned long but the number was just an
unsigned int.
2025-05-06 17:35:58 +00:00
Joel Sherrill
2634edb790 /amd64/start/bspstart.c: Fix unused variable warning.
acpi_table_result was only used in the debug build.
2025-05-06 17:31:24 +00:00
Joel Sherrill
69b72bb9df bsps/arm/stm32h7/dma/dma-allocator.c: Fix unused variable warning
Updates &20
2025-05-05 18:34:27 +00:00
Joel Sherrill
ae5655b88b bsps/arm/stm32h7/hal/*: Fix pointer and integer comparison warnings
The HAL code would compare to "0U" instead of NULL.

Updates &20
2025-05-05 18:34:27 +00:00
Joel Sherrill
64070bdf66 bsps/arm/stm32h7: Address missing prototype for SystemInit_ExtMemCtl
Updates &20
2025-05-05 18:34:27 +00:00
Joel Sherrill
f7c9ed4672 cpukit/score/cpu/microblaze/__tls_get_addr.c: Do not include <assert.h>
Updates #5238
2025-04-21 09:27:14 -05:00
Joel Sherrill
10e8c18971 cpukit/score/cpu/arm/__tls_get_addr.c: Do not include <assert.h>
Updates #5238
2025-04-21 09:26:02 -05:00
Chris Johns
e640d6b602 cpukit/libdl: Fix loading symbols from an object file at runtime
- Assume a relocation record with a symbol name with a length of
  0 is resolved. ARM seems to create a symbol with no name for
  R_ARM_V4BX relocation records.

- Move the addition of the rtems_rtl_base_sym_global_add symbol
  to the global symbol table to the weak
  rtems_rtl_base_global_syms_init call. If symbols are
  embedded the support for runtime loading symbols is over
  loaded. This change is required so the base object has a
  valid global symbol table attached to track dependencies.

Fixes #5234
2025-04-01 12:28:24 +11:00
Matteo Concas
7205078179 spec: Install missing header files for GRLIB and SPARC
The following files will be installed during SPARC/GRLIB builds:
- bsps/include/grlib/apbuart-regs.h
- bsps/include/grlib/gptimer-regs.h
- bsps/include/grlib/irqamp-regs.h
- bsps/sparc/include/grlib/io.h

Fix issue #5231
2025-03-25 16:04:40 +01:00
Joel Sherrill
3a5069ced6 niosvc10lp/../altera_avalon_sysid_qsys_regs.h: Convert to UNIX format
Accidentally committed in DOS format.
2025-03-19 13:38:36 +00:00
Joel Sherrill
2eb458afa6 sptests/*/*.scn: Convert to UNIX format
Accidentally committed in DOS format.
2025-03-19 13:38:36 +00:00
Joel Sherrill
812901f53b psxtests/*/*.doc: Convert to UNIX format
Accidentally committed in DOS format.
2025-03-19 13:38:36 +00:00
Joel Sherrill
6e5d82c160 fstests/fsdosfsname01/files.h: Convert to UNIX format
Accidentally committed in DOS format.
2025-03-19 13:38:36 +00:00
Gedare Bloom
b66b0d9804 rtems/event: regenerate from central 2025-03-19 02:09:21 +00:00
Joel Sherrill
62e475f386 cpukit/libfs/src/dosfs/msdos_rename.c: Relicense to 2-BSD
This file was by Chris Johns who has previously given permission
to relicense.

Update #3053.
2025-03-19 01:16:19 +00:00
Joel Sherrill
91cc54bcf9 cpukit/dev/i2c/*: Relicense to 2-BSD
All files were written by Chris Johns who has previously given
permission to relicense.

Update #3053.
2025-03-19 01:16:19 +00:00
Joel Sherrill
15c389892b testsuites/sptests/*: Relicense to 2-BSD
These files were by Kuan-Hsun Chen who has previously given
permission to relicense.

Updates #3053.
2025-03-18 15:17:54 -05:00
Jeremy Lorelli
2623dac93c beatnik/include/bsp.h: Fix eeprom/ds1621 device names
The device names were using ', ' in place of '.'.
It seems like this was a mistake made during a refactor.
2025-03-14 09:00:00 -07:00
Joel Sherrill
b6534f3047 testsuites/validation/tc-score-thread.c: Fix warning on assignment
GCC 14 is much pickier and turns some warnings into errors.
This is one example that cross BSPs and architectures.
2025-03-14 07:25:27 +00:00
Kinsey Moore
4fb6342a42 bsps/dev/irq/arm-gic: Document the GICD_IROUTER offset
The GICD_IROUTER register technically starts at offset 0x6000, but the
first 32 IRQ entries are reserved making IRQ 32's entry at 0x6100 the
first usable entry. This register is not currently used, so only a
comment is added to that effect.

Closes #5223
2025-03-13 22:31:23 +00:00
Joel Sherrill
98d38900aa bsps/or1k/generic_or1k: Relicense to 2-BSD
Hesham Almatary has given permission to relicense to 2-BSD.

Updates #3053.
2025-03-13 18:57:12 +00:00
Joel Sherrill
31715959fe raspberrypi/include/bsp/irq.h, raspberrypi.h: Relicense to 2-BSD
These files were written by a combination of contributors who have
given permisison to relicense.

Updates #3053
2025-03-13 14:57:49 +00:00
Joel Sherrill
a4774bb79d moxiesim/console/console-io.c: Relicense to 2-BSD
This file was written by Anthony Green and OAR who both have given
permisison to relicense.

Updates #3053
2025-03-13 14:54:06 +00:00