亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來(lái)到蟲(chóng)蟲(chóng)下載站! | ?? 資源下載 ?? 資源專(zhuān)輯 ?? 關(guān)于我們
? 蟲(chóng)蟲(chóng)下載站

?? tmt.s

?? nucleas source code
?? S
?? 第 1 頁(yè) / 共 3 頁(yè)
字號(hào):
_TMT_Disable_Timer

; Disable the count-down timer.
;    TMD_Timer_State =  TM_NOT_ACTIVE;

        MOV     r1,#1                       ; Build TM_NOT_ACTIVE value
        LDR     r0,Timer_State              ; Build address to timer state var
        STR     r1,[r0,#0]                  ; Change timer state to not active

        BX      r14                         ; Return to caller
;}

;************************************************************************
;*                                                                       
;* FUNCTION                                                              
;*                                                                       
;*      TMT_Retreive_TS_Timer                                            
;*                                                                       
;* DESCRIPTION                                                           
;*                                                                       
;*      This function returns the time-sliced task pointer.              
;*                                                                       
;* CALLED BY                                                             
;*                                                                       
;*      TMC_Timer_HISR                      Timer HISR                   
;*                                                                       
;* CALLS                                                                 
;*                                                                       
;*      None                                                             
;*                                                                       
;* INPUTS                                                                
;*                                                                       
;*      None                                                             
;*                                                                       
;* OUTPUTS                                                               
;*                                                                       
;*      TMD_Time_Slice_Task                 Time sliced task pointer     
;*                                                                       
;* HISTORY                                                               
;*                                                                       
;*         NAME            DATE                    REMARKS               
;*                                                                       
;*      C. Meredith     03-01-1994      Created initial version 1.1      
;*      D. Lamie        03-18-1994      Verified version 1.1             
;*                                                                       
;************************************************************************
;NU_TASK TMT_Retrieve_TS_Task (VOID)
;{
    .def    $TMT_Retrieve_TS_Task
$TMT_Retrieve_TS_Task                        ; Dual-state interworking veneer
    .state16
    BX  r15
    NOP
    .state32
    B   _TMT_Retrieve_TS_Task

        .def    _TMT_Retrieve_TS_Task
_TMT_Retrieve_TS_Task

; Read the current TMD_Time_Slice_Task variable and load for
; return to caller.

        LDR     r1,Slice_Task                ; Build address to timer slice var
        LDR     r0,[r1,#0]                   ; Get task pointer to be returned

; Return to caller time slice value back to caller

        BX      r14                          ; Return to caller

;}

;************************************************************************
;*                                                                       
;* FUNCTION                                                              
;*                                                                       
;*      TMT_Timer_Interrupt                                              
;*                                                                       
;* DESCRIPTION                                                           
;*                                                                       
;*      This function processes the actual hardware interrupt.           
;*      Processing includes updating the system clock and the count-     
;*      down timer and the time-slice timer.  If one or both of the      
;*      timers expire, the timer HISR is activated.                      
;*                                                                       
;* CALLED BY                                                             
;*                                                                       
;*      Interrupt Vector                                                 
;*                                                                       
;* CALLS                                                                 
;*                                                                       
;*      TCT_Activate_HISR                   Activate timer HISR          
;*      TCT_Interrupt_Context_Save          Save interrupted context     
;*      TCT_Interrupt_Context_Restore       Restore interrupted context  
;*                                                                       
;* INPUTS                                                                
;*                                                                       
;*      None                                                             
;*                                                                       
;* OUTPUTS                                                               
;*                                                                       
;*      None                                                             
;*                                                                       
;* HISTORY                                                               
;*                                                                       
;*         NAME            DATE                    REMARKS               
;*                                                                       
;*      W. Lamie        02-15-1994      Created initial version 1.0      
;*      D. Lamie        02-15-1994      Verified version 1.0             
;*                                                                       
;************************************************************************
;VOID  TMT_Timer_Interrupt(void)
;{
        .def  _TMT_Timer_Interrupt
_TMT_Timer_Interrupt

        MRS     r1,CPSR                         ; Pickup current CPSR
        ORR     r1,r1,#LOCKOUT                  ; Set the interrupt lockout bits
        MSR     CPSR,r1                         ; Lockout interrupts

; Increment the system clock.
;    TMD_System_Clock++;

        LDR     r0,System_Clock                 ; Pickup system clock address
        LDR     r1,[r0,#0]                      ; Pickup system clock contents
        ADD     r1,r1,#1                        ; Increment system clock
        STR     r1,[r0,#0]                      ; Store new system clock value

; Determine if the count-down timer is active.
;    if (TMD_Timer_State == TM_ACTIVE)
;    {

        LDR     r1,Timer_State                  ; Build address to timer state flag
        LDR     r0,[r1,#0]                      ; Pickup timer state
        MOV     r3,#2                           ; Build expired value
        CMP     r0,#0                           ; Is there a timer active?
        BNE     TMT_No_Timer_Active             ; No, skip timer processing

; Decrement the count-down timer.
;        TMD_Timer--;

        LDR     r0,Timer                        ; Build timer address
        LDR     r2,[r0,#0]                      ; Pickup the current timer value

; Test if the Timer is at 0 and if so skip the decrement 
        cmp     r2,#1
        beq     EXPIRED

        SUBS    r2,r2,#1                        ; Decrement the timer value
        STR     r2,[r0,#0]                      ; Store the new timer value

        bne     TMT_No_Timer_Active             ; Skip over the Set Timer State

; Determine if the timer has expired. If so, modify the state 
; to indicate that it has expired.
;        if (TMD_Timer == 0)

;            TMD_Timer_State =  TM_EXPIRED;

EXPIRED:
        STREQ   r3,[r1,#0]                      ; Change the timer state to 
                                                ; expired

;    }
TMT_No_Timer_Active:

; Determine if the time-slice timer is active.  Note that the parameters
; for the time-slice are controlled by the Thread Control (TC) 
; component.
;    if (TMD_Time_Slice_State == TM_ACTIVE)
;    {
        LDR     r0,Slice_State                  ; Build time slice state address
        LDR     r2,[r0,#0]                      ; Pickup time slice state
        CMP     r2,#0                           ; Is there a time slice active?
        BNE     TMT_No_Time_Slice_Active        ; No, skip time slice processing

; Decrement the time slice counter.
;        TMD_Time_Slice--;

        LDR     r2,Time_Slice                   ; Build time slice address
        LDR     r3,[r2,#0]                      ; Pickup the time slice value
        SUBS    r3,r3,#1                        ; Decrement the time slice
        STR     r3,[r2,#0]                      ; Store the new time slice value

        ; Determine if the time-slice timer has expired. If so, modify the
        ; time-slice state to indicate that it has.
;        if (TMD_Time_Slice == 0)
;        {

        BNE     TMT_No_Time_Slice_Active        ; Has time slice expired?

;            TMD_Time_Slice_State =  TM_EXPIRED;

        MOV     r3,#2                           ; Build TM_EXPIRED value
        STR     r3,[r0,#0]                      ; Indicate time slice is expired

        ; Copy the current thread into the time-slice task pointer.
;            TMD_Time_Slice_Task =  TCD_Current_Thread;

        LDR     r2,Current_Thread               ; Pickup current thread pointer adr
        LDR     r2,[r2,#0]                      ; Pickup current thread pointer
        LDR     r3,Slice_Task                   ; Pickup time slice task pointer ad
        STR     r2,[r3,#0]                      ; Store current thread pointer

;            ((TC_TCB *) TCD_Current_Thread) -> tc_cur_time_slice =  1;

        MOV     r3,#1                           ; For safety, place a minimal time-
        STR     a4,[a3,#20h]!                   ; slice into the task's control
                                                ; block

;        }
;    }
TMT_No_Time_Slice_Active:

    ; Determine if either of the basic timers have expired.  If so, 
    ; activate the timer HISR.
;    if ((TMD_Timer_State == TM_EXPIRED) ||
;        (TMD_Time_Slice_State == TM_EXPIRED))
;    {

        LDR     r1,[r1,#0]                      ; Pickup timer state 
        CMP     r1,#2                           ; Does it indicate expiration?
        LDRNE   r0,[r0,#0]                      ; Pickup time slice state
        CMPNE   r0,#2                           ; Does it indicate expiration?
         
        BXNE    r14                             ; Return if no expiration

        ; Activate the HISR timer function.
;        TCT_Activate_HISR(&TMD_HISR);

        STR     r14,[r13, #-4]!                 ; Save r14 on the stack
        LDR     r0,HISR                         ; Build address of timer HISR
        BL      _TCT_Activate_HISR              ; Activate timer HISR
        LDR     r14,[r13], #4                   ; Recover return address
;    }

        BX      r14                             ; Return to caller

;}
        .end


?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美日韩国产系列| 精品日韩成人av| 国模无码大尺度一区二区三区| 欧美国产一区视频在线观看| 日韩一级片网站| 色婷婷国产精品久久包臀| 国产一区啦啦啦在线观看| 亚洲成a人片在线观看中文| 亚洲国产成人在线| 日韩精品资源二区在线| 欧美日韩国产高清一区| 97久久超碰国产精品电影| 激情图区综合网| 香蕉久久夜色精品国产使用方法| 中文字幕在线观看一区| 久久午夜老司机| 91精品国产欧美日韩| 在线视频国内一区二区| 成人午夜又粗又硬又大| 狠狠色丁香久久婷婷综| 老司机精品视频导航| 日韩电影免费一区| 性欧美疯狂xxxxbbbb| 亚洲一区二区在线视频| 亚洲裸体xxx| 国产精品美女视频| 国产婷婷精品av在线| 2020国产成人综合网| 欧美zozozo| 日韩欧美美女一区二区三区| 日韩一区二区三| 在线综合+亚洲+欧美中文字幕| 欧美日韩国产中文| 欧美人妖巨大在线| 555www色欧美视频| 欧美一区二区三区的| 欧美丰满一区二区免费视频| 欧美高清www午色夜在线视频| 欧美日韩国产一二三| 7777精品伊人久久久大香线蕉的 | 日本在线不卡一区| 午夜av一区二区三区| 三级欧美韩日大片在线看| 日本中文在线一区| 久久97超碰色| 国产大片一区二区| av在线播放成人| 色综合久久久久综合体桃花网| 在线观看一区二区精品视频| 欧美日本一区二区三区四区| 在线播放亚洲一区| 欧美成人官网二区| 日本一区二区三区国色天香| 亚洲同性同志一二三专区| 亚洲精品第一国产综合野| 性欧美疯狂xxxxbbbb| 久久国内精品自在自线400部| 国产尤物一区二区在线| 成人毛片老司机大片| 色素色在线综合| 日韩一区二区三区免费看| 久久嫩草精品久久久精品 | 日本成人在线网站| 久久99精品久久久久婷婷| 国产成+人+日韩+欧美+亚洲| 色婷婷综合五月| 欧美一级国产精品| 国产精品美女久久久久久2018| 亚洲免费观看高清| 全部av―极品视觉盛宴亚洲| 国v精品久久久网| 欧洲一区二区三区在线| 日韩精品一区二区三区中文精品| 亚洲国产精品99久久久久久久久| 夜夜嗨av一区二区三区网页| 麻豆精品新av中文字幕| 91丨porny丨国产入口| 91精品国产手机| 国产精品久久久久久久久免费桃花 | 国产精品无码永久免费888| 洋洋成人永久网站入口| 另类小说一区二区三区| www.成人网.com| 91精品国产综合久久蜜臀| 国产三级一区二区| 全国精品久久少妇| 色拍拍在线精品视频8848| 精品国产一区二区三区四区四| 亚洲欧洲综合另类在线| 国产精品羞羞答答xxdd| 欧美剧在线免费观看网站| 亚洲国产岛国毛片在线| 青青青伊人色综合久久| 91女人视频在线观看| 精品国产3级a| 图片区小说区区亚洲影院| av欧美精品.com| 久久久久国产精品厨房| 青椒成人免费视频| 欧美在线一区二区| 中文字幕一区二区5566日韩| 精品亚洲欧美一区| 欧美日韩色一区| 亚洲欧美另类久久久精品2019| 国产一区二区三区观看| 日韩欧美电影一区| 日韩国产成人精品| 欧美日韩一级二级| 亚洲精品日韩综合观看成人91| 国产成人在线免费观看| 日韩欧美高清在线| 秋霞影院一区二区| 欧美男生操女生| 亚洲一区在线看| 一本高清dvd不卡在线观看| 国产欧美精品一区| 国产在线一区二区| 欧美成人官网二区| 蜜臀va亚洲va欧美va天堂| 9191久久久久久久久久久| 亚洲丶国产丶欧美一区二区三区| 99国产精品久久久久| 国产精品传媒入口麻豆| 风间由美性色一区二区三区| 久久精品视频一区二区| 国产一区在线看| 26uuu亚洲综合色| 狠狠色狠狠色合久久伊人| 精品国产99国产精品| 免费看日韩精品| 日韩欧美国产一二三区| 免费亚洲电影在线| 日韩美女一区二区三区四区| 麻豆精品一二三| 久久这里只有精品视频网| 国产一区二区日韩精品| 国产日韩一级二级三级| 成人av免费在线观看| 最好看的中文字幕久久| 91免费视频网址| 亚洲一区二区三区四区在线| 欧美卡1卡2卡| 老司机午夜精品| 国产午夜久久久久| 99久久精品免费| 亚洲人成网站色在线观看| 日本大香伊一区二区三区| 午夜精品福利一区二区三区蜜桃| 欧美日本一区二区三区| 精品一区二区免费| 久久精品欧美一区二区三区不卡| 岛国一区二区在线观看| 亚洲人成亚洲人成在线观看图片| 欧美在线免费观看亚洲| 日本成人中文字幕| 日本一区二区视频在线观看| 一本一本大道香蕉久在线精品 | 精品国产1区2区3区| 国产精品一卡二| 最新久久zyz资源站| 欧美日本在线一区| 国产酒店精品激情| 亚洲欧美日韩中文播放| 欧美伦理视频网站| 国产精品一卡二| 一区二区欧美视频| 欧美一区二区在线不卡| 国产69精品久久777的优势| 亚洲免费看黄网站| 日韩美一区二区三区| a美女胸又www黄视频久久| 日韩国产精品久久久| 久久久99精品久久| 欧美视频自拍偷拍| 国产精品91一区二区| 亚洲妇熟xx妇色黄| 国产日产欧美一区二区三区| 欧洲精品视频在线观看| 狠狠色综合播放一区二区| 伊人色综合久久天天| 欧美xingq一区二区| 一本大道久久精品懂色aⅴ| 麻豆一区二区在线| 亚洲六月丁香色婷婷综合久久| 日韩三级电影网址| 色屁屁一区二区| 高清不卡在线观看av| 天堂在线亚洲视频| ㊣最新国产の精品bt伙计久久| 在线综合+亚洲+欧美中文字幕| 91影院在线免费观看| 国产麻豆精品久久一二三| 婷婷开心久久网| 亚洲美女视频在线观看| 久久久久久99久久久精品网站| 欧美三级三级三级爽爽爽| jlzzjlzz欧美大全| 另类成人小视频在线| 日韩精品一二三区| 亚洲曰韩产成在线|