[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 14/14] vm/vm_resident.c: move struct definition to a header f
From: |
Samuel Thibault |
Subject: |
Re: [PATCH 14/14] vm/vm_resident.c: move struct definition to a header file |
Date: |
Sun, 8 Dec 2013 23:29:59 +0900 |
User-agent: |
Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30) |
Marin Ramesa, le Mon 02 Dec 2013 22:54:52 +0100, a écrit :
> * vm/vm_resident.c: Include vm/vm_resident.h.
> (vm_page_bucket_t): Move struct defintion to vm/vm_resident.h.
Ditto.
> ---
> vm/vm_resident.c | 5 +----
> vm/vm_resident.h | 5 +++++
> 2 files changed, 6 insertions(+), 4 deletions(-)
>
> diff --git a/vm/vm_resident.c b/vm/vm_resident.c
> index fbd4275..b164109 100644
> --- a/vm/vm_resident.c
> +++ b/vm/vm_resident.c
> @@ -51,6 +51,7 @@
> #include <vm/vm_page.h>
> #include <vm/vm_pageout.h>
> #include <vm/vm_kern.h>
> +#include <vm/vm_resident.h>
>
> #if MACH_VM_DEBUG
> #include <mach/kern_return.h>
> @@ -86,10 +87,6 @@ vm_offset_t virtual_space_end;
> * [This table is often called the virtual-to-physical,
> * or VP, table.]
> */
> -typedef struct {
> - decl_simple_lock_data(,lock)
> - vm_page_t pages;
> -} vm_page_bucket_t;
>
> vm_page_bucket_t *vm_page_buckets; /* Array of buckets */
> unsigned int vm_page_bucket_count = 0; /* How big is array? */
> diff --git a/vm/vm_resident.h b/vm/vm_resident.h
> index e8bf681..d1a79fc 100644
> --- a/vm/vm_resident.h
> +++ b/vm/vm_resident.h
> @@ -28,6 +28,11 @@
>
> #include <mach/std_types.h>
>
> +typedef struct {
> + decl_simple_lock_data(,lock)
> + vm_page_t pages;
> +} vm_page_bucket_t;
> +
> /*
> * vm_page_replace:
> *
> --
> 1.8.1.4
>
>
--
Samuel
La carte réseau fournie par cybercable (sn2000) ne va-t-elle que sur
bus isa ou peut-on aussi la mettre sur bus PCI.
Merci de m'éclairer.
-+- JP in le Neuneu Pète un Câble : Une carte dans chaque port -+-
- [PATCH 09/14] ipc/ipc_port.c: trivial stylistic fix for consistency, (continued)
- [PATCH 09/14] ipc/ipc_port.c: trivial stylistic fix for consistency, Marin Ramesa, 2013/12/02
- [PATCH 10/14] kern/act.c: move struct definition to a header file, Marin Ramesa, 2013/12/02
- [PATCH 12/14] vm/memory_object_proxy.c: move struct definition to a header file, Marin Ramesa, 2013/12/02
- [PATCH 11/14] kern/lock.c: move struct definition to a header file, Marin Ramesa, 2013/12/02
- [PATCH 13/14] vm/vm_fault.c: move struct definition to a header file, Marin Ramesa, 2013/12/02
- [PATCH 14/14] vm/vm_resident.c: move struct definition to a header file, Marin Ramesa, 2013/12/02
- Re: [PATCH 14/14] vm/vm_resident.c: move struct definition to a header file,
Samuel Thibault <=
- Re: [PATCH 01/14] i386/i386at/kd.c: fix signed overflow (a warning from GCC), Samuel Thibault, 2013/12/08
- Re: [PATCH 01/14] i386/i386at/kd.c: fix signed overflow (a warning from GCC), Marin Ramesa, 2013/12/09
- Re: [PATCH 01/14] i386/i386at/kd.c: fix signed overflow (a warning from GCC), Richard Braun, 2013/12/09
- Re: [PATCH 01/14] i386/i386at/kd.c: fix signed overflow (a warning from GCC), Marin Ramesa, 2013/12/09
- Re: [PATCH 01/14] i386/i386at/kd.c: fix signed overflow (a warning from GCC), Richard Braun, 2013/12/09
- Re: [PATCH 01/14] i386/i386at/kd.c: fix signed overflow (a warning from GCC), Samuel Thibault, 2013/12/09
- Re: [PATCH 01/14] i386/i386at/kd.c: fix signed overflow (a warning from GCC), Richard Braun, 2013/12/09
- Re: [PATCH 01/14] i386/i386at/kd.c: fix signed overflow (a warning from GCC), Samuel Thibault, 2013/12/09
- Re: [PATCH 01/14] i386/i386at/kd.c: fix signed overflow (a warning from GCC), Marin Ramesa, 2013/12/09
- Re: [PATCH 01/14] i386/i386at/kd.c: fix signed overflow (a warning from GCC), Samuel Thibault, 2013/12/15