mirror of
https://github.com/izzy2lost/xemu.git
synced 2026-07-06 00:20:22 -07:00
Merge remote-tracking branch 'stefanha/trivial-patches' into staging
This commit is contained in:
+1
-1
@@ -20,7 +20,7 @@ Descriptions of section entries:
|
||||
Supported: Someone is actually paid to look after this.
|
||||
Maintained: Someone actually looks after it.
|
||||
Odd Fixes: It has a maintainer but they don't have time to do
|
||||
much other than throw the odd patch in. See below..
|
||||
much other than throw the odd patch in. See below.
|
||||
Orphan: No current maintainer [but maybe you could take the
|
||||
role as you write your new code].
|
||||
Obsolete: Old code. Something tagged obsolete generally means
|
||||
|
||||
+1
-1
@@ -126,7 +126,7 @@ the authentication ID is not provided.
|
||||
VNC_DISCONNECTED
|
||||
----------------
|
||||
|
||||
Emitted when the conection is closed.
|
||||
Emitted when the connection is closed.
|
||||
|
||||
Data:
|
||||
|
||||
|
||||
@@ -1624,7 +1624,7 @@ arm_decode_shift (long given, fprintf_function func, void *stream,
|
||||
}
|
||||
|
||||
/* Print one coprocessor instruction on INFO->STREAM.
|
||||
Return true if the instuction matched, false if this is not a
|
||||
Return true if the instruction matched, false if this is not a
|
||||
recognised coprocessor instruction. */
|
||||
|
||||
static bfd_boolean
|
||||
@@ -2214,7 +2214,7 @@ print_arm_address (bfd_vma pc, struct disassemble_info *info, long given)
|
||||
}
|
||||
|
||||
/* Print one neon instruction on INFO->STREAM.
|
||||
Return true if the instuction matched, false if this is not a
|
||||
Return true if the instruction matched, false if this is not a
|
||||
recognised neon instruction. */
|
||||
|
||||
static bfd_boolean
|
||||
@@ -3927,7 +3927,7 @@ print_insn_arm (bfd_vma pc, struct disassemble_info *info)
|
||||
n = last_mapping_sym - 1;
|
||||
|
||||
/* No mapping symbol found at this address. Look backwards
|
||||
for a preceeding one. */
|
||||
for a preceding one. */
|
||||
for (; n >= 0; n--)
|
||||
{
|
||||
if (get_sym_code_type (info, n, &type))
|
||||
|
||||
+1
-1
@@ -92,7 +92,7 @@ static int cow_open(BlockDriverState *bs, int flags)
|
||||
}
|
||||
|
||||
/*
|
||||
* XXX(hch): right now these functions are extremly ineffcient.
|
||||
* XXX(hch): right now these functions are extremely ineffcient.
|
||||
* We should just read the whole bitmap we'll need in one go instead.
|
||||
*/
|
||||
static inline int cow_set_bit(BlockDriverState *bs, int64_t bitnum)
|
||||
|
||||
+2
-2
@@ -92,7 +92,7 @@ static int qcow2_read_extensions(BlockDriverState *bs, uint64_t start_offset,
|
||||
if (offset > s->cluster_size)
|
||||
printf("qcow2_read_extension: suspicious offset %lu\n", offset);
|
||||
|
||||
printf("attemting to read extended header in offset %lu\n", offset);
|
||||
printf("attempting to read extended header in offset %lu\n", offset);
|
||||
#endif
|
||||
|
||||
if (bdrv_pread(bs->file, offset, &ext, sizeof(ext)) != sizeof(ext)) {
|
||||
@@ -821,7 +821,7 @@ static int qcow2_create2(const char *filename, int64_t total_size,
|
||||
int flags, size_t cluster_size, int prealloc,
|
||||
QEMUOptionParameter *options)
|
||||
{
|
||||
/* Calulate cluster_bits */
|
||||
/* Calculate cluster_bits */
|
||||
int cluster_bits;
|
||||
cluster_bits = ffs(cluster_size) - 1;
|
||||
if (cluster_bits < MIN_CLUSTER_BITS || cluster_bits > MAX_CLUSTER_BITS ||
|
||||
|
||||
+2
-2
@@ -1153,7 +1153,7 @@ static int cdrom_open(BlockDriverState *bs, const char *filename, int flags)
|
||||
if (ret)
|
||||
return ret;
|
||||
|
||||
/* make sure the door isnt locked at this time */
|
||||
/* make sure the door isn't locked at this time */
|
||||
ioctl(s->fd, CDIOCALLOW);
|
||||
return 0;
|
||||
}
|
||||
@@ -1184,7 +1184,7 @@ static int cdrom_reopen(BlockDriverState *bs)
|
||||
}
|
||||
s->fd = fd;
|
||||
|
||||
/* make sure the door isnt locked at this time */
|
||||
/* make sure the door isn't locked at this time */
|
||||
ioctl(s->fd, CDIOCALLOW);
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -368,7 +368,7 @@ DECLARE_TLS(CPUState *,cpu_single_env);
|
||||
#define CPU_INTERRUPT_TGT_EXT_4 0x1000
|
||||
|
||||
/* Several target-specific internal interrupts. These differ from the
|
||||
preceeding target-specific interrupts in that they are intended to
|
||||
preceding target-specific interrupts in that they are intended to
|
||||
originate from within the cpu itself, typically in response to some
|
||||
instruction being executed. These, therefore, are not masked while
|
||||
single-stepping within the debugger. */
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
#ifndef CPU_COMMON_H
|
||||
#define CPU_COMMON_H 1
|
||||
|
||||
/* CPU interfaces that are target indpendent. */
|
||||
/* CPU interfaces that are target independent. */
|
||||
|
||||
#ifdef TARGET_PHYS_ADDR_BITS
|
||||
#include "targphys.h"
|
||||
|
||||
@@ -281,7 +281,7 @@ void qemu_clock_warp(QEMUClock *clock)
|
||||
* (related to the time left until the next event) has passed. This
|
||||
* rt_clock timer will do this. This avoids that the warps are too
|
||||
* visible externally---for example, you will not be sending network
|
||||
* packets continously instead of every 100ms.
|
||||
* packets continuously instead of every 100ms.
|
||||
*/
|
||||
qemu_mod_timer(icount_warp_timer, vm_clock_warp_start + deadline);
|
||||
} else {
|
||||
|
||||
@@ -460,7 +460,7 @@ int load_object(const char *filename, struct target_pt_regs * regs, void ** mh)
|
||||
int mach_hdr_pos = 0;
|
||||
struct mach_header mach_hdr;
|
||||
|
||||
/* for symbol lookup whith -d flag. */
|
||||
/* for symbol lookup with -d flag. */
|
||||
struct symtab_command * symtabcmd = 0;
|
||||
struct nlist_extended *symtab, *sym;
|
||||
struct nlist *symtab_std, *syment;
|
||||
@@ -645,7 +645,7 @@ int load_object(const char *filename, struct target_pt_regs * regs, void ** mh)
|
||||
case LC_PREBIND_CKSUM:
|
||||
case LC_SUB_LIBRARY:
|
||||
break;
|
||||
default: fprintf(stderr, "warning: unkown command 0x%x in '%s'\n", lc->cmd, filename);
|
||||
default: fprintf(stderr, "warning: unknown command 0x%x in '%s'\n", lc->cmd, filename);
|
||||
}
|
||||
lc = (struct load_command*)((int)(lc)+(lc->cmdsize));
|
||||
}
|
||||
@@ -809,7 +809,7 @@ unsigned long setup_arg_pages(void * mh, char ** argv, char ** env)
|
||||
page_set_flags((int)env[i], (int)(env[i]+strlen(env[i])), PROT_READ | PAGE_VALID);
|
||||
}
|
||||
|
||||
/* Add on the stack the interp_prefix choosen if so */
|
||||
/* Add on the stack the interp_prefix chosen if so */
|
||||
if(interp_prefix[0])
|
||||
{
|
||||
char *dyld_root;
|
||||
|
||||
+1
-1
@@ -394,7 +394,7 @@ void cpu_loop(CPUPPCState *env)
|
||||
queue_signal(info.si_signo, &info);
|
||||
break;
|
||||
case POWERPC_EXCP_PIT: /* Programmable interval timer IRQ */
|
||||
cpu_abort(env, "Programable interval timer interrupt "
|
||||
cpu_abort(env, "Programmable interval timer interrupt "
|
||||
"while in user mode. Aborting\n");
|
||||
break;
|
||||
case POWERPC_EXCP_IO: /* IO error exception */
|
||||
|
||||
@@ -270,8 +270,7 @@ int do_sigaction(int sig, const struct sigaction *act,
|
||||
host_sig = target_to_host_signal(sig);
|
||||
if (host_sig != SIGSEGV && host_sig != SIGBUS) {
|
||||
#if defined(DEBUG_SIGNAL)
|
||||
fprintf(stderr, "sigaction handler going to call sigaction\n",
|
||||
act->sa_handler, act->sa_flags, act->sa_mask);
|
||||
fprintf(stderr, "sigaction handler going to call sigaction\n");
|
||||
#endif
|
||||
|
||||
sigfillset(&act1.sa_mask);
|
||||
|
||||
@@ -755,7 +755,7 @@ struct attrbuf_header {
|
||||
|
||||
static inline void byteswap_attrbuf(struct attrbuf_header *attrbuf, struct attrlist *attrlist)
|
||||
{
|
||||
DPRINTF("attrBuf.lenght %lx\n", attrbuf->length);
|
||||
DPRINTF("attrBuf.length %lx\n", attrbuf->length);
|
||||
}
|
||||
|
||||
static inline void byteswap_statfs(struct statfs *s)
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Internal memory managment interfaces
|
||||
* Internal memory management interfaces
|
||||
*
|
||||
* Copyright 2011 Red Hat, Inc. and/or its affiliates
|
||||
*
|
||||
|
||||
+1
-1
@@ -564,7 +564,7 @@ If not, see <http://www.gnu.org/licenses/>. */
|
||||
*/
|
||||
|
||||
/* There are two kinds of delay slot nullification: normal which is
|
||||
* controled by the nullification bit, and conditional, which depends
|
||||
* controlled by the nullification bit, and conditional, which depends
|
||||
* on the direction of the branch and its success or failure.
|
||||
*
|
||||
* NONE is unfortunately #defined in the hiux system include files.
|
||||
|
||||
+1
-1
@@ -516,7 +516,7 @@ static void write_register(dp8393xState *s, int reg, uint16_t val)
|
||||
switch (reg) {
|
||||
/* Command register */
|
||||
case SONIC_CR:
|
||||
do_command(s, val);;
|
||||
do_command(s, val);
|
||||
break;
|
||||
/* Prevent write to read-only registers */
|
||||
case SONIC_CAP2:
|
||||
|
||||
+1
-1
@@ -157,7 +157,7 @@ static QEMUCursor *qxl_cursor(PCIQXLDevice *qxl, QXLCursor *cursor)
|
||||
{
|
||||
QEMUCursor *c;
|
||||
uint8_t *image, *mask;
|
||||
int size;
|
||||
size_t size;
|
||||
|
||||
c = cursor_alloc(cursor->header.width, cursor->header.height);
|
||||
c->hot_x = cursor->header.hot_spot_x;
|
||||
|
||||
@@ -125,7 +125,7 @@ vcard_response_new_bytes(VCard *card, unsigned char *buf, int len, int Le,
|
||||
}
|
||||
|
||||
/*
|
||||
* get a new Reponse buffer that only has a status.
|
||||
* get a new Response buffer that only has a status.
|
||||
*/
|
||||
static VCardResponse *
|
||||
vcard_response_new_status(vcard_7816_status_t status)
|
||||
@@ -239,7 +239,7 @@ vcard_apdu_set_class(VCardAPDU *apdu) {
|
||||
}
|
||||
|
||||
/*
|
||||
* set the Le and Lc fiels according to table 5 of the
|
||||
* set the Le and Lc fields according to table 5 of the
|
||||
* 7816-4 part 4 spec
|
||||
*/
|
||||
static vcard_7816_status_t
|
||||
|
||||
@@ -23,7 +23,7 @@ VCardResponse *vcard_response_new_bytes(VCard *card, unsigned char *buf,
|
||||
/* response from just status bytes */
|
||||
VCardResponse *vcard_response_new_status_bytes(unsigned char sw1,
|
||||
unsigned char sw2);
|
||||
/* response from just status: NOTE this cannot fail, it will alwyas return a
|
||||
/* response from just status: NOTE this cannot fail, it will always return a
|
||||
* valid response, if it can't allocate memory, the response will be
|
||||
* VCARD7816_STATUS_EXC_ERROR_MEMORY_FAILURE */
|
||||
VCardResponse *vcard_make_response(vcard_7816_status_t status);
|
||||
|
||||
@@ -1250,7 +1250,7 @@ vcard_emul_usage(void)
|
||||
" {card_type_to_emulate} What card interface to present to the guest\n"
|
||||
" {param_for_card} Card interface specific parameters\n"
|
||||
" {slot_name} NSS slot that contains the certs\n"
|
||||
" {vreader_name} Virutal reader name to present to the guest\n"
|
||||
" {vreader_name} Virtual reader name to present to the guest\n"
|
||||
" {certN} Nickname of the certificate n on the virtual card\n"
|
||||
"\n"
|
||||
"These parameters come as a single string separated by blanks or newlines."
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user