?? l2.lst
字號:
001:000396 000000A7 80700001 =00000001 add r1,#1 ; move to next word001:000397 000000A8 F4050000 =00000000 cabaccess w0, #cabwrite 001:000398 000000A9 A4000000 nop 001:000399 000000AA E0000020 =00000020 WAIT COP_CAB 001:000401 000000AB B6745555 =00005555 ldru w8, #0x5555 ; r8 = 0x5555, r9 = 0001:000402 000000AC 76744401 str cabdata, w8 001:000403 000000AD 80700001 =00000001 add r1,#1 ; move to next word001:000404 000000AE F4050000 =00000000 cabaccess w0, #cabwrite 001:000405 000000AF A4000000 nop 001:000406 000000B0 E0000020 =00000020 WAIT COP_CAB 001:000409 000000B1 B6745000 =00005000 ldru w8, #0x5000 ; r8 = 0x5000, r9 = 0001:000410 000000B2 76744401 str cabdata, w8 001:000411 000000B3 B170A000 =0000A000 ldr r0, #Up_TP_DSU_Reg_Hi_Addr001:000412 000000B4 B0700180 =00000180 ldr r1, #Up_TP_DSU_Reg_Lo_Addr001:000413 000000B5 F4050000 =00000000 cabaccess w0, #cabwrite 001:000414 000000B6 A4000000 nop 001:000415 000000B7 E0000020 =00000020 WAIT COP_CAB ;************************************************************** ; Set up dispatcher start points ;************************************************************** ;************************************************************** ; Setup the Port Dispatch ; These are the entry points for Data Traffic when not using HW ; classifier ; port config for 40 inbound port - code entry 0x1000h ; r3 and r0 are set up here and used throughout the dispatcher cfg ;**************************************************************001:000428 000000B8 B1710000 =00000000 ldr r2, #dispatch_port0_cfg_lo_addr ; init to port 0001:000429 000000B9 B0710003 =00000003 ldr r3, #0x0003 ; addr offset, we need to access the 4th ; word of each entry in the cfg table ; all entries are being written at 4th word001:000432 000000BA B1740004 =00000004 ldr r8, #0x0004 ; 21-6 = Code entry point001:000433 000000BB B0740020 =00000020 ldr r9, #0x0020 ; 3-2 start fish,1-0 = number of fish001:000434 000000BC 76744401 str cabdata, w817 Nov 2005 15:42:05 l2.asm Page 8File:Line Address OpCode Ref. Value Source Code v3.2.0========== ======== ======== ========== = ================================================================================001:000435 000000BD B1702440 =00002440 ldr r0, #dispatch_cfg_hi_addr =000000BE dispinit EQU $001:000438 000000BE C0701E00 ldr r1, r2 ; start with port 0001:000439 000000BF 80700704 =00000004 sll r1, #4 ; shift the port number over 4 bits001:000440 000000C0 C0701604 or r1, r3 ; or in other word selects001:000441 000000C1 F4050000 =00000000 cabaccess w0, #cabwrite001:000442 000000C2 81710001 =00000001 add r2, #1 ; inc to next port001:000443 000000C3 A1710028 =00000028 cmp r2, #0x0028 ; compare to port 40001:000444 000000C4 1A10FFF9 =000000BE bne dispinit ; not equal repeat ;************************************************************** ; Dn Unicast Frame Dispatch code entry 0x1800 ;**************************************************************001:000449 000000C5 B0700300 =00000300 ldr r1, #dispatch_DN_F_UC_lo_addr ; Address the Dn enet Ucframe (pct=48), LSW of Fish ; 001:000450 000000C6 C0701604 or r1, r3 ; or in other word selects001:000451 000000C7 B1740006 =00000006 ldr r8, #0x0006 ; Code_entry = 0x1800h, HWA disabled, 001:000452 000000C8 B0740022 =00000022 ldr r9, #0x0022 ; CU Label Gen disabled ==> Need ENQUP NOLABEL 001:000453 000000C9 76744401 str cabdata, w8 001:000454 000000CA F4050000 =00000000 cabaccess w0, #cabwrite 001:000455 000000CB A4000000 nop 001:000456 000000CC E0000020 =00000020 wait COP_CAB ;************************************************************** ; Dn Multicast Frame Dispatch code entry 0x1c00 ;**************************************************************001:000461 000000CD B0700310 =00000310 ldr r1, #dispatch_DN_F_MC_lo_addr ; Address the Dn enet Mcframe (pct=49), LSW of Fish 001:000462 000000CE C0701604 or r1, r3 ; or in other word selects001:000463 000000CF B1740007 =00000007 ldr r8, #0x0007 ; Code_entry = 0x1C00h, HWA disabled, 001:000464 000000D0 B0740022 =00000022 ldr r9, #0x0022 ; CU Label Gen disabled ==> Need ENQUP NOLABEL 001:000465 000000D1 76744401 str cabdata, w8 001:000466 000000D2 F4050000 =00000000 cabaccess w0, #cabwrite 001:000467 000000D3 A4000000 nop 001:000468 000000D4 E0000020 =00000020 wait COP_CAB ;************************************************************** ; For up GCH, entry point of 0x0400h ;**************************************************************001:000473 000000D5 B07002A0 =000002A0 ldr r1, #dispatch_UP_GCH_lo_addr ; Address the UP GCH port, LSW of Fish 001:000474 000000D6 C0701604 or r1, r3 ; or in other word selects001:000475 000000D7 B1740001 =00000001 ldr r8, #0x0001 ; Code_entry = 0x0400h, LabelGen enabled, 001:000476 000000D8 B0740020 =00000020 ldr r9, #0x0020 ; CU Label Gen enabled 001:000477 000000D9 76744401 str cabdata, w8 001:000478 000000DA F4050000 =00000000 cabaccess w0, #cabwrite 001:000479 000000DB A4000000 nop 001:000480 000000DC E0000020 =00000020 wait COP_CAB ;************************************************************** ; UP Wrap Guided entry = 0x6a0 ;**************************************************************001:000485 000000DD B07002B0 =000002B0 ldr r1, #dispatch_UP_Wrap_G_lo_addr ; Address the UP Wrap Guided port (43 = 31x), LSW of Fish 001:000486 000000DE C0701604 or r1, r3 ; or in other word selects001:000487 000000DF B1740001 =00000001 ldr r8, #0x0001 ; Code_entry = 0x06a0h, HWA disabled,LabelGen enabled 001:000488 000000E0 B074A800 =0000A800 ldr r9, #0xA800 ; CU Label Gen disabled ==> Need ENQUP NOLABEL 001:000489 000000E1 76744401 str cabdata, w8 001:000490 000000E2 F4050000 =00000000 cabaccess w0, #cabwrite 001:000491 000000E3 A4000000 nop 001:000492 000000E4 E0000020 =00000020 wait COP_CAB ;************************************************************** ; Dn GCH entry = 0x80017 Nov 2005 15:42:05 l2.asm Page 9File:Line Address OpCode Ref. Value Source Code v3.2.0========== ======== ======== ========== = ================================================================================ ;**************************************************************001:000498 000000E5 B07002E0 =000002E0 ldr r1, #dispatch_DN_GCH_lo_addr ; Address the DN Guided port(pct=46), LSW of Fish 001:000499 000000E6 C0701604 or r1, r3 ; or in other word selects001:000500 000000E7 B1740002 =00000002 ldr r8, #0x0002 ; Code_entry = 0x0800h, HWA disabled, 001:000501 000000E8 B0740022 =00000022 ldr r9, #0x0022 ; CU Label Gen disabled ==> Need ENQDN NOLABEL 001:000502 000000E9 76744401 str cabdata, w8 001:000503 000000EA F4050000 =00000000 cabaccess w0, #cabwrite 001:000504 000000EB A4000000 nop 001:000505 000000EC E0000020 =00000020 wait COP_CAB ;************************************************************** ; Wrap Data Port entry = 0x6c0 ;**************************************************************001:000511 000000ED B0700280 =00000280 ldr r1, #dispatch_UP_Wrap_D_lo_addr001:000512 000000EE C0701604 or r1, r3 ; or in other word selects001:000513 000000EF B1740001 =00000001 ldr r8, #0x0001 001:000514 000000F0 B074B000 =0000B000 ldr r9, #0xB000 001:000515 000000F1 76744401 str cabdata, w8 001:000516 000000F2 F4050000 =00000000 cabaccess w0, #cabwrite 001:000517 000000F3 A4000000 nop 001:000518 000000F4 E0000020 =00000020 wait COP_CAB ;************************************************************** ; Dn Abort Port entry = 0x660 ; port 54 and 55 ;**************************************************************001:000524 000000F5 B0700360 =00000360 ldr r1, #dispatch_Dn_Abort_lo_addr 001:000525 000000F6 C0701604 or r1, r3 ; or in other word selects001:000526 000000F7 B1740001 =00000001 ldr r8, #0x0001 001:000527 000000F8 B0749800 =00009800 ldr r9, #0x9800 001:000528 000000F9 76744401 str cabdata, w8
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -