| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Update #3507.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Add and use <machine/rtems-bsd-kernel-space.h> and
<machine/rtems-bsd-user-space.h> similar to the libbsd to avoid command
line defines and defines scattered throught the code base.
Simplify cpukit/libnetworking/Makefile.am.
Update #3375.
|
|
|
|
|
|
| |
The man page installation is broken since 2004-01-11 (commit
8c31a89fdf9bc3351d837df6ec26045bc9d5f021). Nobody complained about
this, so just remove some dead code from the Makefile.am.
|
| |
|
|
|
|
|
| |
The <poll.h> is a POSIX header file and just includes <sys/poll.h> which
contains the real content.
|
|
|
|
| |
Ensure that a chain node is not off chain while doing the chain extract.
|
| |
|
|
|
|
| |
Close #3435.
|
| |
|
|
|
|
|
|
|
| |
Remove parameters from ppc_exc_initialize() since all BSPs passed the
same values.
Update #3459.
|
|
|
|
| |
Close #3504.
|
|
|
|
|
|
|
| |
Drop unused and deprecated functions from the ATA_DRIVER_TABLE_ENTRY.
Update #3358.
Close #3510.
|
|
|
|
|
| |
Fix a special case: block a one-to-one scheduled thread while having a
non-empty affine ready queue on the same processor.
|
|
|
|
|
|
| |
Add extract from scheduled function to the _Scheduler_SMP_Block()
operation. This allows a scheduler implementation to do extra work in
case a scheduled node is blocked.
|
|
|
|
|
|
|
| |
Remove the BSP_INTERRUPT_STACK_AT_WORK_AREA_BEGIN hack. The interrupt
stacks are now allocated by the linker.
Update #3459.
|
|
|
|
| |
closes #3509.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
cpukit/telnetd/pty.c:436:47: warning: '%X' directive writing between
1 and 8 bytes into a region of size 3 [-Wformat-overflow=]
The devname area was malloc'ed. Now it is statically allocated and
sufficiently large to account for the potential buffer overflow.
|
| |
|
| |
|
|
|
|
| |
Update #2854.
|
|
|
|
|
|
| |
The FreeBSD kernel started to use the bool type.
Update #3472.
|
|
|
|
|
|
|
|
| |
Move the kernel space content of some Newlib provided header files to
RTEMS and libbsd. This allows to use the Newlib provided header files
with different FreeBSD baselines.
Update #3472.
|
|
|
|
|
| |
Declare i volatile to avoid compiler optimization putting i
into data section with initialization value 1.
|
|
|
|
|
| |
This avoids an exception (FP disabled) when RTEMS/Newlib have
been built with LLVM/Sparc.
|
|
|
|
|
| |
This avoids an exception (FP disabled) when RTEMS/Newlib have
been built with LLVM/Sparc.
|
|
|
|
|
|
|
|
|
|
|
|
| |
LLVM warns about this:
cpukit/libmisc/capture/capture.c:405:30: warning:
taking address of packed member 'time' of class or structure
'rtems_capture_record' may result in an unaligned pointer value
[-Waddress-of-packed-member]
rtems_capture_get_time (&in.time);
And on sparc it generates an unaligned trap which makes smpcapture01
and smpcapture02 test to fail on sparc.
|
|
|
|
|
|
| |
To clarify, SMP with GRSWP_PKT driver API has been extended to
take advantage of multi-core, is now SMP-safe, and has been tested
on GR740.
|
|
|
|
|
|
|
|
|
|
|
| |
ince some time RTEMS started to use the termios c_ispeed and
c_ospeed variables in the termios struct to hold the UART baudrate.
However the APBUART driver still uses the old c_cflag sometimes
causing other UART parameters to get overwritten, for example the
partiy setting no mapped to the same bits as the old CBAUD mask.
At the same time the RTEMS primitievs for setting/reading
c_{i,o}speed is now used.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It enabled promiscous mode or sets the multicast filter according
to the configuration and parameters to ioctl(SIOCSIFFLAGS),
ioctl(SIOCADDMULTI) and ioctl(SIOCDELMULTI).
On SIOCADDMULTI/SIOCDELMULTI requests the greth ioctl calls the
Ethernet helper functions ether_addmulti()/ether_delmulti() which
tells the greth driver when its required to update the MAC multicast
filtering.
The interface notifies support for multicast by setting IFF_MULTICAST.
The GRETH has two registers which contains a bit-mask of allowed MAC
addresses. The incomming MAC address is CRC:ed and the CRC is used as
an index into the bit-mask to determine to allow or drop the frame.
|
|
|
|
|
|
|
| |
Missed to enable interrupt per TX descriptor. Could lead to TX buffer
starvation.
Does not affect the GBit code.
|
| |
|
|
|
|
|
| |
If the floating point trap occurred in a delay slot it is not certain
that npc will be equal to pc + 4.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change is based on the following FreeBSD commit:
"Make timespecadd(3) and friends public
The timespecadd(3) family of macros were imported from NetBSD back in
r35029. However, they were initially guarded by #ifdef _KERNEL. In the
meantime, we have grown at least 28 syscalls that use timespecs in some
way, leading many programs both inside and outside of the base system to
redefine those macros. It's better just to make the definitions public.
Our kernel currently defines two-argument versions of timespecadd and
timespecsub. NetBSD, OpenBSD, and FreeDesktop.org's libbsd, however, define
three-argument versions. Solaris also defines a three-argument version, but
only in its kernel. This revision changes our definition to match the
common three-argument version.
Bump _FreeBSD_version due to the breaking KPI change.
Discussed with: cem, jilles, ian, bde
Differential Revision: https://reviews.freebsd.org/D14725"
To make the change public (outside #ifdef _KERNEL) it must be integrated
in Newlib.
Update #3472.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This function is slighly too complex for inlining with two if
statements. The caller already needs a stack frame due to the potential
call to _Thread_Do_dispatch(). In _Thread_Dispatch_enable() the call to
_Thread_Do_dispatch() can be optimized to a tail call.
A text size comparision
(text size after patch - text size before patch)
/ text size before patch
on sparc/erc32 with SMP enabled showed these results:
Minimum -0.000697892 (fsdosfsname01.exe)
Median -0.00745021 (psxtimes01.exe)
Maximum -0.0233032 (spscheduler01.exe)
A text size comparision
text size after patch - text size before patch
on sparc/erc32 with SMP enabled showed these results:
Minimum -3312 (ada_sp09.exe)
Median -1024 (tm15.exe)
Maximum -592 (spglobalcon01.exe)
|