Skip to content

Instantly share code, notes, and snippets.

@dileks
Created April 18, 2011 19:34
Show Gist options
  • Save dileks/926013 to your computer and use it in GitHub Desktop.
Save dileks/926013 to your computer and use it in GitHub Desktop.
(gdb) x/33i early_ioremap_init (plus next-page)
(gdb) x/33i early_ioremap_init
0xc14b476d <early_ioremap_init>: push %ebp
0xc14b476e <early_ioremap_init+1>: mov %esp,%ebp
0xc14b4770 <early_ioremap_init+3>: push %ebx
0xc14b4771 <early_ioremap_init+4>: push %edi
0xc14b4772 <early_ioremap_init+5>: push %esi
0xc14b4773 <early_ioremap_init+6>: sub $0xc,%esp
0xc14b4776 <early_ioremap_init+9>: mov 0xc1523f28,%al
0xc14b477b <early_ioremap_init+14>: cmp $0x1,%al
0xc14b477d <early_ioremap_init+16>: jne 0xc14b478b <early_ioremap_init+30>
0xc14b477f <early_ioremap_init+18>: movl $0xc13befe0,(%esp)
0xc14b4786 <early_ioremap_init+25>: call 0xc1037dcf <printk>
0xc14b478b <early_ioremap_init+30>: mov $0xffc38000,%esi
0xc14b4790 <early_ioremap_init+35>: add 0xc146fd7c,%esi
0xc14b4796 <early_ioremap_init+41>: mov $0xfffffff0,%eax
0xc14b479b <early_ioremap_init+46>: mov %esi,%ecx
0xc14b479d <early_ioremap_init+48>: mov %ecx,-0x3eb1ccf0(%eax)
0xc14b47a3 <early_ioremap_init+54>: add $0x40000,%ecx
0xc14b47a9 <early_ioremap_init+60>: add $0x4,%eax
0xc14b47ac <early_ioremap_init+63>: jne 0xc14b479d <early_ioremap_init+48>
0xc14b47ae <early_ioremap_init+65>: call *0xc146fcd8
0xc14b47b4 <early_ioremap_init+71>: mov %eax,%edi
0xc14b47b6 <early_ioremap_init+73>: movl $0x1000,0x8(%esp)
0xc14b47be <early_ioremap_init+81>: movl $0x0,0x4(%esp)
0xc14b47c6 <early_ioremap_init+89>: movl $0xc1516000,(%esp)
0xc14b47cd <early_ioremap_init+96>: call 0xc11bee59 <memset>
0xc14b47d2 <early_ioremap_init+101>: lea 0x1516000,%eax
0xc14b47d8 <early_ioremap_init+107>: mov %eax,%edx
0xc14b47da <early_ioremap_init+109>: shr $0xc,%edx
0xc14b47dd <early_ioremap_init+112>: mov $0xc1478060,%eax
0xc14b47e2 <early_ioremap_init+117>: call *0xc146fd04
0xc14b47e8 <early_ioremap_init+123>: and $0xffc00000,%esi
0xc14b47ee <early_ioremap_init+129>: shr $0x14,%esi
0xc14b47f1 <early_ioremap_init+132>: lea -0x40000000(%edi,%esi,1),%ebx
(gdb)
0xc14b47f8 <early_ioremap_init+139>: lea 0x1516000,%eax
0xc14b47fe <early_ioremap_init+145>: or $0x67,%eax
0xc14b4801 <early_ioremap_init+148>: call *0xc146fd50
0xc14b4807 <early_ioremap_init+154>: mov %eax,%edx
0xc14b4809 <early_ioremap_init+156>: mov %ebx,%eax
0xc14b480b <early_ioremap_init+158>: call *0xc146fd24
0xc14b4811 <early_ioremap_init+164>: add %edi,%esi
0xc14b4813 <early_ioremap_init+166>: mov 0xc146fd7c,%edi
0xc14b4819 <early_ioremap_init+172>: add $0xffd37000,%edi
0xc14b481f <early_ioremap_init+178>: and $0xffc00000,%edi
0xc14b4825 <early_ioremap_init+184>: shr $0x14,%edi
0xc14b4828 <early_ioremap_init+187>: call *0xc146fcd8
0xc14b482e <early_ioremap_init+193>: add %edi,%eax
0xc14b4830 <early_ioremap_init+195>: cmp %eax,%esi
0xc14b4832 <early_ioremap_init+197>: je 0xc14b48db <early_ioremap_init+366>
0xc14b4838 <early_ioremap_init+203>: mov $0xc13befc0,%eax
0xc14b483d <early_ioremap_init+208>: mov $0x18c,%edx
0xc14b4842 <early_ioremap_init+213>: call 0xc1037812 <warn_slowpath_null>
0xc14b4847 <early_ioremap_init+218>: mov 0xc146fd7c,%esi
0xc14b484d <early_ioremap_init+224>: add $0xffd37000,%esi
0xc14b4853 <early_ioremap_init+230>: and $0xffc00000,%esi
0xc14b4859 <early_ioremap_init+236>: shr $0x14,%esi
0xc14b485c <early_ioremap_init+239>: call *0xc146fcd8
0xc14b4862 <early_ioremap_init+245>: lea -0x40000000(%eax,%esi,1),%eax
0xc14b4869 <early_ioremap_init+252>: mov %eax,0x8(%esp)
0xc14b486d <early_ioremap_init+256>: mov %ebx,0x4(%esp)
0xc14b4871 <early_ioremap_init+260>: movl $0xc13bf000,(%esp)
0xc14b4878 <early_ioremap_init+267>: call 0xc1037dcf <printk>
0xc14b487d <early_ioremap_init+272>: mov $0xffc38000,%eax
0xc14b4882 <early_ioremap_init+277>: add 0xc146fd7c,%eax
0xc14b4888 <early_ioremap_init+283>: mov %eax,0x4(%esp)
0xc14b488c <early_ioremap_init+287>: movl $0xc13bf020,(%esp)
0xc14b4893 <early_ioremap_init+294>: call 0xc1037dcf <printk>
(gdb)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment