xilinx_axidma.c (3c8153d3f50b7a94d06a1b34138a9fe6fd49f538) | xilinx_axidma.c (b01422622b7c7293196fdaf1dbb4f495af44ecf9) |
---|---|
1/* 2 * QEMU model of Xilinx AXI-DMA block. 3 * 4 * Copyright (c) 2011 Edgar E. Iglesias. 5 * 6 * Permission is hereby granted, free of charge, to any person obtaining a copy 7 * of this software and associated documentation files (the "Software"), to deal 8 * in the Software without restriction, including without limitation the rights --- 538 unchanged lines hidden (view full) --- 547 548 int i; 549 550 for (i = 0; i < 2; i++) { 551 struct Stream *st = &s->streams[i]; 552 553 st->nr = i; 554 st->bh = qemu_bh_new(timer_hit, st); | 1/* 2 * QEMU model of Xilinx AXI-DMA block. 3 * 4 * Copyright (c) 2011 Edgar E. Iglesias. 5 * 6 * Permission is hereby granted, free of charge, to any person obtaining a copy 7 * of this software and associated documentation files (the "Software"), to deal 8 * in the Software without restriction, including without limitation the rights --- 538 unchanged lines hidden (view full) --- 547 548 int i; 549 550 for (i = 0; i < 2; i++) { 551 struct Stream *st = &s->streams[i]; 552 553 st->nr = i; 554 st->bh = qemu_bh_new(timer_hit, st); |
555 st->ptimer = ptimer_init(st->bh, PTIMER_POLICY_DEFAULT); | 555 st->ptimer = ptimer_init_with_bh(st->bh, PTIMER_POLICY_DEFAULT); |
556 ptimer_set_freq(st->ptimer, s->freqhz); 557 } 558 return; 559 560xilinx_axidma_realize_fail: 561 error_propagate(errp, local_err); 562} 563 --- 97 unchanged lines hidden --- | 556 ptimer_set_freq(st->ptimer, s->freqhz); 557 } 558 return; 559 560xilinx_axidma_realize_fail: 561 error_propagate(errp, local_err); 562} 563 --- 97 unchanged lines hidden --- |