Jennifer Averett
a4e4484df6
rtems-bsd-config.h.in: Added defines for O_NOFOLLOW and O_SHLOCK
2012-09-12 10:51:59 -05:00
Joel Sherrill
1dff51a7ec
freebsd/bsd.h: Add include of freebsd/machine/_align.h
...
Multiple files in user space were coming up with _ALIGN being
unexpanded. This resolved it.
2012-09-11 16:02:41 -05:00
Joel Sherrill
b00e8b279d
rtems-bsd-symbols.h: sysctl() should be a public symbol
2012-09-10 16:45:07 -05:00
Joel Sherrill
14d4d7aa23
rtems-bsd-config.h.in: Add FreeBSD macros missing in RTEMS
...
The following were assumed to be present by multiple libc
methods or networking commands:
+ _PATH_DEVNULL ==> /dev/null
+ SIZE_T_MAX ==> SIZE_MAX
+ O_EXLOCK ==> O_EXCL
2012-09-06 13:05:53 -05:00
Joel Sherrill
132ec81d51
rtems-bsd-config.h.in: Do not undef __P or __strong_reference
...
<sys/cdefs.h> is the FreeBSD version now. No need to touch these.
2012-09-06 10:33:53 -05:00
Joel Sherrill
ccffd2b4e1
rtemsbsd/freebsd/sys/uio.h: New wrapper for <sys/uio.h>
...
<sys/_iovec.h> is a support file always included. Also added.
2012-09-05 12:55:51 -05:00
Joel Sherrill
582aa1beda
rtemsbsd/freebsd/sys/signalvar.h: stub file
2012-09-05 12:55:24 -05:00
Joel Sherrill
b65a44a4f2
rtemsbsd/freebsd/sys/signal.h: New wrapper for <sys/signal.h>
2012-09-05 12:54:49 -05:00
Joel Sherrill
336883b587
rtemsbsd/freebsd/sys/cdefs.h: New wrapper for <sys/cdefs.h>
2012-09-05 12:54:28 -05:00
Joel Sherrill
3b4d5c480b
rtems-bsd-config.h.in: Assume <sys/cdefs.h> is OK to use
...
This is part of a set of patches to newlib, RTEMS, and
rtems-libbsd to update <sys/cdefs.h> so the newlib version
can be used without issue.
2012-09-05 12:46:28 -05:00
Joel Sherrill
f333955d79
Build System: Add option to disable IPV6 in orderly fashion
...
If you define DISABLE_IPV6=yes to the config.inc, then the
rtems-bsd-config.h file will be modified accordingly and
the IPV6 kernel sources will not be built. This is easier
to manage and more correct than having a patch to do the same.
2012-08-31 18:50:17 -05:00
Joel Sherrill
9ae87c2c1f
rtems-bsd-config.h: IPV6 enabled by default. Make consistent with Makefile
2012-08-24 15:17:35 -05:00
Joel Sherrill
bb753bf85d
rtems-bsd-config.h: Add __NEW_RTEMS_BSD__ until machine/param.h in tools can be unified
2012-08-24 15:14:32 -05:00
Joel Sherrill
bd6dd6e233
net-setup: Add routing and old stack's configuration
...
This allows the old stack's configuration structures to be used
unchanged even though this code currently does not support all
of the options. It likely will never support all of the options
as some should eventually come through configuration files as
they would in a real FreeBSD system. Other configuration
parameters are likely configurable via "hints".
2012-07-27 07:45:06 -05:00
Joel Sherrill
479f4eb6d9
Add _XXX_ENDIAN constants
2012-07-11 17:33:09 -05:00
Jennifer Averett
59f69ea3cd
Some cleanup to allow build for multiple architectures.
2012-07-11 12:48:58 -05:00
Jennifer Averett
2f50f0a7a9
Added nexus_setup_intr support and did some cleanup.
2012-07-11 08:49:13 -05:00
Jennifer Averett
a0da9b6246
Modified I386_BUS_SPACE_xxx values.
...
Note these may still not be correct.
2012-07-09 10:20:02 -05:00
Joel Sherrill
dbda80875a
Put CPU specific bus_space routines into separate files
...
The code in rtemsbsd/freebsd/machine/bus.h assumed that all bus space
accesses were through memory in a simple fashion. The i386 has a true
distinction between I/O and memory space which must be accounted for.
This may not be the eventual structure of this code but we must
have different bus space accessors for different hardware configurations.
And in many, if not most, cases we will want these to be inlined for
performance.
2012-07-06 10:57:12 -05:00
Jennifer Averett
36ebd68c02
Added legacy in order to get pcib to work correctly and resoleved fxp attach issue.
...
The fxp attach has a resource allocation issue still to address, but
should work as soon as that is debugged.
2012-06-29 12:42:00 -05:00
Jennifer Averett
3cde7552eb
Corrected link01 configuration and added pcib to SYSINIT.
2012-05-30 11:51:35 -05:00
Jennifer Averett
b9fa3c9245
Added pcib
2012-05-29 14:58:18 -05:00
Sebastian Huber
06e6d19b1c
Add SYSINIT reference defines
2012-05-10 17:04:09 +02:00
Christian Mauderer
ee6b343cba
Provide SWI(9) and TIMEOUT(9)
2012-05-10 16:30:49 +02:00
Sebastian Huber
b086b5c718
Use format of other RTEMS machine header files
2012-04-18 17:27:54 +02:00
Sebastian Huber
2f52893f70
Move __bswap64()
...
Add copyright notice of FreeBSD "sys/powerpc/include/endian.h". Change
license to BSD.
2012-04-18 17:17:55 +02:00
Jennifer Averett
d8c5df73f6
Moved rtems-bsd-cyclecount.c to cpu.h
2012-04-18 09:46:21 -05:00
Sebastian Huber
2da0777f66
Add BUS_DMA(9) support for mbufs
2012-04-18 14:59:28 +02:00
Jennifer Averett
8f6d1299d7
moved taskqueue_enqueue_fast from a define to a method to resolve linker errors.
2012-04-16 12:27:49 -05:00
Joel Sherrill
493efadb8b
Add hogticks
2012-04-04 16:31:31 -05:00
Joel Sherrill
336762e7b2
Remove dummy symbols in link01 test
...
+ add symbol where needed
+ use as much as possible from rtems-bsd-symbols.c
2012-03-27 17:07:19 -05:00
Joel Sherrill
c976506740
Add bootverbose
2012-03-27 09:21:04 -05:00
Jennifer Averett
da162c83ea
Added taskqueue to resolve linking issues with the RealTek Nic.
2012-03-22 09:58:40 -05:00
Joel Sherrill
5373700fcd
Add kthread_suspend name mapping
2012-03-21 12:45:37 -05:00
Joel Sherrill
24600f22ab
All RTEMS files should now be under RTEMS
...
- Also add "Makefile only" mode to freebsd-to-rtems.py
2012-03-08 12:52:46 -06:00
Joel Sherrill
3616a063a1
Remove leading rtems/ directory from paths under rtemsbsd
2012-03-08 11:05:16 -06:00