diff options
author | Flavio Cruz <flaviocruz@gmail.com> | 2016-03-30 02:26:28 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2016-04-04 09:36:36 +0200 |
commit | 7bbfa39f59dcbc55b21d31abb9e2febef6a51ebb (patch) | |
tree | 840a881ede29701996d51a94272b4da3115e3412 /xen/store.c | |
parent | a90dc34f976cd37da23af526120f2ac480cb131f (diff) | |
download | gnumach-7bbfa39f59dcbc55b21d31abb9e2febef6a51ebb.tar.gz gnumach-7bbfa39f59dcbc55b21d31abb9e2febef6a51ebb.tar.bz2 gnumach-7bbfa39f59dcbc55b21d31abb9e2febef6a51ebb.zip |
Use uint32_t instead of unsigned32_t.
Implement stdint.h and use it in gnumach.
Remove old type definitions such as signed* and unsigned*.
* Makefile.am: Add -ffreestanding.
* i386/i386/xen.h: Use uint64_t.
* i386/include/mach/i386/machine_types.defs: Use uint32_t and int32_t.
* i386/include/mach/i386/vm_types.h: Remove definitions of int*, uint*,
unsigned* and signed* types.
* i386/xen/xen.c: Use uint64_t.
* include/device/device_types.defs: Use uint32_t.
* include/mach/std_types.defs: Use POSIX types.
* include/mach/std_types.h: Include stdint.h.
* include/stdint.h: New file with POSIX types.
* include/sys/types.h: Include stdint.h.
* ipc/ipc_kmsg.c: Use uint64_t.
* kern/exception.c: Use uint32_t.
* linux/dev/include/linux/types.h: Remove POSIX types.
* xen/block.c: Use uint64_t.
* xen/net.c: Do not use removed unsigned*_t types.
* xen/ring.h: Use uint32_t instead.
* xen/store.c: Use uint32_t.
* xen/store.h: Use uint32_t.
* xen/time.c: Use POSIX types only.
* xen/time.h: Use uint64_t.
Diffstat (limited to 'xen/store.c')
-rw-r--r-- | xen/store.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xen/store.c b/xen/store.c index 739dc367..659a70c7 100644 --- a/xen/store.c +++ b/xen/store.c @@ -46,7 +46,7 @@ struct store_req { }; /* Send a request */ -static void store_put(hyp_store_transaction_t t, unsigned32_t type, struct store_req *req, unsigned nr_reqs) { +static void store_put(hyp_store_transaction_t t, uint32_t type, struct store_req *req, unsigned nr_reqs) { struct xsd_sockmsg head = { .type = type, .req_id = 0, @@ -105,7 +105,7 @@ static const char *errors[] = { static struct xsd_sockmsg head; const char *hyp_store_error; -static void *store_put_wait(hyp_store_transaction_t t, unsigned32_t type, struct store_req *req, unsigned nr_reqs) { +static void *store_put_wait(hyp_store_transaction_t t, uint32_t type, struct store_req *req, unsigned nr_reqs) { unsigned len; const char **error; void *data; |