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

📄 filesystem.lst

📁 au1200下的boot代码
💻 LST
📖 第 1 页 / 共 3 页
字号:
GAS LISTING /tmp/ccKyQdye.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 E6000000 		.text   9      0200A500    9      00000101    9      FB0E0A00    9      01010101   10              	$Ltext0:  11              		.align	2  12              		.globl	filesystemClose  13              		.ent	filesystemClose  14              		.type	filesystemClose, @function  15              	filesystemClose:  16              	$LFB3:  17              		.file 1 "/mnt/hgfs/boot/booter/source/applications/booter/filesystem.c"   1:/mnt/hgfs/boot/booter/source/applications/booter/filesystem.c **** #include "filesystem.h"   2:/mnt/hgfs/boot/booter/source/applications/booter/filesystem.c **** #include "fat.h"   3:/mnt/hgfs/boot/booter/source/applications/booter/filesystem.c **** #include "pcmcia.h"   4:/mnt/hgfs/boot/booter/source/applications/booter/filesystem.c **** #include "ide.h"   5:/mnt/hgfs/boot/booter/source/applications/booter/filesystem.c ****    6:/mnt/hgfs/boot/booter/source/applications/booter/filesystem.c **** DataFunctions filesystemDataFunctions;   7:/mnt/hgfs/boot/booter/source/applications/booter/filesystem.c ****    8:/mnt/hgfs/boot/booter/source/applications/booter/filesystem.c **** int filesystemLoad(DEVICE_TYPE device, int diskNumber)   9:/mnt/hgfs/boot/booter/source/applications/booter/filesystem.c **** {  10:/mnt/hgfs/boot/booter/source/applications/booter/filesystem.c **** 	switch(device)  11:/mnt/hgfs/boot/booter/source/applications/booter/filesystem.c **** 	{  12:/mnt/hgfs/boot/booter/source/applications/booter/filesystem.c **** 	#if defined(CONFIG_HWBLOCK_PCMCIA)  13:/mnt/hgfs/boot/booter/source/applications/booter/filesystem.c **** 		case PCMCIA:   14:/mnt/hgfs/boot/booter/source/applications/booter/filesystem.c **** 			if(pcmciaOpen(diskNumber))  15:/mnt/hgfs/boot/booter/source/applications/booter/filesystem.c **** 				return filesystemLoadType(getPCMCIAFunctions());  16:/mnt/hgfs/boot/booter/source/applications/booter/filesystem.c **** 			break;  17:/mnt/hgfs/boot/booter/source/applications/booter/filesystem.c **** 	#endif  18:/mnt/hgfs/boot/booter/source/applications/booter/filesystem.c **** 	#if defined(CONFIG_HWBLOCK_IDE)  19:/mnt/hgfs/boot/booter/source/applications/booter/filesystem.c **** 		case IDE:  20:/mnt/hgfs/boot/booter/source/applications/booter/filesystem.c **** 			if(ideOpen())  21:/mnt/hgfs/boot/booter/source/applications/booter/filesystem.c **** 				return filesystemLoadType(getIDEFunctions());  22:/mnt/hgfs/boot/booter/source/applications/booter/filesystem.c **** 			break;  23:/mnt/hgfs/boot/booter/source/applications/booter/filesystem.c **** 	#endif  24:/mnt/hgfs/boot/booter/source/applications/booter/filesystem.c **** 	#if defined(CONFIG_HWBLOCK_SD)  25:/mnt/hgfs/boot/booter/source/applications/booter/filesystem.c **** 		case SDMS:  26:/mnt/hgfs/boot/booter/source/applications/booter/filesystem.c **** 			if (sdOpen (diskNumber))  27:/mnt/hgfs/boot/booter/source/applications/booter/filesystem.c **** 				return filesystemLoadType (getSDFunctions ());  28:/mnt/hgfs/boot/booter/source/applications/booter/filesystem.c **** 			break;  29:/mnt/hgfs/boot/booter/source/applications/booter/filesystem.c **** 	#endif  30:/mnt/hgfs/boot/booter/source/applications/booter/filesystem.c **** 	}  31:/mnt/hgfs/boot/booter/source/applications/booter/filesystem.c ****   32:/mnt/hgfs/boot/booter/source/applications/booter/filesystem.c **** 	return 0;  33:/mnt/hgfs/boot/booter/source/applications/booter/filesystem.c **** }  34:/mnt/hgfs/boot/booter/source/applications/booter/filesystem.c ****   35:/mnt/hgfs/boot/booter/source/applications/booter/filesystem.c **** int filesystemClose (DEVICE_TYPE device, int diskNumber)  36:/mnt/hgfs/boot/booter/source/applications/booter/filesystem.c **** {GAS LISTING /tmp/ccKyQdye.s 			page 2  18              		.loc 1 36 0  19              		.frame	$sp,0,$31		# vars= 0, regs= 0/0, args= 0, gp= 0  20              		.mask	0x00000000,0  21              		.fmask	0x00000000,0  22              		.set	noreorder  23              		.set	nomacro  24              		  37:/mnt/hgfs/boot/booter/source/applications/booter/filesystem.c **** 	switch(device)  25              		.loc 1 37 0  26 0000 02000224 		li	$2,2			# 0x2  27 0004 03008210 		beq	$4,$2,$L5  28 0008 21100000 		move	$2,$0  29              	  38:/mnt/hgfs/boot/booter/source/applications/booter/filesystem.c **** 	{  39:/mnt/hgfs/boot/booter/source/applications/booter/filesystem.c **** 	#if defined(CONFIG_HWBLOCK_PCMCIA)  40:/mnt/hgfs/boot/booter/source/applications/booter/filesystem.c **** 		case PCMCIA:   41:/mnt/hgfs/boot/booter/source/applications/booter/filesystem.c **** 			return (pcmciaEject(diskNumber));  42:/mnt/hgfs/boot/booter/source/applications/booter/filesystem.c **** 	#endif  43:/mnt/hgfs/boot/booter/source/applications/booter/filesystem.c **** 	#if defined(CONFIG_HWBLOCK_IDE)  44:/mnt/hgfs/boot/booter/source/applications/booter/filesystem.c **** 		case IDE:  45:/mnt/hgfs/boot/booter/source/applications/booter/filesystem.c **** 			return ideEject();  46:/mnt/hgfs/boot/booter/source/applications/booter/filesystem.c **** 	#endif  47:/mnt/hgfs/boot/booter/source/applications/booter/filesystem.c **** 	#if defined(CONFIG_HWBLOCK_SD)  48:/mnt/hgfs/boot/booter/source/applications/booter/filesystem.c **** 		case SDMS:  49:/mnt/hgfs/boot/booter/source/applications/booter/filesystem.c **** 			return (sdEject (diskNumber));  50:/mnt/hgfs/boot/booter/source/applications/booter/filesystem.c **** 	#endif  51:/mnt/hgfs/boot/booter/source/applications/booter/filesystem.c **** 	}  52:/mnt/hgfs/boot/booter/source/applications/booter/filesystem.c ****   53:/mnt/hgfs/boot/booter/source/applications/booter/filesystem.c **** 	return 0;  54:/mnt/hgfs/boot/booter/source/applications/booter/filesystem.c **** }  30              		.loc 1 54 0  31 000c 0800E003 		j	$31  32 0010 00000000 		nop  33              	  34              	$L5:  35              		.loc 1 45 0  36 0014 00000008 		j	ideEject  37 0018 00000000 		nop  38              	  39              		.set	macro  40              		.set	reorder  41              	$LFE3:  42              		.end	filesystemClose  43              		.align	2  44              		.globl	filesystemLoadType  45              		.ent	filesystemLoadType  46              		.type	filesystemLoadType, @function  47              	filesystemLoadType:  48              	$LFB4:  55:/mnt/hgfs/boot/booter/source/applications/booter/filesystem.c ****   56:/mnt/hgfs/boot/booter/source/applications/booter/filesystem.c **** int filesystemLoadType(DiskFunctions diskFunctions)  57:/mnt/hgfs/boot/booter/source/applications/booter/filesystem.c **** {  49              		.loc 1 57 0  50              		.frame	$sp,24,$31		# vars= 0, regs= 1/0, args= 16, gp= 0  51              		.mask	0x80000000,-8  52              		.fmask	0x00000000,0  53              		.set	noreorderGAS LISTING /tmp/ccKyQdye.s 			page 3  54              		.set	nomacro  55              		  56 001c E8FFBD27 		addiu	$sp,$sp,-24  57              	$LCFI0:  58 0020 1800A4AF 		sw	$4,24($sp)  59 0024 1000BFAF 		sw	$31,16($sp)  60              	$LCFI1:  61              		.loc 1 57 0  62 0028 1C00A5AF 		sw	$5,28($sp)  58:/mnt/hgfs/boot/booter/source/applications/booter/filesystem.c **** 	if(fatLoad(diskFunctions))  63              		.loc 1 58 0  64 002c 0000000C 		jal	fatLoad  65 0030 2000A6AF 		sw	$6,32($sp)  66              	  59:/mnt/hgfs/boot/booter/source/applications/booter/filesystem.c **** 	{  60:/mnt/hgfs/boot/booter/source/applications/booter/filesystem.c **** 		filesystemDataFunctions = getFATFunctions();  67              		.loc 1 60 0  68 0034 0000043C 		lui	$4,%hi(filesystemDataFunctions)  69 0038 00008424 		addiu	$4,$4,%lo(filesystemDataFunctions)  61:/mnt/hgfs/boot/booter/source/applications/booter/filesystem.c **** 		return 1;  62:/mnt/hgfs/boot/booter/source/applications/booter/filesystem.c **** 	}  63:/mnt/hgfs/boot/booter/source/applications/booter/filesystem.c **** 	return 0;  70              		.loc 1 63 0  71              		.loc 1 58 0  72 003c 05004014 		bne	$2,$0,$L10  73 0040 21180000 		move	$3,$0  74              	  64:/mnt/hgfs/boot/booter/source/applications/booter/filesystem.c **** }  75              		.loc 1 64 0  76 0044 1000BF8F 		lw	$31,16($sp)  77 0048 21106000 		move	$2,$3  78 004c 0800E003 		j	$31  79 0050 1800BD27 		addiu	$sp,$sp,24  80              	  81              	$L10:  82              		.loc 1 60 0  83 0054 0000000C 		jal	getFATFunctions  84 0058 00000000 		nop  85              	  86              		.loc 1 64 0  87 005c 1000BF8F 		lw	$31,16($sp)  88              		.loc 1 61 0  89 0060 01000324 		li	$3,1			# 0x1  90              		.loc 1 64 0  91 0064 21106000 		move	$2,$3  92 0068 0800E003 		j	$31  93 006c 1800BD27 		addiu	$sp,$sp,24  94              	  95              		.set	macro  96              		.set	reorder  97              	$LFE4:  98              		.end	filesystemLoadType  99              		.align	2 100              		.globl	filesystemLoad 101              		.ent	filesystemLoad 102              		.type	filesystemLoad, @function 103              	filesystemLoad:GAS LISTING /tmp/ccKyQdye.s 			page 4 104              	$LFB2: 105              		.loc 1 9 0 106              		.frame	$sp,40,$31		# vars= 16, regs= 1/0, args= 16, gp= 0 107              		.mask	0x80000000,-8 108              		.fmask	0x00000000,0 109              		.set	noreorder 110              		.set	nomacro 111              		 112 0070 D8FFBD27 		addiu	$sp,$sp,-40 113              	$LCFI2: 114              		.loc 1 10 0 115 0074 02000224 		li	$2,2			# 0x2 116              		.loc 1 9 0 117              	$LCFI3: 118              		.loc 1 10 0 119 0078 05008210 		beq	$4,$2,$L15 120 007c 2000BFAF 		sw	$31,32($sp) 121              	 122              	$L12: 123              		.loc 1 33 0 124 0080 2000BF8F 		lw	$31,32($sp) 125              		.loc 1 32 0 126 0084 21100000 		move	$2,$0 127              		.loc 1 33 0 128 0088 0800E003 		j	$31 129 008c 2800BD27 		addiu	$sp,$sp,40 130              	 131              	$L15: 132              		.loc 1 20 0 133 0090 0000000C 		jal	ideOpen 134 0094 00000000 		nop 135              	 136              		.loc 1 21 0 137              		.loc 1 20 0 138 0098 F9FF4010 		beq	$2,$0,$L12 139 009c 1000A427 		addiu	$4,$sp,16 140              	 141              		.loc 1 21 0 142 00a0 0000000C 		jal	getIDEFunctions 143 00a4 00000000 		nop 144              	 145 00a8 1000A48F 		lw	$4,16($sp) 146 00ac 1400A58F 		lw	$5,20($sp) 147 00b0 0000000C 		jal	filesystemLoadType 148 00b4 1800A68F 		lw	$6,24($sp) 149              	 150              		.loc 1 33 0 151 00b8 2000BF8F 		lw	$31,32($sp) 152 00bc 0800E003 		j	$31 153 00c0 2800BD27 		addiu	$sp,$sp,40 154              	 155              		.set	macro 156              		.set	reorder 157              	$LFE2: 158              		.end	filesystemLoad 159              		.align	2 160              		.globl	getFilesystemFunctionsGAS LISTING /tmp/ccKyQdye.s 			page 5 161              		.ent	getFilesystemFunctions 162              		.type	getFilesystemFunctions, @function 163              	getFilesystemFunctions: 164              	$LFB5:  65:/mnt/hgfs/boot/booter/source/applications/booter/filesystem.c ****   66:/mnt/hgfs/boot/booter/source/applications/booter/filesystem.c **** DataFunctions getFilesystemFunctions()  67:/mnt/hgfs/boot/booter/source/applications/booter/filesystem.c **** { 165              		.loc 1 67 0 166              		.frame	$sp,0,$31		# vars= 0, regs= 0/0, args= 0, gp= 0 167              		.mask	0x00000000,0 168              		.fmask	0x00000000,0 169              		.set	noreorder 170              		.set	nomacro 171              		  68:/mnt/hgfs/boot/booter/source/applications/booter/filesystem.c **** 	return filesystemDataFunctions; 172              		.loc 1 68 0 173 00c4 0000023C 		lui	$2,%hi(filesystemDataFunctions) 174 00c8 00004324 		addiu	$3,$2,%lo(filesystemDataFunctions) 175 00cc 0000458C 		lw	$5,%lo(filesystemDataFunctions)($2) 176 00d0 0800678C 		lw	$7,8($3) 177 00d4 0400668C 		lw	$6,4($3) 178              		.loc 1 67 0 179 00d8 21108000 		move	$2,$4 180              		.loc 1 68 0 181 00dc 000085AC 		sw	$5,0($4) 182 00e0 040086AC 		sw	$6,4($4)  69:/mnt/hgfs/boot/booter/source/applications/booter/filesystem.c **** } 183              		.loc 1 69 0 184 00e4 0800E003 		j	$31 185 00e8 080087AC 		sw	$7,8($4) 186              	 187              		.set	macro 188              		.set	reorder 189              	$LFE5: 190              		.end	getFilesystemFunctions 191              	 192              		.comm	filesystemDataFunctions,12,4 193              		.section	.debug_frame,"",@progbits 194              	$Lframe0: 195 0000 0C000000 		.4byte	$LECIE0-$LSCIE0 196              	$LSCIE0: 197 0004 FFFFFFFF 		.4byte	0xffffffff 198 0008 01       		.byte	0x1 199 0009 00       		.ascii	"\000" 200 000a 01       		.uleb128 0x1 201 000b 04       		.sleb128 4 202 000c 1F       		.byte	0x1f 203 000d 0C       		.byte	0xc 204 000e 1D       		.uleb128 0x1d 205 000f 00       		.uleb128 0x0 206              		.align	2 207              	$LECIE0: 208              	$LSFDE0: 209 0010 0C000000 		.4byte	$LEFDE0-$LASFDE0 210              	$LASFDE0: 211 0014 00000000 		.4byte	$Lframe0 212 0018 00000000 		.4byte	$LFB3GAS LISTING /tmp/ccKyQdye.s 			page 6 213 001c 1C000000 		.4byte	$LFE3-$LFB3 214              		.align	2 215              	$LEFDE0: 216              	$LSFDE2: 217 0020 14000000 		.4byte	$LEFDE2-$LASFDE2 218              	$LASFDE2: 219 0024 00000000 		.4byte	$Lframe0 220 0028 1C000000 		.4byte	$LFB4 221 002c 54000000 		.4byte	$LFE4-$LFB4 222 0030 44       		.byte	0x4 223              		.4byte	$LCFI0-$LFB4 224 0031 0E       		.byte	0xe 225 0032 18       		.uleb128 0x18 226 0033 48       		.byte	0x4 227              		.4byte	$LCFI1-$LCFI0 228 0034 11       		.byte	0x11 229 0035 1F       		.uleb128 0x1f 230 0036 7E       		.sleb128 -2 231 0037 00       		.align	2 232              	$LEFDE2: 233              	$LSFDE4: 234 0038 14000000 		.4byte	$LEFDE4-$LASFDE4 235              	$LASFDE4: 236 003c 00000000 		.4byte	$Lframe0 237 0040 70000000 		.4byte	$LFB2 238 0044 54000000 		.4byte	$LFE2-$LFB2 239 0048 44       		.byte	0x4 240              		.4byte	$LCFI2-$LFB2 241 0049 0E       		.byte	0xe 242 004a 28       		.uleb128 0x28 243 004b 44       		.byte	0x4 244              		.4byte	$LCFI3-$LCFI2 245 004c 11       		.byte	0x11 246 004d 1F       		.uleb128 0x1f 247 004e 7E       		.sleb128 -2 248 004f 00       		.align	2 249              	$LEFDE4: 250              	$LSFDE6: 251 0050 0C000000 		.4byte	$LEFDE6-$LASFDE6 252              	$LASFDE6: 253 0054 00000000 		.4byte	$Lframe0 254 0058 C4000000 		.4byte	$LFB5 255 005c 28000000 		.4byte	$LFE5-$LFB5 256              		.align	2 257              	$LEFDE6: 258              		.align	0 259              		.file 2 "/mnt/hgfs/boot/booter/source/applications/booter/filesystem.h" 260              		.file 3 "/mnt/hgfs/boot/booter/source/applications/booter/functions.h" 261              		.file 4 "/mnt/hgfs/boot/booter/platforms/DB1200/platform.h" 262              		.text 263              	$Letext0: 264 00ec 00000000 		.section	.debug_info 265 0000 A3020000 		.4byte	0x2a3 266 0004 0200     		.2byte	0x2 267 0006 00000000 		.4byte	$Ldebug_abbrev0 268 000a 04       		.byte	0x4 269 000b 01       		.uleb128 0x1GAS LISTING /tmp/ccKyQdye.s 			page 7 270 000c 00000000 		.4byte	$Ldebug_line0 271 0010 EC000000 		.4byte	$Letext0 272 0014 00000000 		.4byte	$Ltext0 273 0018 27010000 		.4byte	$LASF28 274 001c 01       		.byte	0x1 275 001d B0000000 		.4byte	$LASF29 276 0021 02       		.uleb128 0x2 277 0022 BF010000 		.4byte	$LASF0 278 0026 01       		.byte	0x1 279 0027 06       		.byte	0x6 280 0028 02       		.uleb128 0x2 281 0029 5C010000 		.4byte	$LASF1 282 002d 02       		.byte	0x2 283 002e 05       		.byte	0x5 284 002f 03       		.uleb128 0x3 285 0030 696E7400 		.ascii	"int\000" 286 0034 04       		.byte	0x4 287 0035 05       		.byte	0x5 288 0036 02       		.uleb128 0x2 289 0037 9E010000 		.4byte	$LASF2 290 003b 01       		.byte	0x1 291 003c 08       		.byte	0x8 292 003d 02       		.uleb128 0x2 293 003e CB010000 		.4byte	$LASF3 294 0042 02       		.byte	0x2 295 0043 07       		.byte	0x7 296 0044 02       		.uleb128 0x2 297 0045 05000000 		.4byte	$LASF4 298 0049 04       		.byte	0x4 299 004a 07       		.byte	0x7 300 004b 02       		.uleb128 0x2 301 004c 67000000 		.4byte	$LASF5 302 0050 08       		.byte	0x8 303 0051 07       		.byte	0x7

⌨️ 快捷键说明

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