📄 debug.cod
字号:
; Listing generated by Microsoft (R) Optimizing Compiler Version 13.10.4237
TTL C:\WINCE500\PLATFORM\Ep93xx\Src\Kernel\Hal\Common\.\debug.c
CODE32
00000 AREA |.drectve|, DRECTVE
DCB "-defaultlib:coredll.lib "
DCB "-defaultlib:corelibc.lib "
00000 AREA |.data|, DATA
COMMON |giSerialInitialized|, 0x4
00000 AREA |.rdata|, DATA, READONLY
|EdbgVendorIds| DCW 0x0
DCW 0x0
DCD 0x4033
DCB 0x1
DCB 0x0
DCB "AD", 0x0
% 3
DCW 0x1050
DCW 0x940
DCD 0x4005
DCB 0x1
DCB 0x0
DCB "LS", 0x0
% 3
DCW 0x1050
DCW 0x940
DCD 0x2078
DCB 0x1
DCB 0x0
DCB "LS", 0x0
% 3
DCW 0x10ec
DCW 0x8029
DCD 0xc0f0
DCB 0x1
DCB 0x0
DCB "KS", 0x0
% 3
DCW 0x10ec
DCW 0x8129
DCD 0x0
DCB 0x4
DCB 0x0
DCB "RT", 0x0
% 3
DCW 0x10ec
DCW 0x8139
DCD 0x900b
DCB 0x4
DCB 0x0
DCB "RT", 0x0
% 3
DCW 0x10ec
DCW 0x8139
DCD 0xd0c9
DCB 0x4
DCB 0x0
DCB "RT", 0x0
% 3
DCW 0x10ec
DCW 0x8139
DCD 0xe04c
DCB 0x4
DCB 0x0
DCB "RT", 0x0
% 3
DCW 0x1186
DCW 0x1300
DCD 0x50ba
DCB 0x4
DCB 0x0
DCB "DL", 0x0
% 3
DCW 0x100b
DCW 0x20
DCD 0xa0cc
DCB 0x5
DCB 0x0
DCB "NG", 0x0
% 3
DCW 0x10b7
DCW 0x9050
DCD 0x6008
DCB 0x6
DCB 0x0
DCB "3C", 0x0
% 3
DCW 0x10b7
DCW 0x9200
DCD 0x476
DCB 0x6
DCB 0x0
DCB "3C", 0x0
% 3
DCW 0x8086
DCW 0x1039
DCD 0x4033
DCB 0x7
DCB 0x1
DCB "IN", 0x0
% 3
DCW 0x8086
DCW 0x103a
DCD 0x4033
DCB 0x7
DCB 0x1
DCB "IN", 0x0
% 3
DCW 0x8086
DCW 0x1051
DCD 0x4033
DCB 0x7
DCB 0x1
DCB "IN", 0x0
% 3
DCW 0x8086
DCW 0x1229
DCD 0x4033
DCB 0x7
DCB 0x1
DCB "IN", 0x0
% 3
DCW 0x8086
DCW 0x2449
DCD 0x4033
DCB 0x7
DCB 0x1
DCB "IN", 0x0
% 3
EXPORT |OEMWriteDebugLED|
; File c:\wince500\platform\ep93xx\src\kernel\hal\common\debug.c
00000 AREA |.text| { |OEMWriteDebugLED| }, CODE, ARM, SELECTION=1 ; comdat noduplicate
00000 AREA |.pdata$$OEMWriteDebugLED|, PDATA, SELECTION=5, ASSOC=|.text| { |OEMWriteDebugLED| } ; comdat associative
|$T15561| DCD |$L15560|
DCD 0x40000900
; Function compile flags: /Ogsy
00000 AREA |.text| { |OEMWriteDebugLED| }, CODE, ARM, SELECTION=1 ; comdat noduplicate
00000 |OEMWriteDebugLED| PROC
; 118 : {
00000 |$L15560|
00000 |$M15558|
00000 e3500000 cmp r0, #0
; 119 : if (wIndex == 0)
; 120 : {
; 121 :
; 122 : *GPIO_PEDR = (dwPattern & (GPIOE_RLED | GPIOE_GLED)) |
; 123 : (*GPIO_PEDR & ~(GPIOE_RLED | GPIOE_GLED)) ;
00004 059f0014 ldreq r0, [pc, #0x14]
00008 02012003 andeq r2, r1, #3
0000c 05903000 ldreq r3, [r0]
00010 03c33003 biceq r3, r3, #3
00014 01833002 orreq r3, r3, r2
00018 05803000 streq r3, [r0]
; 124 : }
; 125 : }
0001c e12fff1e bx lr
00020 |$L15563|
00020 b0840020 DCD 0xb0840020
00024 |$M15559|
ENDP ; |OEMWriteDebugLED|
EXPORT |UART1_Stop|
00000 AREA |.text| { |UART1_Stop| }, CODE, ARM, SELECTION=1 ; comdat noduplicate
00000 AREA |.pdata$$UART1_Stop|, PDATA, SELECTION=5, ASSOC=|.text| { |UART1_Stop| } ; comdat associative
|$T15569| DCD |$L15568|
DCD 0x40001301
; Function compile flags: /Ogsy
00000 AREA |.text| { |UART1_Stop| }, CODE, ARM, SELECTION=1 ; comdat noduplicate
00000 |UART1_Stop| PROC
; 313 : {
00000 |$L15568|
00000 e52de004 str lr, [sp, #-4]!
00004 |$M15566|
; 314 :
; 315 : //
; 316 : // Disable this uart
; 317 : //
; 318 : *UART1_CR = 0;
00004 e59f303c ldr r3, [pc, #0x3C]
; 319 :
; 320 : *UART1_LCR_H = 0;
00008 e59f1034 ldr r1, [pc, #0x34]
; 321 : *UART1_LCR_M = 0;
0000c e59f002c ldr r0, [pc, #0x2C]
00010 e3a0e000 mov lr, #0
; 322 : *UART1_LCR_L = 0;
00014 e59f2020 ldr r2, [pc, #0x20]
00018 e583e000 str lr, [r3]
; 323 :
; 324 : //
; 325 : // Clear status bits.
; 326 : //
; 327 : *UART1_SR = 0;
0001c e59f3014 ldr r3, [pc, #0x14]
00020 e581e000 str lr, [r1]
00024 e580e000 str lr, [r0]
00028 e582e000 str lr, [r2]
0002c e583e000 str lr, [r3]
; 328 : return;
; 329 : }
00030 e49de004 ldr lr, [sp], #4
00034 e12fff1e bx lr
00038 |$L15571|
00038 b08c0004 DCD 0xb08c0004
0003c b08c0010 DCD 0xb08c0010
00040 b08c000c DCD 0xb08c000c
00044 b08c0008 DCD 0xb08c0008
00048 b08c0014 DCD 0xb08c0014
0004c |$M15567|
ENDP ; |UART1_Stop|
EXPORT |UART2_Stop|
00000 AREA |.text| { |UART2_Stop| }, CODE, ARM, SELECTION=1 ; comdat noduplicate
00000 AREA |.pdata$$UART2_Stop|, PDATA, SELECTION=5, ASSOC=|.text| { |UART2_Stop| } ; comdat associative
|$T15577| DCD |$L15576|
DCD 0x40001301
; Function compile flags: /Ogsy
00000 AREA |.text| { |UART2_Stop| }, CODE, ARM, SELECTION=1 ; comdat noduplicate
00000 |UART2_Stop| PROC
; 337 : {
00000 |$L15576|
00000 e52de004 str lr, [sp, #-4]!
00004 |$M15574|
; 338 :
; 339 : //
; 340 : // Disable this uart
; 341 : //
; 342 : *UART2_CR = 0;
00004 e59f303c ldr r3, [pc, #0x3C]
; 343 :
; 344 : *UART2_LCR_H = 0;
00008 e59f1034 ldr r1, [pc, #0x34]
; 345 : *UART2_LCR_M = 0;
0000c e59f002c ldr r0, [pc, #0x2C]
00010 e3a0e000 mov lr, #0
; 346 : *UART2_LCR_L = 0;
00014 e59f2020 ldr r2, [pc, #0x20]
00018 e583e000 str lr, [r3]
; 347 :
; 348 : //
; 349 : // Clear status bits.
; 350 : //
; 351 : *UART2_SR = 0;
0001c e59f3014 ldr r3, [pc, #0x14]
00020 e581e000 str lr, [r1]
00024 e580e000 str lr, [r0]
00028 e582e000 str lr, [r2]
0002c e583e000 str lr, [r3]
; 352 : return;
; 353 : }
00030 e49de004 ldr lr, [sp], #4
00034 e12fff1e bx lr
00038 |$L15579|
00038 b08d0004 DCD 0xb08d0004
0003c b08d0010 DCD 0xb08d0010
00040 b08d000c DCD 0xb08d000c
00044 b08d0008 DCD 0xb08d0008
00048 b08d0014 DCD 0xb08d0014
0004c |$M15575|
ENDP ; |UART2_Stop|
EXPORT |UART3_Stop|
00000 AREA |.text| { |UART3_Stop| }, CODE, ARM, SELECTION=1 ; comdat noduplicate
00000 AREA |.pdata$$UART3_Stop|, PDATA, SELECTION=5, ASSOC=|.text| { |UART3_Stop| } ; comdat associative
|$T15585| DCD |$L15584|
DCD 0x40001301
; Function compile flags: /Ogsy
00000 AREA |.text| { |UART3_Stop| }, CODE, ARM, SELECTION=1 ; comdat noduplicate
00000 |UART3_Stop| PROC
; 362 : {
00000 |$L15584|
00000 e52de004 str lr, [sp, #-4]!
00004 |$M15582|
; 363 : //
; 364 : // disable this uart
; 365 : //
; 366 : *UART3_CR = 0;
00004 e59f303c ldr r3, [pc, #0x3C]
; 367 :
; 368 : *UART3_LCR_H = 0;
00008 e59f1034 ldr r1, [pc, #0x34]
; 369 : *UART3_LCR_M = 0;
0000c e59f002c ldr r0, [pc, #0x2C]
00010 e3a0e000 mov lr, #0
; 370 : *UART3_LCR_L = 0;
00014 e59f2020 ldr r2, [pc, #0x20]
00018 e583e000 str lr, [r3]
; 371 :
; 372 :
; 373 : // Clear status bits.
; 374 : *UART3_SR = 0;
0001c e59f3014 ldr r3, [pc, #0x14]
00020 e581e000 str lr, [r1]
00024 e580e000 str lr, [r0]
00028 e582e000 str lr, [r2]
0002c e583e000 str lr, [r3]
; 375 :
; 376 : return;
; 377 : }
00030 e49de004 ldr lr, [sp], #4
00034 e12fff1e bx lr
00038 |$L15587|
00038 b08e0004 DCD 0xb08e0004
0003c b08e0010 DCD 0xb08e0010
00040 b08e000c DCD 0xb08e000c
00044 b08e0008 DCD 0xb08e0008
00048 b08e0014 DCD 0xb08e0014
0004c |$M15583|
ENDP ; |UART3_Stop|
EXPORT |UART1_Write|
00000 AREA |.text| { |UART1_Write| }, CODE, ARM, SELECTION=1 ; comdat noduplicate
00000 AREA |.pdata$$UART1_Write|, PDATA, SELECTION=5, ASSOC=|.text| { |UART1_Write| } ; comdat associative
|$T15595| DCD |$L15594|
DCD 0x40000a00
; Function compile flags: /Ogsy
00000 AREA |.text| { |UART1_Write| }, CODE, ARM, SELECTION=1 ; comdat noduplicate
00000 |UART1_Write| PROC
; 386 : {
00000 |$L15594|
00000 |$M15592|
00000 e59f201c ldr r2, [pc, #0x1C]
00004 |$L15409|
; 387 : //
; 388 : // txfe see if the tx fifo is empty
; 389 : //
; 390 : while ((*UART1_FR & FR_TXFE) != FR_TXFE)
00004 e5923000 ldr r3, [r2]
00008 e2033080 and r3, r3, #0x80
0000c e3530080 cmp r3, #0x80
00010 1afffffb bne |$L15409|
; 391 : /* - do nothing until fifo is empty; ie character is gone */
; 392 : ;
; 393 :
; 394 : *UART1_DR = (int)ch;
00014 e3a0320b mov r3, #0xB, 4
00018 e3833723 orr r3, r3, #0x23, 14
0001c e5830000 str r0, [r3]
; 395 : }
00020 e12fff1e bx lr
00024 |$L15597|
00024 b08c0018 DCD 0xb08c0018
00028 |$M15593|
ENDP ; |UART1_Write|
EXPORT |UART2_Write|
00000 AREA |.text| { |UART2_Write| }, CODE, ARM, SELECTION=1 ; comdat noduplicate
00000 AREA |.pdata$$UART2_Write|, PDATA, SELECTION=5, ASSOC=|.text| { |UART2_Write| } ; comdat associative
|$T15605| DCD |$L15604|
DCD 0x40000a00
; Function compile flags: /Ogsy
00000 AREA |.text| { |UART2_Write| }, CODE, ARM, SELECTION=1 ; comdat noduplicate
00000 |UART2_Write| PROC
; 402 : {
00000 |$L15604|
00000 |$M15602|
00000 e59f201c ldr r2, [pc, #0x1C]
00004 |$L15418|
; 403 : //
; 404 : // txfe see if the tx fifo is empty
; 405 : //
; 406 : while ((*UART2_FR & FR_TXFE) != FR_TXFE)
00004 e5923000 ldr r3, [r2]
00008 e2033080 and r3, r3, #0x80
0000c e3530080 cmp r3, #0x80
00010 1afffffb bne |$L15418|
; 407 : /* - do nothing until fifo is empty; ie character is gone */
; 408 : ;
; 409 :
; 410 : *UART2_DR = (int)ch;
00014 e3a0320b mov r3, #0xB, 4
00018 e383388d orr r3, r3, #0x8D, 16
0001c e5830000 str r0, [r3]
; 411 : }
00020 e12fff1e bx lr
00024 |$L15607|
00024 b08d0018 DCD 0xb08d0018
00028 |$M15603|
ENDP ; |UART2_Write|
EXPORT |UART3_Write|
00000 AREA |.text| { |UART3_Write| }, CODE, ARM, SELECTION=1 ; comdat noduplicate
00000 AREA |.pdata$$UART3_Write|, PDATA, SELECTION=5, ASSOC=|.text| { |UART3_Write| } ; comdat associative
|$T15615| DCD |$L15614|
DCD 0x40000a00
; Function compile flags: /Ogsy
00000 AREA |.text| { |UART3_Write| }, CODE, ARM, SELECTION=1 ; comdat noduplicate
00000 |UART3_Write| PROC
; 419 : {
00000 |$L15614|
00000 |$M15612|
00000 e59f201c ldr r2, [pc, #0x1C]
00004 |$L15427|
; 420 : //
; 421 : // txfe see if the tx fifo is empty
; 422 : //
; 423 : while ((*UART3_FR & FR_TXFE) != FR_TXFE)
00004 e5923000 ldr r3, [r2]
00008 e2033080 and r3, r3, #0x80
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -