[PATCH v3 0/3] [rtems-libbsd] Fix compilation for amd64

Jan Sommer jan.sommer at dlr.de
Tue Feb 11 12:06:49 UTC 2020


Similar to the previous patchset for i386 this one enables compilation for the amd64 BSP
with the following limitations:
- dev_nic_e1000 needs to be off
- debugger01.exe does not link because the amd64 bsp has no libdebugger support

I tried to use the lessons learned from the last patch set.
It does not seem to affect arm, sparc and i386 compilation.

Best regards,

    Jan

Jan Sommer (3):
  amd64: Add missing files from FreeBSD
  amd64: Add to build
  amd64: Port to RTEMS

 freebsd/sys/amd64/amd64/in_cksum.c            |  245 ++++
 freebsd/sys/amd64/include/machine/_bus.h      |   48 +
 freebsd/sys/amd64/include/machine/cpufunc.h   | 1053 +++++++++++++++++
 freebsd/sys/amd64/include/machine/efi.h       |   78 ++
 freebsd/sys/amd64/include/machine/in_cksum.h  |   86 ++
 freebsd/sys/amd64/include/machine/md_var.h    |   90 ++
 .../sys/amd64/include/machine/specialreg.h    |    6 +
 freebsd/sys/sys/efi.h                         |  198 ++++
 libbsd.py                                     |   14 +
 rtemsbsd/amd64/include/machine/clock.h        |    2 +
 waf_libbsd.py                                 |    4 +
 11 files changed, 1824 insertions(+)
 create mode 100644 freebsd/sys/amd64/amd64/in_cksum.c
 create mode 100644 freebsd/sys/amd64/include/machine/_bus.h
 create mode 100644 freebsd/sys/amd64/include/machine/cpufunc.h
 create mode 100644 freebsd/sys/amd64/include/machine/efi.h
 create mode 100644 freebsd/sys/amd64/include/machine/in_cksum.h
 create mode 100644 freebsd/sys/amd64/include/machine/md_var.h
 create mode 100644 freebsd/sys/amd64/include/machine/specialreg.h
 create mode 100644 freebsd/sys/sys/efi.h
 create mode 100644 rtemsbsd/amd64/include/machine/clock.h

-- 
2.17.1



More information about the devel mailing list