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)
Wed, Oct 15, 5:36 AM
Unknown Object (File)
Wed, Sep 17, 5:16 AM
Unknown Object (File)
Aug 19 2025, 2:20 AM
Unknown Object (File)
Jul 27 2025, 5:42 AM
Unknown Object (File)
Jul 23 2025, 3:02 AM
Unknown Object (File)
Jun 15 2025, 8:32 PM
Unknown Object (File)
Jun 15 2025, 10:58 AM
Unknown Object (File)
Apr 24 2025, 4:40 PM
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?