204 Commits

Author SHA1 Message Date
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
ab9e6dea37 rtems-bsd-vm_glue.c: Add include of <freebsd/sys/types.h> 2012-09-05 13:12:37 -05:00
Joel Sherrill
f80f90f11d rtems-bsd-rwlock.c: Do not redefine pthread_rwlock_t 2012-09-05 13:03:19 -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
659d7adb7c Merge branch 'master' of ssh://git.rtems.org/data/git/rtems-libbsd 2012-08-24 15:15:04 -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
Jennifer Averett
c2da78d84a Fixed return values for jail methods. 2012-08-24 14:42:03 -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
Jennifer Averett
2c3d8b981b Added rtems specific page tracking methods for uma page allocation. 2012-07-20 14:17:05 -05:00
Jennifer Averett
8fa929e60d Added more initialization of FIXME_ucred elements. 2012-07-18 11:43:05 -05:00
Jennifer Averett
e4f2591430 Fixed rtems_bsdnet_makeFdForSocket to work with file system change. 2012-07-18 11:42:04 -05:00
Jennifer Averett
21cc0aa57a Added initilization of pcpu info for cpu0. 2012-07-18 11:40:30 -05:00
Jennifer Averett
325120c875 Fix curthread so it returns a valid value. 2012-07-17 08:20:46 -05:00
Jennifer Averett
9ee8629924 Restructure init and add more detailed initialization. 2012-07-17 08:19:04 -05:00
Jennifer Averett
db280c9613 Add call to uma_startup2 so that booted gets set. 2012-07-17 08:17:55 -05:00
Joel Sherrill
e43b452e28 Makefile: Use MIPS generic in_cksum when no target specific implementation
The MIPS in_cksum.c method supports big and little endian targets. This
does not include any inline assembly and should be reasonable for most
targets.
2012-07-14 12:15:57 -05:00
Joel Sherrill
5cf6031a15 rtems-bsd-nexus.c: Always include rtems/irq-extension.h 2012-07-14 10:40:40 -05:00
Joel Sherrill
b0b2e0e2d6 Add stub cpu_func.h files for all other RTEMS targets 2012-07-13 11:40:48 -05:00
Kevin Polulak
8fe603a947 Readd MIPS cpu specific .h files
At least 80 files in this tree have an advertisting clause. 56 in
the old TCP/IP stack did. We will not have a functional stack unless
we accept this unfortunate situation.
2012-07-13 11:29:43 -05:00
Joel Sherrill
e78d6ab1c3 MIPS: Remove code with advertising clause
At this point, we are unsure what actual functionality will be
required for a functional MIPS port so just provide a stub.
This lets the build complete and avoids the code with the
advertising clause.
2012-07-13 10:40:11 -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
1e36900df6 Added nexus resource routines. 2012-07-09 10:23:19 -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
cfb78bc301 Remove a header include that causes powerpc compile error. 2012-06-29 14:39:34 -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
8e4f82c980 Add some of the initialization from freeBSD vm_init.c needed for Nic. 2012-06-01 13:51:41 -05:00
Jennifer Averett
1bfe311a1d Added an initialization method for minimal vm initialization. 2012-05-31 14:50:48 -05:00
Jennifer Averett
3bc5984ea6 Debug of rw_wowned()
This implementation violates the API layer and we should
add a pthread_rwlock_is_rlocked_np() method to the API layer.
2012-05-30 13:42:49 -05:00
Jennifer Averett
8aecdc0725 Resolved an initialization order issue in link01.exe
Note that the order may still need to be adjusted.
2012-05-30 11:54:23 -05:00
Jennifer Averett
9f11e4092a Increased maxproc from 6 to 32
This value may still not be correct, but it was enough to resolve
a divide by 0 issue in link01 initialization phase.
2012-05-30 11:52:41 -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
Jennifer Averett
fb4c8a98f5 Added pcib for Nics. 2012-05-23 14:53:12 -05:00
Joel Sherrill
5382b1f1a4 rtems-bsd-malloc.c - Add _bsd_reallocf() 2012-05-18 13:37:19 -05:00
Jennifer Averett
60554e6979 Modify the filesystem ops to match changes in RTEMS head. 2012-05-16 13:40:28 -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
a4d8e191b9 Move rtems_bsd_thread0_ucred 2012-05-10 16:20:41 +02:00
Sebastian Huber
b41a35800b Fix ucred reference counting 2012-05-10 16:20:41 +02:00
Jennifer Averett
8420b9447a Modified copyright on rtems-bsd-xxx files to be consistant with FreeBSD copyright. 2012-05-08 09:14:42 -05:00
Jennifer Averett
be8032d2b6 Added stubs for funsetown() and fsetown() 2012-05-02 10:27:59 -05:00