mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-10-15 06:17:30 +08:00
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.
This commit is contained in:

committed by
Joel Sherrill

parent
8dce37226b
commit
a52104cf46
@@ -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',
|
||||
|
Reference in New Issue
Block a user