[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH hurd 6/9] boot: drop obsolete device procedures
From: |
Samuel Thibault |
Subject: |
Re: [PATCH hurd 6/9] boot: drop obsolete device procedures |
Date: |
Fri, 7 Nov 2014 19:10:17 +0100 |
User-agent: |
Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30) |
Justus Winter, le Fri 07 Nov 2014 17:31:59 +0100, a écrit :
> * boot/boot.c (ds_xxx_device_set_status): Remove function.
> (ds_xxx_device_get_status): Likewise.
> (ds_xxx_device_set_filter): Likewise.
Ack.
> ---
> boot/boot.c | 34 ----------------------------------
> 1 file changed, 34 deletions(-)
>
> diff --git a/boot/boot.c b/boot/boot.c
> index 250018e..a655107 100644
> --- a/boot/boot.c
> +++ b/boot/boot.c
> @@ -1118,40 +1118,6 @@ ds_device_read_inband (device_t device,
> }
>
> kern_return_t
> -ds_xxx_device_set_status (device_t device,
> - dev_flavor_t flavor,
> - dev_status_t status,
> - size_t statu_cnt)
> -{
> - if (device != pseudo_console)
> - return D_NO_SUCH_DEVICE;
> - return D_INVALID_OPERATION;
> -}
> -
> -kern_return_t
> -ds_xxx_device_get_status (device_t device,
> - dev_flavor_t flavor,
> - dev_status_t status,
> - size_t *statuscnt)
> -{
> - if (device != pseudo_console && device != pseudo_root)
> - return D_NO_SUCH_DEVICE;
> - return D_INVALID_OPERATION;
> -}
> -
> -kern_return_t
> -ds_xxx_device_set_filter (device_t device,
> - mach_port_t rec,
> - int pri,
> - filter_array_t filt,
> - size_t len)
> -{
> - if (device != pseudo_console && device != pseudo_root)
> - return D_NO_SUCH_DEVICE;
> - return D_INVALID_OPERATION;
> -}
> -
> -kern_return_t
> ds_device_map (device_t device,
> vm_prot_t prot,
> vm_offset_t offset,
> --
> 2.1.1
>
--
Samuel
"c'est pas nous qui sommes à la rue, c'est la rue qui est à nous"
- [PATCH hurd 1/9] Makeconf: handle the gnumach protocol, Justus Winter, 2014/11/07
- [PATCH hurd 2/9] proc: gracefully handle failure to increase priority, Justus Winter, 2014/11/07
- [PATCH hurd 3/9] startup: also open `console' for reading, Justus Winter, 2014/11/07
- [PATCH hurd 4/9] boot: drop bootstrap compat code, Justus Winter, 2014/11/07
- [PATCH hurd 5/9] boot: remove unused function `boot_script_read_file', Justus Winter, 2014/11/07
- [PATCH hurd 6/9] boot: drop obsolete device procedures, Justus Winter, 2014/11/07
- Re: [PATCH hurd 6/9] boot: drop obsolete device procedures,
Samuel Thibault <=
- [PATCH hurd 7/9] boot: support ds_device_get_status with flavor DEV_GET_RECORDS, Justus Winter, 2014/11/07
- [PATCH hurd 8/9] boot: implement pseudo-time device, Justus Winter, 2014/11/07
- [PATCH hurd 9/9] boot: improve the demuxer, Justus Winter, 2014/11/07
- Re: [PATCH hurd 1/9] Makeconf: handle the gnumach protocol, Samuel Thibault, 2014/11/20