OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /
    from Rev 1491 to Rev 1492
    Reverse comparison

Rev 1491 → Rev 1492

/trunk/or1ksim/vapi/vapi.c
51,6 → 51,8
#include "vapi.h"
#include "debug.h"
 
DEFAULT_DEBUG_CHANNEL(vapi);
 
static unsigned int serverIP = 0;
 
static unsigned int server_fd = 0;
424,7 → 426,7
}
 
vapi_write_log_file (VAPI_COMMAND_REQUEST, id, data);
debug (4, "[%08lx, %08lx]\n", id, data);
TRACE ("[%08lx, %08lx]\n", id, data);
 
/* This packet may be for another handler */
if (!handler_fits_id (t, id))
444,7 → 446,7
exit (1);
}
 
debug(5, ".");
TRACE(".");
 
/* Handle everything in queue. */
while(1) {
550,7 → 552,7
{
struct vapi_handler *tt;
debug(4, "vapi_install_handler %08lx, %lu, %08p\n", base_id, num_ids, read_func);
TRACE("vapi_install_handler %08lx, %lu, %p\n", base_id, num_ids, read_func);
if (read_func == NULL) {
struct vapi_handler **t = &vapi_handler;
while ((*t) && !handler_fits_id (*t, base_id))
600,7 → 602,7
/* Sends a packet to specified test */
int vapi_send (unsigned long id, unsigned long data)
{
debug (4, "vapi_send [%08lx %08lx]\n", id, data);
TRACE ("vapi_send [%08lx %08lx]\n", id, data);
vapi_write_log_file (VAPI_COMMAND_SEND, id, data);
write_packet (id, data);
}
/trunk/or1ksim/support/dbchs.h
31,3 → 31,4
DECLARE_DEBUG_CHANNEL(gpio)
DECLARE_DEBUG_CHANNEL(mc)
DECLARE_DEBUG_CHANNEL(dma)
DECLARE_DEBUG_CHANNEL(vapi)

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.