* sky-gdb.c (vu_option_handler): Delete unused local unit.
(log_option_handler): Delete extra arg from printf, twice. * sky-pke.c (config.h): Include. (string.h, strings.h): Include. (pke_issue): Delete unused locals imm, num * sky-libvpe.c: Pacify GCC. * sky-gpuif.c (gif_io_write_buffer): Pacify GCC. * sky-dma.c (config.h): Include. (string.h, strings.h): Include. (dma_io_read_buffer): Pacify GCC. (dma_io_write_buffer): Pacify GCC. Initialize pmem before first use. (do_dma_transfer): Delete unused local variables qwbuf and local.
This commit is contained in:
parent
e08480287d
commit
10572b6a43
@ -5,6 +5,8 @@
|
||||
#define PKE_DEBUG
|
||||
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
#include "sky-pke.h"
|
||||
#include "sky-dma.h"
|
||||
@ -15,6 +17,14 @@
|
||||
#include "sky-gpuif.h"
|
||||
#include "sky-device.h"
|
||||
|
||||
#ifdef HAVE_STRING_H
|
||||
#include <string.h>
|
||||
#else
|
||||
#ifdef HAVE_STRINGS_H
|
||||
#include <strings.h>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
/* Internal function declarations */
|
||||
|
||||
@ -519,8 +529,7 @@ pke_issue(SIM_DESC sd, struct pke_device* me)
|
||||
{
|
||||
struct fifo_quadword* fqw;
|
||||
unsigned_4 fw;
|
||||
unsigned_4 cmd, intr, num;
|
||||
unsigned_4 imm;
|
||||
unsigned_4 cmd, intr;
|
||||
|
||||
/* 1 -- fetch PKE instruction */
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user