// Token: 0x060002B5 RID: 693 RVA: 0x00016CE4 File Offset: 0x00014EE4
 private AppMain.MTS_TASK_TCB DmLogoComLoadFileCreate(AppMain.Reference <AppMain.MTS_TASK_TCB> load_tcb_addr)
 {
     AppMain.MTS_TASK_TCB           mts_TASK_TCB           = AppMain.MTM_TASK_MAKE_TCB(null, new AppMain.GSF_TASK_PROCEDURE(this.dmLogoComDataLoadDest), 0U, ushort.MaxValue, 4096U, 0, () => new AppMain.DMS_LOGO_COM_LOAD_WORK(), "DM_LC_LOAD");
     AppMain.DMS_LOGO_COM_LOAD_WORK dms_LOGO_COM_LOAD_WORK = (AppMain.DMS_LOGO_COM_LOAD_WORK)mts_TASK_TCB.work;
     load_tcb_addr.Target = mts_TASK_TCB;
     dms_LOGO_COM_LOAD_WORK.load_tcb_addr = load_tcb_addr;
     return(mts_TASK_TCB);
 }
Example #2
0
 private AppMain.MTS_TASK_TCB DmLogoComLoadFileCreate(
     AppMain.Reference <AppMain.MTS_TASK_TCB> load_tcb_addr)
 {
     AppMain.MTS_TASK_TCB           mtsTaskTcb = AppMain.MTM_TASK_MAKE_TCB((AppMain.GSF_TASK_PROCEDURE)null, new AppMain.GSF_TASK_PROCEDURE(this.dmLogoComDataLoadDest), 0U, ushort.MaxValue, 4096U, 0, (AppMain.TaskWorkFactoryDelegate)(() => (object)new AppMain.DMS_LOGO_COM_LOAD_WORK()), "DM_LC_LOAD");
     AppMain.DMS_LOGO_COM_LOAD_WORK work       = (AppMain.DMS_LOGO_COM_LOAD_WORK)mtsTaskTcb.work;
     load_tcb_addr.Target = mtsTaskTcb;
     work.load_tcb_addr   = load_tcb_addr;
     return(mtsTaskTcb);
 }
    // Token: 0x060002B6 RID: 694 RVA: 0x00016D50 File Offset: 0x00014F50
    private void DmLogoComLoadFileReg(AppMain.Reference <MTS_TASK_TCB> tcb, AppMain.DMS_LOGO_COM_LOAD_FILE_INFO[] file_info, int file_num)
    {
        AppMain.DMS_LOGO_COM_LOAD_WORK dms_LOGO_COM_LOAD_WORK            = (AppMain.DMS_LOGO_COM_LOAD_WORK)tcb.Target.work;
        AppMain.ArrayPointer <AppMain.DMS_LOGO_COM_LOAD_CONTEXT> pointer = new AppMain.ArrayPointer <AppMain.DMS_LOGO_COM_LOAD_CONTEXT>(dms_LOGO_COM_LOAD_WORK.context, dms_LOGO_COM_LOAD_WORK.context_num);
        int num = 0;

        while (num < file_num && dms_LOGO_COM_LOAD_WORK.context_num < 10)
        {
            (~pointer).no        = dms_LOGO_COM_LOAD_WORK.context_num;
            (~pointer).file_info = file_info[num];
            this.DmLogoComLoadFile(pointer);
            num++;
            dms_LOGO_COM_LOAD_WORK.context_num++;
            pointer = ++pointer;
        }
    }
Example #4
0
    private void DmLogoComLoadFileReg(
        AppMain.Reference <AppMain.MTS_TASK_TCB> tcb,
        AppMain.DMS_LOGO_COM_LOAD_FILE_INFO[] file_info,
        int file_num)
    {
        AppMain.DMS_LOGO_COM_LOAD_WORK work = (AppMain.DMS_LOGO_COM_LOAD_WORK)tcb.Target.work;
        AppMain.ArrayPointer <AppMain.DMS_LOGO_COM_LOAD_CONTEXT> arrayPointer = new AppMain.ArrayPointer <AppMain.DMS_LOGO_COM_LOAD_CONTEXT>(work.context, work.context_num);
        int index = 0;

        while (index < file_num && work.context_num < 10)
        {
            ((AppMain.DMS_LOGO_COM_LOAD_CONTEXT) ~arrayPointer).no        = work.context_num;
            ((AppMain.DMS_LOGO_COM_LOAD_CONTEXT) ~arrayPointer).file_info = file_info[index];
            int num = (int)this.DmLogoComLoadFile((AppMain.DMS_LOGO_COM_LOAD_CONTEXT)arrayPointer);
            ++index;
            ++work.context_num;
            ++arrayPointer;
        }
    }
 // Token: 0x060002B7 RID: 695 RVA: 0x00016DD8 File Offset: 0x00014FD8
 private void DmLogoComLoadFileStart(AppMain.Reference <MTS_TASK_TCB> tcb)
 {
     AppMain.mtTaskChangeTcbProcedure(tcb.Target, this.dmLogoComDataLoadMain);
 }
 // Token: 0x060002B7 RID: 695 RVA: 0x00016DD8 File Offset: 0x00014FD8
 private void DmLogoComLoadFileStart(AppMain.Reference <AppMain.MTS_TASK_TCB> tcb)
 {
     AppMain.mtTaskChangeTcbProcedure(tcb.Target, new AppMain.GSF_TASK_PROCEDURE(this.dmLogoComDataLoadMain));
 }