[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [5415] Add some missing static qualifiers
From: |
Blue Swirl |
Subject: |
[Qemu-devel] [5415] Add some missing static qualifiers |
Date: |
Sat, 04 Oct 2008 07:24:28 +0000 |
Revision: 5415
http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5415
Author: blueswir1
Date: 2008-10-04 07:24:27 +0000 (Sat, 04 Oct 2008)
Log Message:
-----------
Add some missing static qualifiers
Modified Paths:
--------------
trunk/exec.c
trunk/vl.c
Modified: trunk/exec.c
===================================================================
--- trunk/exec.c 2008-10-04 07:22:29 UTC (rev 5414)
+++ trunk/exec.c 2008-10-04 07:24:27 UTC (rev 5415)
@@ -82,10 +82,10 @@
#define TARGET_PHYS_ADDR_SPACE_BITS 32
#endif
-TranslationBlock *tbs;
+static TranslationBlock *tbs;
int code_gen_max_blocks;
TranslationBlock *tb_phys_hash[CODE_GEN_PHYS_HASH_SIZE];
-int nb_tbs;
+static int nb_tbs;
/* any access to the tbs or the page table must use this lock */
spinlock_t tb_lock = SPIN_LOCK_UNLOCKED;
@@ -102,10 +102,10 @@
#endif
uint8_t code_gen_prologue[1024] code_gen_section;
-uint8_t *code_gen_buffer;
-unsigned long code_gen_buffer_size;
+static uint8_t *code_gen_buffer;
+static unsigned long code_gen_buffer_size;
/* threshold to flush the translated code buffer */
-unsigned long code_gen_buffer_max_size;
+static unsigned long code_gen_buffer_max_size;
uint8_t *code_gen_ptr;
#if !defined(CONFIG_USER_ONLY)
@@ -166,7 +166,7 @@
/* XXX: for system emulation, it could just be an array */
static PageDesc *l1_map[L1_SIZE];
-PhysPageDesc **l1_phys_map;
+static PhysPageDesc **l1_phys_map;
#if !defined(CONFIG_USER_ONLY)
static void io_mem_init(void);
@@ -637,7 +637,7 @@
}
}
-void tb_jmp_check(TranslationBlock *tb)
+static void tb_jmp_check(TranslationBlock *tb)
{
TranslationBlock *tb1;
unsigned int n1;
Modified: trunk/vl.c
===================================================================
--- trunk/vl.c 2008-10-04 07:22:29 UTC (rev 5414)
+++ trunk/vl.c 2008-10-04 07:24:27 UTC (rev 5415)
@@ -7359,7 +7359,7 @@
/***********************************************************/
/* machine registration */
-QEMUMachine *first_machine = NULL;
+static QEMUMachine *first_machine = NULL;
int qemu_register_machine(QEMUMachine *m)
{
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-devel] [5415] Add some missing static qualifiers,
Blue Swirl <=