[PATCH v2 0/3] [5-freebsd-12] Fix compilation for i386

Jan Sommer jan.sommer at dlr.de
Mon Mar 9 15:11:19 UTC 2020


This is the  backport for the 5-freebsd-12 branch to make rtems-libbsd compile for i386 again:
- It also introduces path-mappings to waf_libbsd.py as introduced here:
https://lists.rtems.org/pipermail/devel/2020-February/057457.html

Best regards,

   Jan

Jan Sommer (3):
  i386: Add missing files from FreeBSD
  i386: Update build system
  i386: Port to RTEMS

 freebsd/sbin/sysctl/sysctl.c                  |    8 +
 freebsd/sys/dev/pci/pci_pci.c                 |    2 +
 freebsd/sys/i386/include/machine/cpufunc.h    |    2 +
 freebsd/sys/net/iflib.c                       | 6773 +++++++++++++++++
 freebsd/sys/net/iflib_private.h               |   76 +
 freebsd/sys/net/mp_ring.c                     |  554 ++
 freebsd/sys/net/mp_ring.h                     |   75 +
 .../sys/x86/include/machine/intr_machdep.h    |  180 +
 .../{i386 => x86}/include/machine/legacyvar.h |   26 +-
 freebsd/sys/{i386/i386 => x86/x86}/legacy.c   |   77 +-
 libbsd.py                                     |   17 +-
 rtemsbsd/i386/include/machine/clock.h         |    2 +
 rtemsbsd/include/rtems/bsd/local/opt_acpi.h   |    0
 rtemsbsd/include/x86/legacyvar.h              |    1 +
 rtemsbsd/include/x86/specialreg.h             | 1074 +++
 rtemsbsd/include/x86/x86_var.h                |  156 +
 waf_libbsd.py                                 |   13 +-
 17 files changed, 8997 insertions(+), 39 deletions(-)
 create mode 100644 freebsd/sys/net/iflib.c
 create mode 100644 freebsd/sys/net/iflib_private.h
 create mode 100644 freebsd/sys/net/mp_ring.c
 create mode 100644 freebsd/sys/net/mp_ring.h
 create mode 100644 freebsd/sys/x86/include/machine/intr_machdep.h
 rename freebsd/sys/{i386 => x86}/include/machine/legacyvar.h (76%)
 rename freebsd/sys/{i386/i386 => x86/x86}/legacy.c (89%)
 create mode 100644 rtemsbsd/i386/include/machine/clock.h
 create mode 100644 rtemsbsd/include/rtems/bsd/local/opt_acpi.h
 create mode 100644 rtemsbsd/include/x86/legacyvar.h
 create mode 100644 rtemsbsd/include/x86/specialreg.h
 create mode 100644 rtemsbsd/include/x86/x86_var.h

-- 
2.17.1



More information about the devel mailing list