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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? l2.asm

?? 基于IBM的NPU
?? ASM
?? 第 1 頁 / 共 5 頁
字號:
;*********************************************************************;*;*	Hifn Software;*	Licensed Material - Property of Hifn;*  (C) Copyright Hifn Inc. 2005;*	(C) Copyright International Business Machines Corp. 1999;*	All Rights Reserved.;*;*	U.S. Government	Users Restricted Rights - Use, duplication or;*	disclosure restricted by GSA ADP Schedule Contract with;*  Hifn Inc.;*;*********************************************************************;***********************************************************************;       Network Processor Sample Layer-2 Forwarding Code               ;;**********************************************************************;;; File Name; *********; l2.asm;; Purpose; *******; This is a standalone piece of code that demonstrates static Layer-2; forwarding by the Network Processor. It is purely for educational; purposes and has not been optimized for performance.;; This file contains sections to setup the network; processor and dispatch handlers for UP/DN Guided Cells and ; UP/DN unicast frame processing. The file is designed to run in a; wrap mode without a switch fabric so that the UP side is wrapped; to the DN side. The GCH code handles guided traffic from; the control point. The GCH handlers in this sample file include; support for reading/writing locations in memory and returning results; back to the control point. The static layer-2 UP and DN direct tables; (DTs) can be built by sending guided traffic to this sample code. The; guided traffic would contain commands to write these tables to the ; control memory. Sample UP and DN direct tables are included at the; end of this file. The UP unicast dispatch handler parses the; destination MAC address of the frame that is received on one of the; 40 ports. It performs a tree search of the UP DT using the DA MAC as; a key and either discards the frame or enqueues the frame using; values retrieved from the UP DT. The DN unicast dispatch handler; uses the lookup identifier in the frame header to search the DN DT.; It uses the result of the search to enqueue the frame to the; appropriate target port. ;; Document Reference; ******************; Network Processor Assembler Language Programmer's Guide and;   Instruction Summary;; Main Entry Point; ****************; Not Applicable;; Interrupt Handler Entry Points; ******************************; (1)  Timers (0-3)         at 0x0600; (2)  Interrupts (0-3)     at 0x0620; (3)  Rsvd                 at 0x0640; (4)  DN abort             at 0x0660; (5)  DN GTH               at 0x0680; (6)  UP wrap guided       at 0x06A0; (7)  UP wrap data         at 0x06C0; (8)  GPQ                  at 0x06E0; (8)  UP GCH               at 0x0400; (9)  DN GCH               at 0x0800; (10) UP ports 0 thru 39   at 0x1000; (11) DN unicast           at 0x1800; (12) DN multicast         at 0x1C00;; List of Procedures; ******************; None;; Modification History; ********************; Date      By       Change Description         Reason For Change; ****      **       ******************         *****************; 12/02/99  glc,mcb  file created               n/a; 05/26/00  cv, kmw  file updated               Support 4GS3;;**********************************************************************;@INCLUDE "key4tse.inc"@INCLUDE "l2.inc";**********************************************************************;;                     Boot;**********************************************************************;;; Purpose; *******; The boot will :;       1) Configure the Network Processor memories;       2) Configure the Free queue extended stack max size;       3) Init the DRAM controller;       4) Configure the Switch Data Mover's Stack threshold;       5) Configure the Target port data store map;       6) Configure the Port Dispatch table;       7) Set the Target Blade;       8) Configure the ethertype used for Guided traffic;       9) Configure the thresholds for the Buffer control block and ;           the Free Queue extended stack for congestion control; ; Input Parameters; ****************; None;; Returned Values; ***************; None;; General Purpose Registers Destroyed; ***********************************; None;; Array Register Locations Destroyed; **********************************; None;; Pre-Conditions; **************; None;; Post-Conditions; ***************; None;;**********************************************************************;NP_Boot EQU $        cabarb     #cabrequest          ;; Arbitrate for the CAB        ;**************************************************************        ; Configure the NP Memories        ;**************************************************************        ldr        r8, #0x0000        ldr        r9, #0x03F7    ; All Memories        str        cabdata, w8        ldr        r0,#Mem_Cnfg_Reg_Hi_Addr	        ldr        r1,#Mem_Cnfg_Reg_Lo_Addr	        cabaccess  w0, #cabwrite        nop        WAIT       COP_CAB 	        ;**************************************************************        ;  DRAM Controller Initialization        ;     Start the internal h/w initialization by setting        ;     the dram init & island init bits in the init register        ;**************************************************************        ldru       w8, #0x0400         ; DRAM init- r8 = 0x0400, r9 = 0        str        cabdata , w8        ldr        r0,#Init_Reg_Hi_Addr        ldr        r1,#Init_Reg_Lo_Addr        cabaccess  w0, #cabwrite        ;**************************************************************        ;  Poll init done register till both DRAM bits are set to        ;  '1' indicating the DRAM init completion.        ;**************************************************************poll_init_done_again1 EQU $        ldr        r0, #Init_Done_Reg_Hi_Addr        ldr        r1, #Init_Done_Reg_Lo_Addr        cabaccess  w0, #cabread        ldr        w2, cabdata        ldr        r3, #DDS_CM_Init_Done_Mask        and        r2, r3       ; Check only the relevant bits.        cmp        r2, r3       ; Check DRAMs        be         initb        b          poll_init_done_again1        ;**************************************************************        ; Turn on the SIF and Island inits, wait on the DMU's        ;**************************************************************initb   EQU $        ldru       w8, #0x0C00       ; r8 = 0x0C00, r9 = 0        str        cabdata , w8        ldr        r0,#Init_Reg_Hi_Addr        ldr        r1,#Init_Reg_Lo_Addr        cabaccess  w0, #cabwrite                ;**************************************************************        ;  DMU Config and Init        ;     Configure the DMU's before starting initialization on DMU's        ;     Program all the Phy DMU CONFIG registers        ;**************************************************************        ldr        r0, #DMU_Cnfg_Reg_Hi_Addr ; all dmu cnfg regs hi addr        ;**************************************************************        ; Init DMU A        ; Tx Thresh = 2, 10/100 SMII , Tx enable all, Rx enable all,FDX all        ;**************************************************************        ldr        r1, #DMU_A_Cnfg_Reg_Lo_Addr  ; DMU cfg A word 0 not written                                                                                                                                   ldr        r8, #0x0043                  ; Reset value        ldr        r9, #0x07FF        str        cabdata, w8                                                        add        r1, #1                       ; DMU cfg A word 1                                                        cabaccess  w0, #cabwrite                                                      nop                                                                           WAIT       COP_CAB                                          ldr        r8, #0x3FFF        ldr        r9, #0xFC00        str        cabdata, w8        add        r1, #1                       ; DMU cfg A word 2        cabaccess  w0, #cabwrite        nop        WAIT       COP_CAB        ldrh       w8, #0x00        str        cabdata, w8                                     add        r1, #1                       ; DMU cfg A word 3        cabaccess  w0, #cabwrite                                                      nop                                                                           WAIT       COP_CAB        ;**************************************************************        ; Init DMU B        ; Tx Thresh = 2, 10/100 SMII , Tx enable all, Rx enable all, FDX all        ;**************************************************************        ldr        r1, #DMU_B_Cnfg_Reg_Lo_Addr  ; DMU cfg B word 0 not written               ldr        r8, #0x0043                  ; Reset value        ldr        r9, #0x07FF        str        cabdata, w8                                                     add        r1,#1                        ; DMU cfg B word 1                                                           cabaccess  w0, #cabwrite                                                   nop                                                                        WAIT       COP_CAB         ldr        r8, #0x3FFF        ldr        r9, #0xFC00        str        cabdata, w8        add        r1, #1                       ; DMU cfg B word 2        cabaccess  w0, #cabwrite        nop        WAIT       COP_CAB        ldrh       w8, #0x00        str        cabdata, w8                                     add        r1, #1                       ; DMU cfg B word 3        cabaccess  w0, #cabwrite                                                      nop                                                                           WAIT       COP_CAB        ;**************************************************************        ; Init DMU C        ; Tx Thresh = 2, 10/100 SMII , Tx enable all, Rx enable all, FDX all        ;**************************************************************        ldr        r1, #DMU_C_Cnfg_Reg_Lo_Addr  ; Word 0 not written                                    ldr        r8, #0x0043                  ; Reset value        ldr        r9, #0x07FF        str        cabdata, w8                                                      add        r1,#1                        ; DMU cfg C word 1                                                           cabaccess  w0, #cabwrite                                                    nop                                                                         WAIT       COP_CAB        ldr        r8, #0x3FFF        ldr        r9, #0xFC00        str        cabdata, w8        add        r1, #1                       ; DMU cfg C word 2        cabaccess  w0, #cabwrite        nop        WAIT       COP_CAB        ldrh       w8, #0x00        str        cabdata, w8                                     add        r1, #1                       ; DMU cfg C word 3        cabaccess  w0, #cabwrite                                                      nop                                                                           WAIT       COP_CAB        ;**************************************************************        ; Init DMU D

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲午夜精品网| 粉嫩aⅴ一区二区三区四区五区| 久久成人免费网| 色综合久久九月婷婷色综合| 精品奇米国产一区二区三区| 亚洲美女在线国产| 国产乱国产乱300精品| 欧美日韩情趣电影| 亚洲欧美色综合| 欧美午夜精品久久久久久孕妇 | 欧美v国产在线一区二区三区| 国产精品拍天天在线| 久久激情五月激情| 欧美视频完全免费看| 国产精品成人免费| 国产精品亚洲一区二区三区在线 | 国产精品国产三级国产aⅴ原创 | 欧美午夜一区二区| 亚洲三级在线播放| 国产jizzjizz一区二区| 欧美一区二区三区播放老司机| 一区二区三区在线免费播放| 99vv1com这只有精品| 国产精品成人网| 成人开心网精品视频| 中文av一区二区| 成人国产一区二区三区精品| 久久久.com| 成人综合在线网站| 国产精品国产三级国产三级人妇| 国产99久久久国产精品潘金网站| xnxx国产精品| 国产成人精品综合在线观看| 亚洲国产成人一区二区三区| 成人深夜在线观看| 国产精品护士白丝一区av| av一区二区三区四区| 亚洲美女屁股眼交| 日本伦理一区二区| 图片区小说区国产精品视频| 欧美高清视频在线高清观看mv色露露十八 | 奇米精品一区二区三区在线观看| 欧美日韩极品在线观看一区| 午夜精品视频在线观看| 欧美三电影在线| 欧美aa在线视频| 精品国产一区二区三区忘忧草| 黄色日韩三级电影| 中文字幕乱码一区二区免费| 97成人超碰视| 午夜精品福利在线| 精品国一区二区三区| 国产精品一区一区| 亚洲男人天堂av| 久久美女高清视频| 国产精品中文字幕日韩精品| 国产欧美精品一区aⅴ影院 | 欧美日韩国产欧美日美国产精品| 奇米一区二区三区av| 国产亚洲欧美色| 色一区在线观看| 视频一区欧美精品| 久久亚洲捆绑美女| 99re这里只有精品6| 午夜久久福利影院| 久久精品一级爱片| 欧美优质美女网站| 国产一区二区三区精品欧美日韩一区二区三区 | 成人黄色综合网站| 亚洲国产成人精品视频| 久久久欧美精品sm网站| 91精品办公室少妇高潮对白| 久久激情五月婷婷| 亚洲精选一二三| 日韩欧美一级片| 91啪亚洲精品| 极品少妇xxxx精品少妇| 亚洲男人的天堂在线观看| 日韩精品专区在线影院重磅| 99精品视频在线观看免费| 日产国产高清一区二区三区| 亚洲欧美综合色| 精品美女在线播放| 欧美日韩精品三区| 不卡大黄网站免费看| 免费成人美女在线观看.| 日韩美女视频一区二区| 精品久久五月天| 欧美人与z0zoxxxx视频| 91免费看片在线观看| 国产一区二区免费在线| 午夜av一区二区| 亚洲精品国产一区二区三区四区在线| 日韩免费视频一区| 欧美日韩精品是欧美日韩精品| 99re这里只有精品视频首页| 国产高清不卡二三区| 青青草一区二区三区| 一区二区三区精密机械公司| 中文字幕 久热精品 视频在线| 日韩欧美久久久| 中文欧美字幕免费| www欧美成人18+| 日韩写真欧美这视频| 欧美亚洲一区三区| 色婷婷综合久久久中文字幕| 国产 欧美在线| 国产精品99久久久| 国产乱一区二区| 麻豆精品在线观看| 久久国产日韩欧美精品| 日韩av电影一区| 日本网站在线观看一区二区三区 | 婷婷国产在线综合| 午夜精品久久久久影视| 亚洲一级电影视频| 亚洲午夜私人影院| 午夜不卡在线视频| 蜜臀久久99精品久久久久久9| 日日夜夜免费精品| 日本人妖一区二区| 久久99热这里只有精品| 九九国产精品视频| 国产一区二区在线视频| 国产精品一区二区在线播放| 国产精品一品视频| 99国产麻豆精品| 日本精品视频一区二区| 欧美熟乱第一页| 欧美一级在线免费| 26uuu亚洲综合色欧美| 国产欧美日韩精品a在线观看| 成人免费一区二区三区在线观看| 亚洲人成7777| 三级欧美在线一区| 国产一区二区三区香蕉| 成人精品视频网站| 欧美亚洲一区二区三区四区| 91超碰这里只有精品国产| 日韩欧美黄色影院| 中文字幕乱码日本亚洲一区二区| 亚洲人一二三区| 免费在线观看日韩欧美| 国产成人丝袜美腿| 色先锋aa成人| 欧美成人免费网站| 中文字幕一区二区三区精华液| 亚洲国产精品久久一线不卡| 亚洲午夜视频在线| 久久99精品久久久久久 | 日本三级韩国三级欧美三级| 国产一区二区三区日韩| 色88888久久久久久影院野外| 欧美一区二区三区的| 国产精品国产自产拍高清av| 日韩在线a电影| 风间由美一区二区三区在线观看 | www国产成人免费观看视频 深夜成人网| 国产午夜精品久久久久久久| 一区二区高清视频在线观看| 日本视频一区二区| 99久久综合国产精品| 日韩欧美一区二区久久婷婷| 18欧美亚洲精品| 国产中文一区二区三区| 欧美三级韩国三级日本一级| 中文字幕不卡一区| 久久99国内精品| 欧美午夜宅男影院| 中文字幕av不卡| 久久国内精品自在自线400部| 欧美在线视频不卡| 中文字幕欧美三区| 极品少妇xxxx偷拍精品少妇| 欧美午夜精品电影| 国产精品福利一区二区三区| 精品一区二区精品| 91麻豆精品国产无毒不卡在线观看 | 一区二区三区欧美| 成人午夜在线免费| 2023国产精品| 日本欧美大码aⅴ在线播放| 91啪亚洲精品| 中文字幕一区二区三区在线观看 | 日韩一区二区在线观看视频 | 国产精品国产三级国产有无不卡| 美国三级日本三级久久99| 精品视频在线视频| 有坂深雪av一区二区精品| 91啪在线观看| 自拍偷拍国产精品| av在线免费不卡| 国产精品久久久久久户外露出| 丰满少妇在线播放bd日韩电影| 久久久噜噜噜久久人人看| 久久91精品久久久久久秒播| 欧美一级艳片视频免费观看| 奇米精品一区二区三区四区| 欧美一区二区在线免费观看| 日本中文在线一区|