~vcs-imports/qemu/git

« back to all changes in this revision

Viewing changes to block-vpc.c

  • Committer: ths
  • Date: 2007-10-08 12:45:38 UTC
  • Revision ID: git-v1:450d4ff553af32fc9d83fef20d7106b0151526b8
CRIS disassembler, originally from binutils, by Edgar E. Iglesias.


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3356 c046a42c-6fe2-441c-8c8c-71466251a162

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
22
22
 * THE SOFTWARE.
23
23
 */
24
 
#include "qemu-common.h"
 
24
#include "vl.h"
25
25
#include "block_int.h"
26
26
 
27
27
/**************************************************************/
81
81
 
82
82
static int vpc_probe(const uint8_t *buf, int buf_size, const char *filename)
83
83
{
84
 
    if (buf_size >= 8 && !strncmp((char *)buf, "conectix", 8))
 
84
    if (buf_size >= 8 && !strncmp(buf, "conectix", 8))
85
85
        return 100;
86
86
    return 0;
87
87
}