Use already defined constant TA_CURRENT_CTX
This commit is contained in:
parent
ba78184461
commit
bb3753dc86
|
@ -273,19 +273,16 @@ NOINLINE void DYNACALL ta_handle_cmd(u32 trans)
|
||||||
|
|
||||||
static OnLoad ol_fillfsm(&fill_fsm);
|
static OnLoad ol_fillfsm(&fill_fsm);
|
||||||
|
|
||||||
#define TA_ISP_BASE_MASK (~((1 << 20) - 1)) // Define TA_ISP_BASE in 1 MB units like PARAM_BASE
|
|
||||||
|
|
||||||
void ta_vtx_ListCont()
|
void ta_vtx_ListCont()
|
||||||
{
|
{
|
||||||
SetCurrentTARC(TA_ISP_BASE & TA_ISP_BASE_MASK);
|
SetCurrentTARC(TA_CURRENT_CTX);
|
||||||
ta_tad.Continue();
|
ta_tad.Continue();
|
||||||
|
|
||||||
ta_cur_state=TAS_NS;
|
ta_cur_state=TAS_NS;
|
||||||
}
|
}
|
||||||
void ta_vtx_ListInit()
|
void ta_vtx_ListInit()
|
||||||
{
|
{
|
||||||
u32 base = TA_ISP_BASE & TA_ISP_BASE_MASK;
|
SetCurrentTARC(TA_CURRENT_CTX);
|
||||||
SetCurrentTARC(base);
|
|
||||||
ta_tad.ClearPartial();
|
ta_tad.ClearPartial();
|
||||||
|
|
||||||
ta_cur_state=TAS_NS;
|
ta_cur_state=TAS_NS;
|
||||||
|
|
Loading…
Reference in New Issue