Jennifer Averett
2c3d8b981b
Added rtems specific page tracking methods for uma page allocation.
2012-07-20 14:17:05 -05:00
Jennifer Averett
e1e0a6a86e
Remove debug that got turned on.
2012-07-17 08:58:15 -05:00
Jennifer Averett
325120c875
Fix curthread so it returns a valid value.
2012-07-17 08:20:46 -05:00
Jennifer Averett
19288d665e
Add back in code to set booted.
2012-07-17 08:13:57 -05:00
Jennifer Averett
fbdd6b6ed0
Fix priv_check methods to return passing value.
2012-07-17 08:12:42 -05:00
Joel Sherrill
a8030171cc
Add ARM, PowerPC, and SPARC64 cpufunc.h files from FreeBSD
2012-07-13 11:38:40 -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
Kevin Polulak
8db44c6776
Add MIPS cpu specific .h files
2012-07-13 08:57:28 -05:00
Kevin Polulak
9fc8b41074
Removed in_cksum_arm.S file.
2012-07-11 13:10:31 -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
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
348f0a00ee
Added missing header file.
2012-06-29 15:06: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
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
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
20b5ca1d00
Added support for initialization of uihashinit().
2012-05-30 11:49:04 -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
Jennifer Averett
2f1808913b
Resolved issues with pc386 build.
2012-05-17 08:37:48 -05: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
Jennifer Averett
b95c98901d
Added subr_unit.c needed for addtional Nics.
2012-05-09 13:55:00 -05:00
Jennifer Averett
2dbdc7c926
Added EtherExpress, tulip, and Broadcom Nics.
...
BCM570x, E1000, and Legacy Nics are commented out until pieces are
added to get them to link.
2012-05-09 12:28:53 -05:00
Jennifer Averett
73a8881268
Added rtems_bsd_thread0_ucred as a single global ucred.
2012-05-01 13:52:03 -05:00
Jennifer Averett
c1dd641505
Added a define of 0 for bootverbose.
2012-05-01 13:12:00 -05:00
Jennifer Averett
a51d36d2a6
Added globals for hints and hintmode.
2012-05-01 13:10:10 -05:00
Jennifer Averett
f59bd572ec
Added back in kqueue_schedtask() and kqueue_wakeup()
2012-04-26 15:12:45 -05:00
Sebastian Huber
4c0c5fdb5f
Remove proc0 creation
2012-04-26 16:06:43 +02:00
Christian Mauderer
9ee768907e
Remove rusage dependencies
2012-04-26 16:06:42 +02:00
Jennifer Averett
cb6ffcd6cf
Added in uma_find_refcnt() and vtoslab()
...
The vtoslab returns NULL for now which will cause a fault when the
code runs.
2012-04-19 14:10:20 -05: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
Sebastian Huber
f2eb2bd4c5
Add missing files
2012-04-19 12:11:24 +02:00
Sebastian Huber
50af4dc67d
Hide unused section
...
Since "cold" is defined to 0 this code disappears if optimization is
enabled.
2012-04-19 12:07:43 +02: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
31230c0c72
Commented out calls to pin and unpin.
2012-04-18 12:35:01 -05:00
Sebastian Huber
1e3e818826
Hide device sysctl and resource functions
2012-04-18 17:29:31 +02:00
Sebastian Huber
e2b2fc661c
Remove superfluous include, format
2012-04-18 17:22:44 +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
Joel Sherrill
f084ec7edc
Add generic implementation of __bswap64
2012-04-18 09:49:03 -05:00