Skip to content

Instantly share code, notes, and snippets.

@dileks
Created April 18, 2011 19:30
Show Gist options
  • Save dileks/926002 to your computer and use it in GitHub Desktop.
Save dileks/926002 to your computer and use it in GitHub Desktop.
(gdb) x/33i early_ioremap_init
(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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment