Ticket #4107: disasm_OK

File disasm_OK, 3.6 KB (added by Pete, 15 years ago)

Disassembly with the dprintf disabled

Line 
1
200000578 <usb_midi_added>:
3usb_midi_added():
4/boot/home/WORK/HAIKU/haiku/src/add-ons/kernel/drivers/midi/usb_midi/usb_midi.c:210
5
6static status_t
7usb_midi_added(const usb_device *dev, void **cookie)
8{
9
10[........]
11
12 my_dev->timestamp = system_time ();
13 970: e8 fc ff ff ff call 971 <usb_midi_added+0x3f9>
14 975: 89 c0 mov %eax,%eax
15 977: 89 d2 mov %edx,%edx
16 979: 8b 4d fc mov 0xfffffffc(%ebp),%ecx
17 97c: 89 41 60 mov %eax,0x60(%ecx)
18 97f: 89 51 64 mov %edx,0x64(%ecx)
19/boot/home/WORK/HAIKU/haiku/src/add-ons/kernel/drivers/midi/usb_midi/usb_midi.c:296
20
21/* DPRINTF_INFO ((MY_ID "queueing bulk xfer ep 0\n"));*/
22 /* issue bulk transfer */
23 my_dev->ept = &intf->endpoint [0]; /* interrupt IN */
24 982: 8b 45 fc mov 0xfffffffc(%ebp),%eax
25 985: 8b 55 f0 mov 0xfffffff0(%ebp),%edx
26 988: 8b 4a 0c mov 0xc(%edx),%ecx
27 98b: 89 48 58 mov %ecx,0x58(%eax)
28/boot/home/WORK/HAIKU/haiku/src/add-ons/kernel/drivers/midi/usb_midi/usb_midi.c:299
29/* DPRINTF_INFO ((MY_ID "my_dev = %p endpoint = %p interface endpoint = %p\n",*/
30/* my_dev, my_dev->ept, &intf->endpoint [0]));*/
31 st = usb->queue_bulk (my_dev->ept->handle, my_dev->buffer,
32 98e: 83 c4 f4 add $0xfffffff4,%esp
33 991: 8b 93 00 00 00 00 mov 0x0(%ebx),%edx
34 997: 8b 02 mov (%edx),%eax
35 999: 8b 55 fc mov 0xfffffffc(%ebp),%edx
36 99c: 52 push %edx
37 99d: 8d 8b 74 03 00 00 lea 0x374(%ebx),%ecx
38 9a3: 89 ca mov %ecx,%edx
39 9a5: 52 push %edx
40 9a6: 8b 55 fc mov 0xfffffffc(%ebp),%edx
41 9a9: 8b 4a 5c mov 0x5c(%edx),%ecx
42 9ac: 51 push %ecx
43 9ad: 8b 55 fc mov 0xfffffffc(%ebp),%edx
44 9b0: 8b 4a 10 mov 0x10(%edx),%ecx
45 9b3: 51 push %ecx
46 9b4: 8b 55 fc mov 0xfffffffc(%ebp),%edx
47 9b7: 8b 4a 58 mov 0x58(%edx),%ecx
48 9ba: 8b 51 04 mov 0x4(%ecx),%edx
49 9bd: 52 push %edx
50 9be: 8b 70 48 mov 0x48(%eax),%esi
51 9c1: ff d6 call *%esi
52 9c3: 83 c4 20 add $0x20,%esp
53 9c6: 89 c0 mov %eax,%eax
54 9c8: 89 45 ec mov %eax,0xffffffec(%ebp)
55/boot/home/WORK/HAIKU/haiku/src/add-ons/kernel/drivers/midi/usb_midi/usb_midi.c:301
56 my_dev->total_report_size, midi_usb_callback, my_dev);
57 if (st != B_OK) {
58 9cb: 83 7d ec 00 cmpl $0x0,0xffffffec(%ebp)
59 9cf: 74 1f je 9f0 <usb_midi_added+0x478>
60/boot/home/WORK/HAIKU/haiku/src/add-ons/kernel/drivers/midi/usb_midi/usb_midi.c:302
61 DPRINTF_ERR ((MY_ID "queue_bulk() error %d\n", (int)st));
62 9d1: 83 c4 f8 add $0xfffffff8,%esp
63 9d4: 8b 45 ec mov 0xffffffec(%ebp),%eax
64 9d7: 50 push %eax
65 9d8: 8d 93 40 72 00 00 lea 0x7240(%ebx),%edx
66 9de: 89 d0 mov %edx,%eax
67 9e0: 50 push %eax
68 9e1: e8 fc ff ff ff call 9e2 <usb_midi_added+0x46a>
69 9e6: 83 c4 10 add $0x10,%esp
70/boot/home/WORK/HAIKU/haiku/src/add-ons/kernel/drivers/midi/usb_midi/usb_midi.c:303
71 return B_ERROR;
72 9e9: b8 ff ff ff ff mov $0xffffffff,%eax
73 9ee: eb 36 jmp a26 <usb_midi_added+0x4ae>
74/boot/home/WORK/HAIKU/haiku/src/add-ons/kernel/drivers/midi/usb_midi/usb_midi.c:307
75 }
76
77[........]
78
79}