Sebastian Huber
e6dd36ca70
bsp/gen5200: Remove offending @mainpage
...
Update #3705 .
2019-03-01 11:01:28 +01:00
Sebastian Huber
a3db5001e5
bsp/altera-cyclone-v: Enable FIQ for group 0 irqs
2019-02-28 11:52:35 +01:00
Sebastian Huber
76918e180a
bsps/arm: Add BSP_ARM_GIC_ENABLE_FIQ_FOR_GROUP_0
...
The following variants
* GICv1 with Security Extensions,
* GICv2 without Security Extensions, or
* within Secure processor mode
have the ability to assign group 0 or 1 to individual interrupts. Group
0 interrupts can be configured to raise an FIQ exception. This enables
the use of NMIs with respect to RTEMS.
BSPs can enable this feature with the BSP_ARM_GIC_ENABLE_FIQ_FOR_GROUP_0
define. Use arm_gic_irq_set_group() to change the group of an
interrupt (default group is 1, if BSP_ARM_GIC_ENABLE_FIQ_FOR_GROUP_0 is
defined).
2019-02-28 11:52:30 +01:00
Sebastian Huber
8e8e269b3e
bsps/arm: Fix typo
2019-02-28 11:50:52 +01:00
Sebastian Huber
e33be09cfb
bsps/arm: Support GIC group 0/1
2019-02-28 11:50:18 +01:00
Sebastian Huber
feea03b625
Remove explicit file names from @file
...
This makes the @file documentation independent of the actual file name.
Update #3707 .
2019-02-28 11:47:33 +01:00
Sebastian Huber
262cb53462
bsp/altera-cyclone-v: Move header file
...
This gets rid of a special include path.
2019-02-27 11:45:17 +01:00
Pierre-Louis Garnier
68a5f75158
arm/beagle: Fix sdcard.sh tool
2019-02-27 07:45:12 +01:00
Pierre-Louis Garnier
ecf62845d4
arm/beagle: SPI driver
2019-02-27 07:45:12 +01:00
Sebastian Huber
bdec62c4d5
bsps/arm: Move device tree copy
...
Move device tree copy operation after the mode initialization so that
bsp_fdt_copy() uses the initialization stack and not the stack provided
up by the boot loader.
2019-02-18 09:01:27 +01:00
Sebastian Huber
af80b0a340
bsp/altera-cyclone-v: Use FDT for clock frequency
2019-02-18 08:33:27 +01:00
Sebastian Huber
43fbb50ff0
bsp/altera-cyclone-v: Make FDT support optional
2019-02-18 08:33:27 +01:00
Sebastian Huber
eec706e2bf
bsps/powerpc: Fix small data area section
...
Fix small data area in case no fixed size is desired. Rename
bsp_section_set_sdata_sbss_size into bsp_section_small_data_area_size
since this symbol reflects the overall small data area size (including
space for libdl). Do not use bsp_section_sbss_size before definition in
linker command file. Add new symbols to <bsp/linker-symbols.h>.
Update #3687 .
2019-02-11 11:41:13 +01:00
Chris Johns
6c9f0176a9
libdl: Add powerpc large memory and small data support.
...
- Add support for architecure sections that can be handled by the
architecture back end.
- Add trampoline/fixup support for PowerPC. This means the PowerPC
now supports large memory loading of applications.
- Add a bit allocator to manage small block based regions of memory.
- Add small data (sdata/sbss) support for the PowerPC. The support
makes the linker allocated small data region of memory a global
resource available to libdl loaded object files.
Updates #3687
Updates #3685
2019-02-09 10:06:34 +11:00
Chris Johns
b08278e852
powerpc/psim: Increase the psim memory to 256M
...
This allows test dl09 to run and test PowePC backend trampoline support.
Updates #3685
2019-02-09 10:06:34 +11:00
Jiri Gaisler
568490a054
griscv: add additional cpu configurations
...
* Also switch default config to imafd as the C extension
is not supported for code coverage
2019-02-08 13:07:27 +01:00
Sebastian Huber
4e686261d8
bsps/irq: Fix interrupt server init (SMP)
2019-02-07 11:13:59 +01:00
Sebastian Huber
0fb52cede1
bsps/arm: Fix generic timer frequency
...
Update #3456 .
2019-02-07 08:48:18 +01:00
Sebastian Huber
b1381ae7c3
bsps/powerpc: Fix warnings
2019-01-25 15:50:40 +01:00
Sebastian Huber
81aec18146
bsps/powerpc: Fix 64-bit issues in assembler files
...
We have to be careful with instructions which operate explicitly on
words or doublewords.
Update #3082 .
2019-01-25 15:40:11 +01:00
Jiri Gaisler
d3d4e77c42
riscv: add griscv bsp
...
Update #3678 .
2019-01-22 12:50:09 +01:00
Jiri Gaisler
c1dcd6af56
grlib: make memory coherency cpu-independent
...
Update #3678 .
2019-01-22 12:50:09 +01:00
Jiri Gaisler
9b2b389e8d
grlib: use cpu-independent routines for uncached access
...
Update #3678 .
2019-01-22 12:50:08 +01:00
Jiri Gaisler
5981c8ca9f
grlib: use rtems_interrupt_handler_install()
...
Update #3678 .
2019-01-22 12:49:58 +01:00
Jiri Gaisler
411c29735d
grlib: make apbuart driver independent of bsp
...
Update #3678 .
2019-01-22 12:48:19 +01:00
Sebastian Huber
7eb606d393
grlib: Move source files
...
Update #3678 .
2019-01-22 12:46:33 +01:00
Sebastian Huber
3172092576
grlib: Move header files
...
Update #3678 .
2019-01-22 12:46:28 +01:00
Sebastian Huber
95c19211d1
bsps/arm: Remove unused bsp_stack_irq_size
...
Update #3459 .
2019-01-21 09:17:51 +01:00
Joel Sherrill
12dfe5dcb1
bsps/i386/shared/cache/cache.c: Make compile
2019-01-16 15:42:18 -06:00
Sebastian Huber
e7d623e7e2
bsps/arm: Conditional ARMv7-AR data cache disable
...
Update #3667 .
Close #3674 .
2019-01-10 08:12:16 +01:00
Thomas Dörfler
0abe47f142
bsps/arm: Fix typo in disable cache for ARMv7-AR
...
Update #3667 .
2019-01-10 08:12:16 +01:00
Sebastian Huber
9aee88aa54
bsp/riscv: Clear boot command line
2019-01-08 14:44:08 +01:00
Sebastian Huber
c05d7a9d17
bsps/sparc: Fix warnings
2018-12-21 21:43:54 +01:00
Sebastian Huber
75e1009f1e
bsps/sparc: Fix typo
2018-12-21 21:43:54 +01:00
Sebastian Huber
11f3b9a535
bsps/sparc: Add grlib_malloc(), grlib_calloc()
...
This avoids a dependency to errno in device driver code.
2018-12-21 14:54:13 +01:00
Sebastian Huber
c37807e97c
bsps/arm: Add cache size support for CP15
2018-12-21 11:57:49 +01:00
Sebastian Huber
41a557bc2f
bsps/arm: Add ARMv7-AR disable data cache
...
Close #3667 .
2018-12-21 10:32:41 +01:00
Sebastian Huber
b0c2d48235
bsps: Add CPU_CACHE_SUPPORT_PROVIDES_DISABLE_DATA
...
Update #3667 .
2018-12-21 10:32:39 +01:00
Sebastian Huber
5e0ab023cb
bsps: Update cache manager documentation
...
Update #3667 .
2018-12-21 10:32:37 +01:00
Sebastian Huber
a6f70e1a09
bsps: Remove superfluous comments in cacheimpl.h
...
Remove superfluous blank lines.
Update #3667 .
2018-12-21 10:32:34 +01:00
Sebastian Huber
ba856559a4
ARM_CACHE_L1_CPU_SUPPORT_PROVIDES_RANGE_FUNCTIONS
...
Remove this superfluous define.
Update #3667 .
2018-12-21 10:32:25 +01:00
Sebastian Huber
750e79519a
bsps/i386: Enable instruction cache support
2018-12-21 07:56:35 +01:00
Sebastian Huber
9edc558dba
bsp/imx: Fix for RAM end at 4GiB
2018-12-20 14:22:18 +01:00
Sebastian Huber
0a1f5df98e
Simplify _CPU_Counter_difference()
...
In order to simplify the use of CPU counter values it is beneficial to
have monotonic increasing values within the range of the CPU counter
ticks data type, e.g. 32-bit unsigned integer. This eases the use of
CPU counter timestamps in external tools which do not know the details
of the CPU counter hardware. The CPU counter is the fastest way to get
a time on an RTEMS system.
Such a CPU counter may be also used as the timecounter. Use it on SPARC
for this purpose to simplify the clock drivers.
Update #3456 .
2018-12-07 14:22:01 +01:00
Sebastian Huber
2e8b5de2b2
bsp/leon2: Move printk() support
...
Avoid assert() in console_inbyte_nonblocking().
Do not poll forever in bsp_in_char(). This allows the caller to decide
what to do if no character is available.
This entangles some dependencies and fixes a spconfig02 test failure.
2018-12-05 13:06:07 +01:00
Marçal Comajoan Cara
99de42c62e
Capitalize Rtems to RTEMS
2018-12-04 16:27:47 -06:00
Marçal Comajoan Cara
0446f68056
Spelling and grammar fixes in source code comments (GCI 2018)
2018-12-04 15:12:53 -06:00
Sebastian Huber
fdcba406db
bsp/leon3: Fix CPU counter frequency
2018-12-04 16:11:05 +01:00
Shashvat Jain
f40f86d75a
powerpc/haleakala:Add per-section compilation and linking support (GCI 2018)
...
The size of the sample executables without this option were:
text data bss dec hex filename
104144 1316 16112 121572 1dae4 ./base_sp.exe
263120 2424 19356 284900 458e4 ./capture.exe
315012 2300 17184 334496 51aa0 ./cdtest.exe
1103896 2350 23988 1130234 113efa ./cxx_iostream.exe
654832 4986 29400 689218 a8442 ./fileio.exe
143328 1664 16264 161256 275e8 ./hello.exe
329540 6228 23096 358864 579d0 ./loopback.exe
80264 1124 12868 94256 17030 ./minimum.exe
133600 1832 16216 151648 25060 ./nsecs.exe
215024 2096 16904 234024 39228 ./paranoia.exe
571768 12532 46100 630400 99e80 ./pppd.exe
107872 1340 16148 125360 1e9b0 ./ticker.exe
107856 1308 20008 129172 1f894 ./unlimited.exe
The size of the sample executables with this option were:
text data bss dec hex filename
612124 2106 22800 637030 9b866 ./cxx_iostream.exe
641180 4986 29104 675270 a4dc6 ./fileio.exe
132316 1664 16228 150208 24ac0 ./hello.exe
309544 6212 23028 338784 52b60 ./loopback.exe
74028 1108 12804 87940 15784 ./minimum.exe
125372 1836 16148 143356 22ffc ./nsecs.exe
204556 2088 16868 223512 36918 ./paranoia.exe
555528 12540 46032 614100 95ed4 ./pppd.exe
101548 1356 16052 118956 1d0ac ./ticker.exe
105916 1284 19976 127176 1f0c8 ./unlimited.exe
98268 1300 16016 115584 1c380 ./base_sp.exe
246364 2404 19320 268088 41738 ./capture.exe
229184 1836 17148 248168 3c968 ./cdtest.exe
Closes #2561
2018-11-30 14:09:35 -06:00
Shashvat Jain
c056f219f8
powerpc/mpc8260ads:Add per-section compilation and linking support (GCI 2018)
...
The size of the sample executables without this option were:
text data bss dec hex filename
257876 3416 148812 410104 641f8 ./capture.exe
126956 2428 145836 275220 43314 ./base_sp.exe
330400 4600 146916 481916 75a7c ./cdtest.exe
1092476 23588 153684 1269748 135ff4 ./cxx_iostream.exe
654892 6056 158868 819816 c8268 ./fileio.exe
159260 2812 145956 308028 4b33c ./hello.exe
339392 7344 152824 499560 79f68 ./loopback.exe
106388 2276 142644 251308 3d5ac ./minimum.exe
156348 2960 145980 305288 4a888 ./nsecs.exe
201020 3204 146592 350816 55a60 ./paranoia.exe
547684 13548 175556 736788 b3e14 ./pppd.exe
130108 2468 145872 278448 43fb0 ./ticker.exe
129740 2436 149696 281872 44d10 ./unlimited.exe
The size of the sample executables with this option were:
text data bss dec hex filename
246508 2856 147036 396400 60c70 ./cxx_iostream.exe
641752 6016 158548 806316 c4dac ./fileio.exe
148264 2800 145916 296980 48814 ./hello.exe
319252 7340 152756 479348 75074 ./loopback.exe
100396 2288 142556 245240 3bdf8 ./minimum.exe
148200 2932 145892 297024 48840 ./nsecs.exe
190520 3192 146552 340264 53128 ./paranoia.exe
531300 13544 175480 720324 afdc4 ./pppd.exe
124008 2472 145788 272268 4278c ./ticker.exe
127848 2432 149660 279940 44584 ./unlimited.exe
121272 2432 145752 269456 41c90 ./base_sp.exe
241104 3412 148768 393284 60044 ./capture.exe
245424 2936 146876 395236 607e4 ./cdtest.exe
Closes #2565
2018-11-30 13:25:01 -06:00