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)
Fri, Sep 11, 2:26 AM
Unknown Object (File)
Sun, Sep 6, 1:10 PM
Unknown Object (File)
Sun, Sep 6, 12:36 PM
Unknown Object (File)
Sun, Sep 6, 11:32 AM
Unknown Object (File)
Sun, Sep 6, 6:03 AM
Unknown Object (File)
Sun, Sep 6, 3:16 AM
Unknown Object (File)
Fri, Sep 4, 5:56 AM
Unknown Object (File)
Fri, Sep 4, 12:50 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?