diff options
author | Julien Delange <julien.delange@gmail.com> | 2012-03-26 09:51:49 -0500 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@oarcorp.com> | 2012-03-26 09:51:49 -0500 |
commit | a52104cf463a461f6fcccd2cc6b11bd6691908c8 (patch) | |
tree | 31a617ce2a74d3e799bd95fd634332f20347583f /freebsd-to-rtems.py | |
parent | Use new block device API (diff) | |
download | rtems-libbsd-a52104cf463a461f6fcccd2cc6b11bd6691908c8.tar.bz2 |
e1000 driver now compiles with fewer modifications
- Change some include path in the e1000 drivers
- Add some files from the FreeBSD source tree (modification in
freebsd-to-rtems.py)
- Avoid inconsistent functions declarations: the bool_t and/or
boolean_t are not the same between rtems and freebsd so that a
function with the prototype bool_t foobar() and another boolean_t
foobar() does not compile on rtems. (see if_igb.c for example)
Joel Note: These are still inconsistent on the FreeBSD side and need
to be addressed by them. We will just make the prototype
match the body until they give us a solution.
Diffstat (limited to 'freebsd-to-rtems.py')
-rwxr-xr-x | freebsd-to-rtems.py | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/freebsd-to-rtems.py b/freebsd-to-rtems.py index aeb5ba00..aa992ee4 100755 --- a/freebsd-to-rtems.py +++ b/freebsd-to-rtems.py @@ -474,7 +474,7 @@ rtems_headerFiles = [ 'rtems/machine/mutex.h', 'rtems/machine/param.h', 'rtems/machine/pcpu.h', - #'rtems/machine/pmap.h', + 'rtems/machine/pmap.h', 'rtems/machine/proc.h', 'rtems/machine/resource.h', 'rtems/machine/runq.h', @@ -488,7 +488,6 @@ rtems_headerFiles = [ 'rtems/machine/rtems-bsd-sysinit.h', 'rtems/machine/rtems-bsd-select.h', 'rtems/machine/rtems-bsd-taskqueue.h', - #'rtems/machine/vm.h', 'bsd.h', ] rtems_sourceFiles = [ @@ -1033,7 +1032,7 @@ devUsbBase.addHeaderFiles( 'vm/uma.h', 'vm/uma_int.h', 'vm/uma_dbg.h', - #'vm/vm.h', + 'vm/vm.h', #'vm/vm_page.h', 'fs/devfs/devfs_int.h', ] @@ -1089,6 +1088,7 @@ devNet.addHeaderFiles( 'dev/mii/miivar.h', 'dev/mii/brgphyreg.h', 'dev/mii/icsphyreg.h', + 'dev/led/led.h', 'net/bpf.h', 'net/ethernet.h', 'net/if_arp.h', @@ -1954,6 +1954,7 @@ mm.addEmptyFiles( 'machine/elf.h', 'machine/sf_buf.h', 'machine/smp.h', + 'machine/vm.h', #'machine/vmparam.h', 'local/opt_bce.h', 'local/opt_ntp.h', @@ -1981,7 +1982,7 @@ mm.addEmptyFiles( 'sys/_timeval.h', #'sys/vmmeter.h', #'sys/vnode.h', - #'vm/pmap.h', + 'vm/pmap.h', #'vm/uma_int.h', #'vm/uma_dbg.h', #'vm/vm_extern.h', @@ -1993,7 +1994,7 @@ mm.addEmptyFiles( 'geom/geom_disk.h', #'sys/kdb.h', #'libkern/jenkins.h', - #'machine/pcb.h', + 'machine/pcb.h', #'net80211/ieee80211_freebsd.h', 'netgraph/ng_ipfw.h', #'sys/sf_buf.h', |