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
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