⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 nand.lst

📁 au1200下的boot代码
💻 LST
📖 第 1 页 / 共 2 页
字号:
GAS LISTING /tmp/ccrmphsC.s 			page 1   1              		.section .mdebug.abi32   2              		.previous   3              		.section	.debug_abbrev,"",@progbits   4              	$Ldebug_abbrev0:   5              		.section	.debug_info,"",@progbits   6              	$Ldebug_info0:   7              		.section	.debug_line,"",@progbits   8              	$Ldebug_line0:   9 0000 EA000000 		.text   9      0200CC00    9      00000101    9      FB0E0A00    9      01010101   10              	$Ltext0:  11              		.local	nand_address  12              		.comm	nand_address,4,4  13              		.local	nand_device  14              		.comm	nand_device,4,4  15              		.align	2  16              		.globl	nandClose  17              		.ent	nandClose  18              		.type	nandClose, @function  19              	nandClose:  20              	$LFB2:  21              		.file 1 "/mnt/hgfs/boot/booter/source/applications/booter/nand.c"   1:/mnt/hgfs/boot/booter/source/applications/booter/nand.c **** #include "example.h"   2:/mnt/hgfs/boot/booter/source/applications/booter/nand.c **** #include "nand.h"   3:/mnt/hgfs/boot/booter/source/applications/booter/nand.c ****    4:/mnt/hgfs/boot/booter/source/applications/booter/nand.c **** static NandDevice* nand_device = 0;   5:/mnt/hgfs/boot/booter/source/applications/booter/nand.c **** static int nand_address = 0;   6:/mnt/hgfs/boot/booter/source/applications/booter/nand.c ****    7:/mnt/hgfs/boot/booter/source/applications/booter/nand.c **** int nandClose()   8:/mnt/hgfs/boot/booter/source/applications/booter/nand.c **** {  22              		.loc 1 8 0  23              		.frame	$sp,0,$31		# vars= 0, regs= 0/0, args= 0, gp= 0  24              		.mask	0x00000000,0  25              		.fmask	0x00000000,0  26              		.set	noreorder  27              		.set	nomacro  28              		   9:/mnt/hgfs/boot/booter/source/applications/booter/nand.c **** 	DPRINTF("%s\n", __FUNCTION__);  10:/mnt/hgfs/boot/booter/source/applications/booter/nand.c **** 	return 1;  11:/mnt/hgfs/boot/booter/source/applications/booter/nand.c **** }  29              		.loc 1 11 0  30 0000 0800E003 		j	$31  31 0004 01000224 		li	$2,1			# 0x1  32              	  33              		.set	macro  34              		.set	reorder  35              	$LFE2:  36              		.end	nandClose  37              		.align	2  38              		.globl	nandOpen  39              		.ent	nandOpen  40              		.type	nandOpen, @function  41              	nandOpen:  42              	$LFB3:GAS LISTING /tmp/ccrmphsC.s 			page 2  12:/mnt/hgfs/boot/booter/source/applications/booter/nand.c ****   13:/mnt/hgfs/boot/booter/source/applications/booter/nand.c **** int nandOpen(const char* address)  14:/mnt/hgfs/boot/booter/source/applications/booter/nand.c **** {  43              		.loc 1 14 0  44              		.frame	$sp,24,$31		# vars= 0, regs= 2/0, args= 16, gp= 0  45              		.mask	0x80010000,-4  46              		.fmask	0x00000000,0  47              		.set	noreorder  48              		.set	nomacro  49              		  50 0008 E8FFBD27 		addiu	$sp,$sp,-24  51              	$LCFI0:  52 000c 1400BFAF 		sw	$31,20($sp)  53              	$LCFI1:  54 0010 1000B0AF 		sw	$16,16($sp)  55              	$LCFI2:  56              		.loc 1 14 0  15:/mnt/hgfs/boot/booter/source/applications/booter/nand.c **** 	int result = 0;  16:/mnt/hgfs/boot/booter/source/applications/booter/nand.c **** 	DPRINTF("%s\n", __FUNCTION__);  17:/mnt/hgfs/boot/booter/source/applications/booter/nand.c ****   18:/mnt/hgfs/boot/booter/source/applications/booter/nand.c **** 	if(nand_device = nand_initialize())  57              		.loc 1 18 0  58 0014 0000000C 		jal	nand_initialize  59 0018 21808000 		move	$16,$4  60              	  19:/mnt/hgfs/boot/booter/source/applications/booter/nand.c **** 		result = 1;  20:/mnt/hgfs/boot/booter/source/applications/booter/nand.c ****   21:/mnt/hgfs/boot/booter/source/applications/booter/nand.c ****   nand_address = (int)address;  61              		.loc 1 21 0  62 001c 0000033C 		lui	$3,%hi(nand_address)  63 0020 000070AC 		sw	$16,%lo(nand_address)($3)  22:/mnt/hgfs/boot/booter/source/applications/booter/nand.c **** 	return result;  23:/mnt/hgfs/boot/booter/source/applications/booter/nand.c **** }  64              		.loc 1 23 0  65 0024 1400BF8F 		lw	$31,20($sp)  66 0028 1000B08F 		lw	$16,16($sp)  67              		.loc 1 18 0  68 002c 0000043C 		lui	$4,%hi(nand_device)  69 0030 040082AC 		sw	$2,%lo(nand_device)($4)  70              		.loc 1 23 0  71 0034 1800BD27 		addiu	$sp,$sp,24  72 0038 0800E003 		j	$31  73 003c 2B100200 		sltu	$2,$0,$2  74              	  75              		.set	macro  76              		.set	reorder  77              	$LFE3:  78              		.end	nandOpen  79              		.align	2  80              		.globl	nandRead  81              		.ent	nandRead  82              		.type	nandRead, @function  83              	nandRead:  84              	$LFB4:  24:/mnt/hgfs/boot/booter/source/applications/booter/nand.c ****   25:/mnt/hgfs/boot/booter/source/applications/booter/nand.c **** int nandRead(void* buffer, int size)  26:/mnt/hgfs/boot/booter/source/applications/booter/nand.c **** {GAS LISTING /tmp/ccrmphsC.s 			page 3  85              		.loc 1 26 0  86              		.frame	$sp,0,$31		# vars= 0, regs= 0/0, args= 0, gp= 0  87              		.mask	0x00000000,0  88              		.fmask	0x00000000,0  89              		.set	noreorder  90              		.set	nomacro  91              		  27:/mnt/hgfs/boot/booter/source/applications/booter/nand.c **** /*  28:/mnt/hgfs/boot/booter/source/applications/booter/nand.c ****     int i;  29:/mnt/hgfs/boot/booter/source/applications/booter/nand.c ****   30:/mnt/hgfs/boot/booter/source/applications/booter/nand.c ****     if (sect >= nand_device->page_count)  31:/mnt/hgfs/boot/booter/source/applications/booter/nand.c ****         return 0;  32:/mnt/hgfs/boot/booter/source/applications/booter/nand.c ****   33:/mnt/hgfs/boot/booter/source/applications/booter/nand.c ****     for (i = 0; i < n; i++)  34:/mnt/hgfs/boot/booter/source/applications/booter/nand.c ****         nand_read((char *)buf + i * 512, 512, sect + i, 0);  35:/mnt/hgfs/boot/booter/source/applications/booter/nand.c **** */  36:/mnt/hgfs/boot/booter/source/applications/booter/nand.c **** 	return size;  37:/mnt/hgfs/boot/booter/source/applications/booter/nand.c **** }  92              		.loc 1 37 0  93 0040 0800E003 		j	$31  94 0044 2110A000 		move	$2,$5  95              	  96              		.set	macro  97              		.set	reorder  98              	$LFE4:  99              		.end	nandRead 100              		.section	.debug_frame,"",@progbits 101              	$Lframe0: 102 0000 0C000000 		.4byte	$LECIE0-$LSCIE0 103              	$LSCIE0: 104 0004 FFFFFFFF 		.4byte	0xffffffff 105 0008 01       		.byte	0x1 106 0009 00       		.ascii	"\000" 107 000a 01       		.uleb128 0x1 108 000b 04       		.sleb128 4 109 000c 1F       		.byte	0x1f 110 000d 0C       		.byte	0xc 111 000e 1D       		.uleb128 0x1d 112 000f 00       		.uleb128 0x0 113              		.align	2 114              	$LECIE0: 115              	$LSFDE0: 116 0010 0C000000 		.4byte	$LEFDE0-$LASFDE0 117              	$LASFDE0: 118 0014 00000000 		.4byte	$Lframe0 119 0018 00000000 		.4byte	$LFB2 120 001c 08000000 		.4byte	$LFE2-$LFB2 121              		.align	2 122              	$LEFDE0: 123              	$LSFDE2: 124 0020 18000000 		.4byte	$LEFDE2-$LASFDE2 125              	$LASFDE2: 126 0024 00000000 		.4byte	$Lframe0 127 0028 08000000 		.4byte	$LFB3 128 002c 38000000 		.4byte	$LFE3-$LFB3 129 0030 44       		.byte	0x4 130              		.4byte	$LCFI0-$LFB3GAS LISTING /tmp/ccrmphsC.s 			page 4 131 0031 0E       		.byte	0xe 132 0032 18       		.uleb128 0x18 133 0033 48       		.byte	0x4 134              		.4byte	$LCFI2-$LCFI0 135 0034 11       		.byte	0x11 136 0035 10       		.uleb128 0x10 137 0036 7E       		.sleb128 -2 138 0037 11       		.byte	0x11 139 0038 1F       		.uleb128 0x1f 140 0039 7F       		.sleb128 -1 141 003a 0000     		.align	2 142              	$LEFDE2: 143              	$LSFDE4: 144 003c 0C000000 		.4byte	$LEFDE4-$LASFDE4 145              	$LASFDE4: 146 0040 00000000 		.4byte	$Lframe0 147 0044 40000000 		.4byte	$LFB4 148 0048 08000000 		.4byte	$LFE4-$LFB4 149              		.align	2 150              	$LEFDE4: 151              		.align	0 152              		.file 2 "/mnt/hgfs/boot/booter/platforms/DB1200/platform.h" 153              		.file 3 "/mnt/hgfs/boot/booter/source/applications/booter/../../../include/nand.h" 154              		.text 155              	$Letext0: 156 0048 00000000 		.section	.debug_info 156      00000000  157 0000 7E010000 		.4byte	0x17e 158 0004 0200     		.2byte	0x2 159 0006 00000000 		.4byte	$Ldebug_abbrev0 160 000a 04       		.byte	0x4 161 000b 01       		.uleb128 0x1 162 000c 00000000 		.4byte	$Ldebug_line0 163 0010 48000000 		.4byte	$Letext0 164 0014 00000000 		.4byte	$Ltext0 165 0018 C3000000 		.4byte	$LASF20 166 001c 01       		.byte	0x1 167 001d 4F000000 		.4byte	$LASF21 168 0021 02       		.uleb128 0x2 169 0022 05010000 		.4byte	$LASF0 170 0026 01       		.byte	0x1 171 0027 06       		.byte	0x6 172 0028 02       		.uleb128 0x2 173 0029 DB000000 		.4byte	$LASF1 174 002d 02       		.byte	0x2 175 002e 05       		.byte	0x5 176 002f 03       		.uleb128 0x3 177 0030 696E7400 		.ascii	"int\000" 178 0034 04       		.byte	0x4 179 0035 05       		.byte	0x5 180 0036 02       		.uleb128 0x2 181 0037 F7000000 		.4byte	$LASF2 182 003b 01       		.byte	0x1 183 003c 08       		.byte	0x8 184 003d 02       		.uleb128 0x2 185 003e 1C010000 		.4byte	$LASF3 186 0042 02       		.byte	0x2GAS LISTING /tmp/ccrmphsC.s 			page 5 187 0043 07       		.byte	0x7 188 0044 02       		.uleb128 0x2 189 0045 10000000 		.4byte	$LASF4 190 0049 04       		.byte	0x4 191 004a 07       		.byte	0x7 192 004b 02       		.uleb128 0x2 193 004c 38000000 		.4byte	$LASF5 194 0050 08       		.byte	0x8 195 0051 07       		.byte	0x7 196 0052 02       		.uleb128 0x2 197 0053 10000000 		.4byte	$LASF4 198 0057 04       		.byte	0x4 199 0058 07       		.byte	0x7 200 0059 04       		.uleb128 0x4 201 005a 04       		.byte	0x4 202 005b 02       		.uleb128 0x2 203 005c B1000000 		.4byte	$LASF6 204 0060 04       		.byte	0x4 205 0061 07       		.byte	0x7 206 0062 05       		.uleb128 0x5 207 0063 95000000 		.4byte	0x95 208 0067 0C       		.byte	0xc 209 0068 03       		.byte	0x3 210 0069 0C       		.byte	0xc 211 006a 06       		.uleb128 0x6 212 006b 00000000 		.4byte	$LASF7 213 006f 03       		.byte	0x3 214 0070 09       		.byte	0x9 215 0071 2F000000 		.4byte	0x2f 216 0075 02       		.byte	0x2 217 0076 10       		.byte	0x10 218 0077 00       		.uleb128 0x0 219 0078 06       		.uleb128 0x6 220 0079 2F010000 		.4byte	$LASF8 221 007d 03       		.byte	0x3 222 007e 0A       		.byte	0xa 223 007f 2F000000 		.4byte	0x2f 224 0083 02       		.byte	0x2 225 0084 10       		.byte	0x10 226 0085 04       		.uleb128 0x4 227 0086 06       		.uleb128 0x6 228 0087 11010000 		.4byte	$LASF9 229 008b 03       		.byte	0x3 230 008c 0B       		.byte	0xb 231 008d 2F000000 		.4byte	0x2f 232 0091 02       		.byte	0x2 233 0092 10       		.byte	0x10 234 0093 08       		.uleb128 0x8 235 0094 00       		.byte	0x0 236 0095 07       		.uleb128 0x7 237 0096 2D000000 		.4byte	$LASF22 238 009a 03       		.byte	0x3 239 009b 0C       		.byte	0xc 240 009c 62000000 		.4byte	0x62 241 00a0 08       		.uleb128 0x8 242 00a1 01       		.byte	0x1 243 00a2 E5000000 		.4byte	$LASF23GAS LISTING /tmp/ccrmphsC.s 			page 6 244 00a6 01       		.byte	0x1 245 00a7 08       		.byte	0x8 246 00a8 2F000000 		.4byte	0x2f 247 00ac 00000000 		.4byte	$LFB2 248 00b0 08000000 		.4byte	$LFE2 249 00b4 10000000 		.4byte	$LSFDE0 250 00b8 01       		.byte	0x1 251 00b9 6D       		.byte	0x6d 252 00ba 09       		.uleb128 0x9 253 00bb F2000000 		.4byte	0xf2 254 00bf 01       		.byte	0x1 255 00c0 1D000000 		.4byte	$LASF11 256 00c4 01       		.byte	0x1 257 00c5 0E       		.byte	0xe 258 00c6 01       		.byte	0x1 259 00c7 2F000000 		.4byte	0x2f 260 00cb 08000000 		.4byte	$LFB3 261 00cf 40000000 		.4byte	$LFE3 262 00d3 20000000 		.4byte	$LSFDE2 263 00d7 01       		.byte	0x1 264 00d8 6D       		.byte	0x6d 265 00d9 0A       		.uleb128 0xa 266 00da EF000000 		.4byte	$LASF13 267 00de 01       		.byte	0x1 268 00df 0D       		.byte	0xd 269 00e0 F2000000 		.4byte	0xf2 270 00e4 01       		.byte	0x1 271 00e5 60       		.byte	0x60 272 00e6 0B       		.uleb128 0xb 273 00e7 26000000 		.4byte	$LASF16 274 00eb 01       		.byte	0x1 275 00ec 0F       		.byte	0xf 276 00ed 2F000000 		.4byte	0x2f 277 00f1 00       		.byte	0x0 278 00f2 0C       		.uleb128 0xc 279 00f3 04       		.byte	0x4 280 00f4 F8000000 		.4byte	0xf8 281 00f8 0D       		.uleb128 0xd 282 00f9 FD000000 		.4byte	0xfd 283 00fd 02       		.uleb128 0x2 284 00fe 0B000000 		.4byte	$LASF10 285 0102 01       		.byte	0x1 286 0103 05       		.byte	0x5 287 0104 09       		.uleb128 0x9 288 0105 3E010000 		.4byte	0x13e 289 0109 01       		.byte	0x1 290 010a D2000000 		.4byte	$LASF12 291 010e 01       		.byte	0x1 292 010f 1A       		.byte	0x1a 293 0110 01       		.byte	0x1 294 0111 2F000000 		.4byte	0x2f 295 0115 40000000 		.4byte	$LFB4 296 0119 48000000 		.4byte	$LFE4 297 011d 3C000000 		.4byte	$LSFDE4 298 0121 01       		.byte	0x1 299 0122 6D       		.byte	0x6d 300 0123 0A       		.uleb128 0xaGAS LISTING /tmp/ccrmphsC.s 			page 7 301 0124 A5000000 		.4byte	$LASF14 302 0128 01       		.byte	0x1 303 0129 19       		.byte	0x19 304 012a 59000000 		.4byte	0x59 305 012e 01       		.byte	0x1 306 012f 54       		.byte	0x54 307 0130 0A       		.uleb128 0xa 308 0131 AC000000 		.4byte	$LASF15 309 0135 01       		.byte	0x1 310 0136 19       		.byte	0x19 311 0137 2F000000 		.4byte	0x2f 312 013b 01       		.byte	0x1 313 013c 55       		.byte	0x55 314 013d 00       		.byte	0x0 315 013e 0E       		.uleb128 0xe 316 013f 93000000 		.4byte	$LASF17 317 0143 02       		.byte	0x2 318 0144 3E       		.byte	0x3e 319 0145 4E010000 		.4byte	0x14e 320 0149 808080E0 		.sleb128 -1140850688 320      7B 321 014e 0C       		.uleb128 0xc 322 014f 04       		.byte	0x4 323 0150 54010000 		.4byte	0x154 324 0154 0F       		.uleb128 0xf 325 0155 3D000000 		.4byte	0x3d 326 0159 10       		.uleb128 0x10 327 015a 87000000 		.4byte	$LASF18 328 015e 01       		.byte	0x1 329 015f 04       		.byte	0x4 330 0160 6A010000 		.4byte	0x16a 331 0164 05       		.byte	0x5 332 0165 03       		.byte	0x3 333 0166 04000000 		.4byte	nand_device 334 016a 0C       		.uleb128 0xc 335 016b 04       		.byte	0x4

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -