777 Commits

Author SHA1 Message Date
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
Jennifer Averett
e9578468aa Modifed sleep queue to be priority based and added the wakeup_one method. 2012-05-01 13:08:03 -05:00
Sebastian Huber
4c0c5fdb5f Remove proc0 creation 2012-04-26 16:06:43 +02:00
Jennifer Averett
74587c37d8 Merged rtems-bsd-uma.c back into uma_core.c
The majority of this file was the same as the freebsd file uma_core.c.
2012-04-19 13:25:28 -05:00
Joel Sherrill
148b3fd7e5 Add SYSINIT for RTEMS SMP variable initialization 2012-04-19 12:40:07 -05:00
Jennifer Averett
a2ec3326e3 Merged the rtems version of resource back to kern_resource and added method to resolve linker errors. 2012-04-18 14:10:44 -05:00
Jennifer Averett
fdd321cb3e Added an RTEMS specific version of routines needed from copyinout.c 2012-04-18 12:00:33 -05:00
Sebastian Huber
41880b2177 Move M_IOV to reduce dependencies 2012-04-18 17:40:39 +02:00
Jennifer Averett
29c954fa79 Added empty method for pgsigio. 2012-04-18 10:30:40 -05: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
0287267353 Moved uio_yield implementation into bsd file. 2012-04-18 10:05:05 -05: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
Sebastian Huber
c2b6395ddc Removed file
In this file the copyright information was wrong.  It claimed to be
copyrighted by embedded brains GmbH, but this is not the case.  It seems
to be a partial copy from FreeBSD "kern/kern_prot.c" with format
changes.
2012-04-18 13:58:05 +02:00
Jennifer Averett
01e57a9dc6 Added rtems version of get_cyclecount(). 2012-04-17 14:43:48 -05:00
Jennifer Averett
67b8f0a668 Added rtems unique version of uio_yield() 2012-04-17 13:59:34 -05:00
Sebastian Huber
a67b3a998b Include proper headers, format and use vprintk() 2012-04-17 14:44:35 +02:00
Sebastian Huber
47944816cc in_cksum() support for SPARC 2012-04-17 12:03:24 +02:00
Jennifer Averett
d9e838b882 Added get_cyclecount() method. 2012-04-16 12:39:58 -05: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
Jennifer Averett
a7bbe3f42c Added _rw_try_upgrade & _rw_try_upgrade to resolve linker errors. 2012-04-16 11:58:01 -05:00
Jennifer Averett
459afb1c76 Implemented a version of rmlock using rwlock. 2012-04-16 09:17:12 -05:00
Jennifer Averett
b783f05c3c Added prison_check_af and jailed methods. 2012-04-05 12:06:30 -05:00
Joel Sherrill
c4f90c7881 Add SYSCTL_NODE(_security,...,_bsd,...) 2012-04-04 17:57:47 -05:00
Joel Sherrill
dc4c4909f0 Add tvtohz() implementation in new file 2012-04-04 17:38:25 -05:00
Joel Sherrill
493efadb8b Add hogticks 2012-04-04 16:31:31 -05:00
Joel Sherrill
5d21d7a2ff rtems-bsd-sync.c: Add __RTEMS_VIOLATE_KERNEL_VISIBILITY__ 2012-04-04 15:05:02 -05:00