Sebastian Huber
f9239014db
bsps: Move pci_bus_count.c to bsps
...
This patch is a part of the BSP source reorganization.
Update #3285 .
2018-04-20 09:49:36 +02:00
Sebastian Huber
0510cd506b
bsps: Move doxygen.h files to bsps
...
This patch is a part of the BSP source reorganization.
Update #3285 .
2018-04-20 09:49:36 +02:00
Sebastian Huber
c4ccf26cb7
bsps: Convert all bsp_predriver_hook()
...
Use RTEMS_SYSINIT_ITEM() instead.
Update #2408 .
2018-04-20 09:49:36 +02:00
Sebastian Huber
a884df3594
bsp/motorola_powerpc: Move bspstart.c to bsps
...
This shared powerpc file was only used by this BSP.
This patch is a part of the BSP source reorganization.
Update #3285 .
2018-04-20 09:49:35 +02:00
Sebastian Huber
5a06b187fb
bsps: Move bspgetworkarea.c to bsps
...
This patch is a part of the BSP source reorganization.
Update #3285 .
2018-04-20 09:49:35 +02:00
Sebastian Huber
6d21a3f230
drvmgr: Remove bsp_driver_level_hook()
...
Use RTEMS_SYSINIT_ITEM() instead.
Update #2408 .
2018-04-20 09:49:35 +02:00
Sebastian Huber
0b93d4f843
bsps: Move bspstart.c to bsps
...
This patch is a part of the BSP source reorganization.
Update #3285 .
2018-04-20 09:49:35 +02:00
Sebastian Huber
07364103a8
bsps: Move bspreset_loop.c to bsps
...
This patch is a part of the BSP source reorganization.
Update #3285 .
2018-04-20 09:49:35 +02:00
Sebastian Huber
554e39c8e5
bsps: Move bspreset.c to bsps
...
This patch is a part of the BSP source reorganization.
Update #3285 .
2018-04-20 09:49:34 +02:00
Sebastian Huber
43bda786e7
bsps: Move bspclean.c to bsps
...
This patch is a part of the BSP source reorganization.
Update #3285 .
2018-04-20 09:49:34 +02:00
Sebastian Huber
4826858e42
motorola_powerpc: Remove headers from *_SOURCES
...
This was used by the not supported "make dist".
This patch is a part of the BSP source reorganization.
Update #3285 .
2018-04-20 09:49:34 +02:00
Joel Sherrill
4c4dc17596
misc arm tcfg: Add dl06, too large for memory
2018-04-17 10:07:21 -05:00
Joel Sherrill
2da4a6caef
misc tcfg: Use disable-mrfs-tests.tcfg, do not duplicate test list
2018-04-17 10:07:21 -05:00
Joel Sherrill
2aa60e5740
lpc2362-testsuite.tcfg: Use disable-iconv-tests.tcfg, do not duplicate test list
2018-04-17 10:07:21 -05:00
Joel Sherrill
8d9aa9ac4c
misc tcfg: Use disable-jffs2-tests.tcfg, do not duplicate test list
2018-04-17 10:07:21 -05:00
Joel Sherrill
d245eb088e
generic_or1k: Disable sptls02 until or1k GCC updated from 4.9.x
...
Updates #3391 .
2018-04-17 10:07:20 -05:00
Joel Sherrill
1b2681fefc
Multiple BSP tcfg: Disable iconv files.
2018-04-17 10:07:20 -05:00
Sebastian Huber
223e22f1ed
bsps: Move uart-output-char.c to bsps
...
This patch is a part of the BSP source reorganization.
Update #3285 .
2018-04-16 14:56:10 +02:00
Sebastian Huber
0a09ac58ac
bsps: Move stackalloc.c to bsps
...
This patch is a part of the BSP source reorganization.
Update #3285 .
2018-04-16 14:56:10 +02:00
Sebastian Huber
9d44ae78cf
bsps: Move bsp-uboot-board-info.c to bsps
...
This patch is a part of the BSP source reorganization.
Update #3285 .
2018-04-16 14:56:10 +02:00
Sebastian Huber
1cba1de115
bsps: Move bsp-fdt.c to bsps
...
This patch is a part of the BSP source reorganization.
Update #3285 .
2018-04-16 14:56:10 +02:00
Sebastian Huber
90013f59bd
bsps: Move tod.c to bsps and rename
...
This patch is a part of the BSP source reorganization.
Update #3285 .
2018-04-16 14:56:05 +02:00
Sebastian Huber
f35c3be9f8
Remove register keyword from public header files
...
The following code
void f(void)
{
register int i;
}
gives a warning with GCC and -std=c++17
test.cc: In function ‘void f()’:
test.cc:3:15: warning: ISO C++1z does not allow ‘register’ storage class
specifier [-Wregister]
register int i;
^
and clang with -std=c++14
test.cc:3:3: warning: 'register' storage class specifier is deprecated
and incompatible with C++1z [-Wdeprecated-register]
register int i;
^~~~~~~~~
1 warning generated.
Remove the use of the register keyword at least in the public header
files for C++ compatibility.
Close #3397 .
2018-04-16 07:37:06 +02:00
Chris Johns
696b9121a2
libdl: Fix the tests loading the correct files
2018-04-12 17:59:46 +10:00
Chris Johns
f59d435d16
libdl: Remove _t from all structures as this is reserved for the standards
2018-04-12 17:57:40 +10:00
Chris Johns
86e79d7955
testsuites/dl06: Add a test for RAP format.
...
This test loads a RAP format file that contains calls that are not
in the kernel and linked from libm. It uses and test rtems-ld.
Update #2769
2018-04-12 17:54:59 +10:00
Chris Johns
31cd205d2b
tools: Add a -N option to force a name on the array.
...
This can be used to have a different file name for the same data
name.
Update #2769
2018-04-12 17:54:59 +10:00
Chris Johns
2a61542f44
libdl: RAP format fixes.
...
- Do not error if a RAP section is not found.
- Free a symbol table via the RTL allocator interface.
- Add the symbols to the global symbol table.
Update #2769
2018-04-12 17:54:59 +10:00
Sebastian Huber
4ff09d5b3f
build: Remove subdir-objects from BSP configure.ac
...
The subdir-objects do not work currently due to BSP sources in bsps and
c and the existing build tree layout.
Update #3387 .
2018-04-12 07:27:41 +02:00
Sebastian Huber
ff24c90d84
bsps: Remove empty gnatinstallhandler.c
...
This patch is a part of the BSP source reorganization.
Update #3285 .
2018-04-12 07:09:12 +02:00
Sebastian Huber
c5fe44319e
bsps: Move bootcard.c to bsps
...
This patch is a part of the BSP source reorganization.
Update #3285 .
2018-04-12 07:09:12 +02:00
Sebastian Huber
4359c43351
bsps: Simplify source file path in Makefile.am
...
This patch is a part of the BSP source reorganization.
Update #3285 .
2018-04-12 07:09:11 +02:00
Sebastian Huber
b10caf8bd0
bsps: Remove headers from librtemsbsp_a_SOURCES
...
This was used by the not supported "make dist".
This patch is a part of the BSP source reorganization.
Update #3285 .
2018-04-12 07:09:11 +02:00
Sebastian Huber
b78b814b00
bsps: Avoid source variables in Makefile.am
...
This patch is a part of the BSP source reorganization.
Update #3285 .
2018-04-12 07:09:11 +02:00
Sebastian Huber
6c4140cf7c
bsps: Avoid line continuation in Makefile.am
...
This patch is a part of the BSP source reorganization.
Update #3285 .
2018-04-12 07:09:11 +02:00
Sebastian Huber
1032bf9540
bsp/mvme5500: Avoid RTEMS_RELLDFLAGS
2018-04-12 07:09:11 +02:00
Sebastian Huber
b46f943c56
bsp/motorola_powerpc: Move polled_io.c
...
This file was used by this BSP only. Avoid RTEMS_RELLDFLAGS.
This patch is a part of the BSP source reorganization.
Update #3285 .
2018-04-12 07:09:11 +02:00
Sebastian Huber
efb893f6d9
bsp/beatnik: Avoid RTEMS_RELLDFLAGS
...
Avoid extra CPPFLAGS.
2018-04-12 07:09:10 +02:00
Sebastian Huber
b43ea9fed2
bsps: Move legacy console driver to bsps
...
This patch is a part of the BSP source reorganization.
Update #3285 .
2018-04-12 07:09:10 +02:00
Sebastian Huber
f0bcae383e
bsps: Remove unused console_select_simple.c
...
This patch is a part of the BSP source reorganization.
Update #3285 .
2018-04-12 07:09:10 +02:00
Sebastian Huber
9e3691096e
NFS: Remove support for cexp
...
Avoid use of RTEMS_RELLDFLAGS.
Close #3390 .
2018-04-12 07:08:53 +02:00
Chris Johns
af6168c6ef
build: Add support for automake's silent build support.
2018-04-12 07:26:10 +10:00
Chris Johns
b8c5935355
build: Fix make clean.
...
Update #3254 .
2018-04-11 13:26:58 +10:00
Chris Johns
d13a62409e
cpukit/mttpd: Add a callback to generate a per file HTTP etag
...
Close #3323 .
2018-04-11 12:47:01 +10:00
Chris Johns
aa567bc1cc
configure: Add subdir-objects to all automake flags.
...
This option silences warning with automake-1.16.1 allowing us to
upgrade to that version.
This change has been tested with automake-1.12.6 and automake-1.16.1.
It seems version 1.16.1 configures slower than 1.12.6 for the same
source and BSP. The newer versions is 6 second slower.
Close #3387 .
2018-04-11 11:52:29 +10:00
Chris Johns
7ff743d549
Generate an error if a BSP in the --enable-rtemsbsp list is not valid
...
Also generate an error if the architecure does not match the --target
architecture given to configure's command line.
Close #2641 .
2018-04-11 11:52:29 +10:00
Chris Johns
9e8df1fe2f
fstest/fsrfsbitmap01: Update RFS bitmap tests to test fixes.
...
Add tests to check the patches for this ticket exist and are fixed.
Close #3089
2018-04-11 11:51:57 +10:00
Fan Deng
d869c1824a
Fill in the correct d_off in rtems_rfs_dir_read.
...
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.
2018-04-11 11:51:57 +10:00
Fan Deng
64908df116
Fixes bitmap allocation accounting logic in rtems-rfs-bitmaps.c
...
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.
2018-04-11 11:51:57 +10:00
Fan Deng
095a807bc3
Reset free count properly in rtems_rfs_bitmap_map_clear_all().
...
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.
2018-04-11 11:51:57 +10:00