[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 05/14] i386/i386/idt.c: move struct definition to a header fi
From: |
Samuel Thibault |
Subject: |
Re: [PATCH 05/14] i386/i386/idt.c: move struct definition to a header file |
Date: |
Sun, 8 Dec 2013 23:28:35 +0900 |
User-agent: |
Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30) |
Marin Ramesa, le Mon 02 Dec 2013 22:54:43 +0100, a écrit :
> * i386/i386/idt.c (idt_init_entry): Move struct definition to
> i386/i386/idt-gen.h.
Ditto.
> ---
> i386/i386/idt-gen.h | 7 +++++++
> i386/i386/idt.c | 6 ------
> 2 files changed, 7 insertions(+), 6 deletions(-)
>
> diff --git a/i386/i386/idt-gen.h b/i386/i386/idt-gen.h
> index f86afb4..1aad4c0 100644
> --- a/i386/i386/idt-gen.h
> +++ b/i386/i386/idt-gen.h
> @@ -40,6 +40,13 @@
>
> extern struct real_gate idt[IDTSZ];
>
> +struct idt_init_entry
> +{
> + unsigned entrypoint;
> + unsigned short vector;
> + unsigned short type;
> +};
> +
> /* Fill a gate in the IDT. */
> #define fill_idt_gate(int_num, entry, selector, access, dword_count) \
> fill_gate(&idt[int_num], entry, selector, access, dword_count)
> diff --git a/i386/i386/idt.c b/i386/i386/idt.c
> index 882764f..90a80c9 100644
> --- a/i386/i386/idt.c
> +++ b/i386/i386/idt.c
> @@ -28,12 +28,6 @@
>
> struct real_gate idt[IDTSZ];
>
> -struct idt_init_entry
> -{
> - unsigned entrypoint;
> - unsigned short vector;
> - unsigned short type;
> -};
> extern struct idt_init_entry idt_inittab[];
>
> void idt_init()
> --
> 1.8.1.4
>
>
--
Samuel
<c> xlnt comme sujet de stage je peux essayer de donner une description
formelle de automake
-+- #ens-mim -+-
- [PATCH 02/14] i386/i386at/kd.c: remove useless old code, (continued)
- [PATCH 04/14] ddb/db_macro.c: move struct definition to a header file, Marin Ramesa, 2013/12/02
- [PATCH 05/14] i386/i386/idt.c: move struct definition to a header file, Marin Ramesa, 2013/12/02
- Re: [PATCH 05/14] i386/i386/idt.c: move struct definition to a header file,
Samuel Thibault <=
- [PATCH 06/14] i386/intel/pmap.c: move struct definitions to a header file, Marin Ramesa, 2013/12/02
- [PATCH 07/14] ipc/ipc_hash.c: move struct definition to a header file, Marin Ramesa, 2013/12/02
- [PATCH 08/14] ipc/ipc_marequest.c: move struct definition to a header file, Marin Ramesa, 2013/12/02
- [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