summaryrefslogtreecommitdiff
path: root/plugins/arm/v7/registers
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2021-06-01 22:32:50 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2021-06-01 22:32:50 (GMT)
commit9eab0a0903303d3c93872e7e4b6b1cb774b69b03 (patch)
treeae8594cae830118ca3a92ee60242490e58c14a9e /plugins/arm/v7/registers
parent1865cce4d51b9c7a6fb718f4e2c034a57365ad1b (diff)
Improve the code quality by renaming the type for packed buffers.
Diffstat (limited to 'plugins/arm/v7/registers')
-rw-r--r--plugins/arm/v7/registers/banked.c4
-rw-r--r--plugins/arm/v7/registers/basic.c4
-rw-r--r--plugins/arm/v7/registers/coproc.c4
-rw-r--r--plugins/arm/v7/registers/simd.c8
-rw-r--r--plugins/arm/v7/registers/special.c4
5 files changed, 12 insertions, 12 deletions
diff --git a/plugins/arm/v7/registers/banked.c b/plugins/arm/v7/registers/banked.c
index a74eca0..daeae71 100644
--- a/plugins/arm/v7/registers/banked.c
+++ b/plugins/arm/v7/registers/banked.c
@@ -82,7 +82,7 @@ static GArchRegister *_g_armv7_banked_register_new(BankedRegisterTarget);
/* Charge un registre depuis une mémoire tampon. */
-static GArchRegister *g_armv7_banked_register_unserialize(GArmV7BankedRegister *, GAsmStorage *, packed_buffer *);
+static GArchRegister *g_armv7_banked_register_unserialize(GArmV7BankedRegister *, GAsmStorage *, packed_buffer_t *);
@@ -585,7 +585,7 @@ BankedRegisterTarget g_armv7_banked_register_get_target(const GArmV7BankedRegist
* *
******************************************************************************/
-static GArchRegister *g_armv7_banked_register_unserialize(GArmV7BankedRegister *reg, GAsmStorage *storage, packed_buffer *pbuf)
+static GArchRegister *g_armv7_banked_register_unserialize(GArmV7BankedRegister *reg, GAsmStorage *storage, packed_buffer_t *pbuf)
{
GArchRegister *result; /* Instance à retourner */
uint8_t index; /* Indice du registre */
diff --git a/plugins/arm/v7/registers/basic.c b/plugins/arm/v7/registers/basic.c
index dc491fe..d92f74e 100644
--- a/plugins/arm/v7/registers/basic.c
+++ b/plugins/arm/v7/registers/basic.c
@@ -79,7 +79,7 @@ static GArchRegister *_g_armv7_basic_register_new(uint8_t);
/* Charge un registre depuis une mémoire tampon. */
-static GArchRegister *g_armv7_basic_register_unserialize(GArmV7BasicRegister *, GAsmStorage *, packed_buffer *);
+static GArchRegister *g_armv7_basic_register_unserialize(GArmV7BasicRegister *, GAsmStorage *, packed_buffer_t *);
@@ -320,7 +320,7 @@ GArchRegister *g_armv7_basic_register_new(uint8_t index)
* *
******************************************************************************/
-static GArchRegister *g_armv7_basic_register_unserialize(GArmV7BasicRegister *reg, GAsmStorage *storage, packed_buffer *pbuf)
+static GArchRegister *g_armv7_basic_register_unserialize(GArmV7BasicRegister *reg, GAsmStorage *storage, packed_buffer_t *pbuf)
{
GArchRegister *result; /* Instance à retourner */
uint8_t index; /* Indice du registre */
diff --git a/plugins/arm/v7/registers/coproc.c b/plugins/arm/v7/registers/coproc.c
index 0190eef..acfbb81 100644
--- a/plugins/arm/v7/registers/coproc.c
+++ b/plugins/arm/v7/registers/coproc.c
@@ -80,7 +80,7 @@ static GArchRegister *_g_armv7_cp_register_new(uint8_t);
/* Charge un registre depuis une mémoire tampon. */
-static GArchRegister *g_armv7_cp_register_unserialize(GArmV7CpRegister *, GAsmStorage *, packed_buffer *);
+static GArchRegister *g_armv7_cp_register_unserialize(GArmV7CpRegister *, GAsmStorage *, packed_buffer_t *);
@@ -300,7 +300,7 @@ GArchRegister *g_armv7_cp_register_new(uint8_t index)
* *
******************************************************************************/
-static GArchRegister *g_armv7_cp_register_unserialize(GArmV7CpRegister *reg, GAsmStorage *storage, packed_buffer *pbuf)
+static GArchRegister *g_armv7_cp_register_unserialize(GArmV7CpRegister *reg, GAsmStorage *storage, packed_buffer_t *pbuf)
{
GArchRegister *result; /* Instance à retourner */
uint8_t index; /* Indice du registre */
diff --git a/plugins/arm/v7/registers/simd.c b/plugins/arm/v7/registers/simd.c
index 957e2f9..eedd7c8 100644
--- a/plugins/arm/v7/registers/simd.c
+++ b/plugins/arm/v7/registers/simd.c
@@ -82,10 +82,10 @@ static GArchRegister *_g_armv7_simd_register_new(SIMDRegisterMapping, uint8_t);
/* Charge un registre depuis une mémoire tampon. */
-static GArchRegister *g_armv7_simd_register_unserialize(GArmV7SIMDRegister *, GAsmStorage *, packed_buffer *);
+static GArchRegister *g_armv7_simd_register_unserialize(GArmV7SIMDRegister *, GAsmStorage *, packed_buffer_t *);
/* Sauvegarde un registre dans une mémoire tampon. */
-static bool g_armv7_simd_register_serialize(const GArmV7SIMDRegister *, GAsmStorage *, packed_buffer *);
+static bool g_armv7_simd_register_serialize(const GArmV7SIMDRegister *, GAsmStorage *, packed_buffer_t *);
@@ -346,7 +346,7 @@ GArchRegister *g_armv7_simd_register_new(SIMDRegisterMapping mapping, uint8_t in
* *
******************************************************************************/
-static GArchRegister *g_armv7_simd_register_unserialize(GArmV7SIMDRegister *reg, GAsmStorage *storage, packed_buffer *pbuf)
+static GArchRegister *g_armv7_simd_register_unserialize(GArmV7SIMDRegister *reg, GAsmStorage *storage, packed_buffer_t *pbuf)
{
GArchRegister *result; /* Instance à retourner */
SIMDRegisterMapping mapping; /* Type de registre */
@@ -401,7 +401,7 @@ static GArchRegister *g_armv7_simd_register_unserialize(GArmV7SIMDRegister *reg,
* *
******************************************************************************/
-static bool g_armv7_simd_register_serialize(const GArmV7SIMDRegister *reg, GAsmStorage *storage, packed_buffer *pbuf)
+static bool g_armv7_simd_register_serialize(const GArmV7SIMDRegister *reg, GAsmStorage *storage, packed_buffer_t *pbuf)
{
bool result; /* Bilan à retourner */
GArchRegisterClass *parent; /* Classe parente à consulter */
diff --git a/plugins/arm/v7/registers/special.c b/plugins/arm/v7/registers/special.c
index 8591239..ff46a1e 100644
--- a/plugins/arm/v7/registers/special.c
+++ b/plugins/arm/v7/registers/special.c
@@ -79,7 +79,7 @@ static GArchRegister *_g_armv7_special_register_new(SpecRegTarget);
/* Charge un registre depuis une mémoire tampon. */
-static GArchRegister *g_armv7_special_register_unserialize(GArmV7SpecialRegister *, GAsmStorage *, packed_buffer *);
+static GArchRegister *g_armv7_special_register_unserialize(GArmV7SpecialRegister *, GAsmStorage *, packed_buffer_t *);
@@ -344,7 +344,7 @@ GArchRegister *g_armv7_special_register_new(SpecRegTarget target)
* *
******************************************************************************/
-static GArchRegister *g_armv7_special_register_unserialize(GArmV7SpecialRegister *reg, GAsmStorage *storage, packed_buffer *pbuf)
+static GArchRegister *g_armv7_special_register_unserialize(GArmV7SpecialRegister *reg, GAsmStorage *storage, packed_buffer_t *pbuf)
{
GArchRegister *result; /* Instance à retourner */
uint8_t index; /* Indice du registre */