modules: adjust for ianos changes
This commit is contained in:
@@ -2101,7 +2101,7 @@ static void _sdram_lp0_save_params_t210b01(sdram_params_t210b01_t *sdram)
|
||||
s(pllm_stable_time, 9:0, scratch4, 19:10);
|
||||
}
|
||||
|
||||
void sdram_lp0_entry(void *sdram_config, bdkParams_t bp)
|
||||
void sdram_lp0_entry(void *sdram_config, bdk_params_t *bp)
|
||||
{
|
||||
u32 chip_id = (APB_MISC(APB_MISC_GP_HIDREV) >> 4) & 0xF;
|
||||
|
||||
|
||||
@@ -4012,7 +4012,7 @@ error:
|
||||
return;
|
||||
}
|
||||
|
||||
void minerva_entry(mtc_config_t *mtc_cfg, bdkParams_t bp)
|
||||
void minerva_entry(mtc_config_t *mtc_cfg, bdk_params_t *bp)
|
||||
{
|
||||
EPRINTF("-- Minerva Training Cell --");
|
||||
|
||||
|
||||
@@ -6,13 +6,13 @@
|
||||
#include <module.h>
|
||||
#include <gfx_utils.h>
|
||||
|
||||
void mod_entry(void *moduleConfig, bdkParams_t bp)
|
||||
void mod_entry(void *moduleConfig, bdk_params_t *bp)
|
||||
{
|
||||
memcpy(&gfx_con, bp->gfxCon, sizeof(gfx_con_t));
|
||||
memcpy(&gfx_ctxt, bp->gfxCtx, sizeof(gfx_ctxt_t));
|
||||
memcpy(&gfx_con, bp->gfx_con, sizeof(gfx_con_t));
|
||||
memcpy(&gfx_ctxt, bp->gfx_ctx, sizeof(gfx_ctxt_t));
|
||||
|
||||
gfx_puts("Hello World!");
|
||||
|
||||
memcpy(bp->gfxCon, &gfx_con, sizeof(gfx_con_t));
|
||||
memcpy(bp->gfxCtx, &gfx_ctxt, sizeof(gfx_ctxt_t));
|
||||
memcpy(bp->gfx_con, &gfx_con, sizeof(gfx_con_t));
|
||||
memcpy(bp->gfx_ctx, &gfx_ctxt, sizeof(gfx_ctxt_t));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user