Page MenuHomeFreeBSD

Create a machine/metadata.h for RISC-V
ClosedPublic

Authored by allanjude on Apr 3 2017, 12:55 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Apr 19, 3:56 AM
Unknown Object (File)
Sat, Apr 18, 9:52 PM
Unknown Object (File)
Thu, Apr 16, 11:30 PM
Unknown Object (File)
Sat, Apr 11, 4:10 PM
Unknown Object (File)
Mar 27 2026, 1:24 AM
Unknown Object (File)
Mar 13 2026, 5:26 AM
Unknown Object (File)
Mar 13 2026, 5:16 AM
Unknown Object (File)
Mar 1 2026, 5:06 AM
Subscribers
None

Details

Reviewers
emaste
br
lwhsu
imp
Summary

sys/crypto/crypto.c includes machine/metadata.h and RISC-V is the only platform that does not have one.
Add a blank one.

This resolves the build error caught by Jenkins:
https://ci.freebsd.org/job/FreeBSD-head-riscv64-build/1167/console

Diff Detail

Event Timeline

Why does sys/crypto/crypto.c include this at all?

The file itself is fine, but I wonder why crypto.c needs it...

This revision is now accepted and ready to land.Apr 3 2017, 1:01 AM
In D10239#211723, @imp wrote:

Why does sys/crypto/crypto.c include this at all?

The file itself is fine, but I wonder why crypto.c needs it...

Good point. I think one of the #defines used to be in that file, but was moved. Let me try a build without the #include

This build problem was resolved by removing metadata.h from sys/opencrypto/crypto.c in rS316483

Is there still interest in creating this empty file?