1845 Commits

Author SHA1 Message Date
Joel Sherrill
514a0e5841 Build freebsd-userspace 2012-07-11 14:25:18 -05:00
Joel Sherrill
1b13f6981a FreeBSD user space support - First additions
This requires a full checkout of the FreeBSD 8.2 source code.
The checkout we have been using is missing at least the libc,
include, and sys directories.  The script to copy files in is
crude.

This eventually needs to separate the manually written .h files
out and add the RTEMS specific network initialization support
with functionality to program the IP addresses and gateways as
the old stack did.
2012-07-11 13:23:45 -05:00
Kevin Polulak
c90c2126ac Clarified information in libbsd.txt. 2012-07-11 13:11:04 -05:00
Kevin Polulak
9fc8b41074 Removed in_cksum_arm.S file. 2012-07-11 13:10:31 -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
Joel Sherrill
237c763486 Makefile: Do not install contrib .h files until proven needed
They were not installed in the correct subdirectory for the
way they were included in the kernel source anyway. If they
are needed at the user level, then we can re-address it then.
2012-07-10 11:58:29 -05:00
Joel Sherrill
842c238a37 Makefile: updated to probably install architecture specific .h files 2012-07-09 17:21:36 -05:00
Joel Sherrill
9c99de7d0e link01: Add static_hints and make nic-sysinit.h generic 2012-07-09 14:34:08 -05:00
Joel Sherrill
7a1309a304 subr_hints.c: For RTEMS use static_hints
The user MUST provide a static_hints character array. For now,
this must be manually constructed. In the future, we may want to
consider loading it from a file.
2012-07-09 14:33:02 -05:00
Joel Sherrill
4f8495ef66 FXP: Remove hack and use hint provided by application 2012-07-09 14:32:34 -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
Jennifer Averett
c537dc207c Hack to the fxp driver to force i386 to be io based. 2012-07-09 10:17:03 -05:00
Joel Sherrill
0d23ec984c Disable conflicts with RTEMS 2012-07-06 12:23:37 -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
4d28b934bb Added back in a couple of methods. 2012-07-03 10:06:05 -05:00
Jennifer Averett
48a1927a9b Added isa header files for Nic. 2012-07-02 10:01:29 -05:00
Jennifer Averett
d972692540 Add a couple of isa header files. 2012-07-02 09:54:00 -05:00
Jennifer Averett
348f0a00ee Added missing header file. 2012-06-29 15:06:34 -05:00
Jennifer Averett
cfb78bc301 Remove a header include that causes powerpc compile error. 2012-06-29 14:39:34 -05:00
Jennifer Averett
8b588ff7b7 Move config info into a .h file 2012-06-29 13:10:11 -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
58ea5ee27a Added pcib. 2012-06-11 09:42:08 -05:00
Jennifer Averett
7345c71553 Added rtems specific size for max_linkhdr
Note: This was needed for tcp_init to pass.  This modification
should be discussed to see if a cleaner resolution to the problem
exists.
2012-06-01 13:57:50 -05:00
Jennifer Averett
1e88db1321 Added initialization needed for Nics back in. 2012-06-01 13:56:20 -05:00
Jennifer Averett
19955e7c29 Restored debug off state for uma_core.c 2012-06-01 13:54:16 -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
b049b40fa9 Added initialization needed by Nics into uma_core.c 2012-05-31 14:49:12 -05:00
Jennifer Averett
569ce6583a Remove define VERBOSE_SYSINIT which was added by mistake. 2012-05-31 08:02:50 -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
20b5ca1d00 Added support for initialization of uihashinit(). 2012-05-30 11:49:04 -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
Jennifer Averett
ae53d9e793 Commented out elements of the cdev struct which were unused
This was in preperation for adding RTEMS versions of make_dev and
destroy_dev.
2012-05-23 14:36:24 -05:00
Joel Sherrill
5382b1f1a4 rtems-bsd-malloc.c - Add _bsd_reallocf() 2012-05-18 13:37:19 -05:00
Joel Sherrill
4bc83af749 timeout - Use standard Makefile template 2012-05-17 14:56:15 -05:00
Jennifer Averett
2f1808913b Resolved issues with pc386 build. 2012-05-17 08:37:48 -05:00
Jennifer Averett
60554e6979 Modify the filesystem ops to match changes in RTEMS head. 2012-05-16 13:40:28 -05:00
Jennifer Averett
596a7ea5d6 Standardized Makefiles so that i386 would build correctly. 2012-05-16 10:21:12 -05:00
Jennifer Averett
758649212b Added Nic status section to documention. 2012-05-10 10:29:09 -05:00
Sebastian Huber
4f6cf1e3bc Use SYSINIT reference defines 2012-05-10 17:04:20 +02: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