-
Notifications
You must be signed in to change notification settings - Fork 792
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Thid DIF exports not function beyond the autogenerated one. It is necessary to have it so that the isr_tstutils and the autogenerated plic tests can compile on Darjeeling. Signed-off-by: Amaury Pouly <[email protected]>
- Loading branch information
Showing
3 changed files
with
44 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,5 +5,4 @@ | |
# This is the list of all IPs that do not have a DIF. | ||
IPS_WITHOUT_DIF = [ | ||
"ast", | ||
"soc_proxy", | ||
] | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
// Copyright lowRISC contributors (OpenTitan project). | ||
// Licensed under the Apache License, Version 2.0, see LICENSE for details. | ||
// SPDX-License-Identifier: Apache-2.0 | ||
|
||
#ifndef OPENTITAN_SW_DEVICE_LIB_DIF_DIF_SOC_PROXY_H_ | ||
#define OPENTITAN_SW_DEVICE_LIB_DIF_DIF_SOC_PROXY_H_ | ||
|
||
/** | ||
* This is an empty DIF. It's sole purpose is to export the autogenerated DIF | ||
* functions so that the PLIC tests and ISR testutils can use it. | ||
*/ | ||
|
||
#include <stdbool.h> | ||
#include <stdint.h> | ||
|
||
#include "sw/device/lib/base/macros.h" | ||
#include "sw/device/lib/base/mmio.h" | ||
#include "sw/device/lib/dif/dif_base.h" | ||
|
||
#include "sw/device/lib/dif/autogen/dif_soc_proxy_autogen.h" | ||
|
||
#endif // OPENTITAN_SW_DEVICE_LIB_DIF_DIF_SOC_PROXY_H_ |