Changeset ebb1489 in mainline for uspace/drv/block/isa-ide/main.h


Ignore:
Timestamp:
2024-10-13T08:23:40Z (2 months ago)
Author:
GitHub <noreply@…>
Children:
0472cf17
Parents:
2a0c827c (diff), b3b79981 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
git-author:
boba-buba <120932204+boba-buba@…> (2024-10-13 08:23:40)
git-committer:
GitHub <noreply@…> (2024-10-13 08:23:40)
Message:

Merge branch 'HelenOS:master' into topic/packet-capture

File:
1 moved

Legend:

Unmodified
Added
Removed
  • uspace/drv/block/isa-ide/main.h

    r2a0c827c rebb1489  
    11/*
    2  * Copyright (c) 2006 Jakub Jermar
     2 * Copyright (c) 2024 Jiri Svoboda
    33 * All rights reserved.
    44 *
     
    2727 */
    2828
    29 /** @addtogroup abi_generic
     29/** @addtogroup isa-ide
    3030 * @{
    3131 */
    32 /** @file
     32/** @file ISA IDE driver main module
    3333 */
    3434
    35 #ifndef _ABI_PROC_UARG_H_
    36 #define _ABI_PROC_UARG_H_
     35#ifndef MAIN_H
     36#define MAIN_H
    3737
    38 #include <stddef.h>
    39 #include <_bits/native.h>
     38#include "isa-ide.h"
    4039
    41 typedef void uspace_thread_function_t(void *);
    42 
    43 /** Structure passed to uinit kernel thread as argument. */
    44 typedef struct uspace_arg {
    45         uspace_addr_t uspace_entry;
    46         uspace_addr_t uspace_stack;
    47         size_t uspace_stack_size;
    48 
    49         uspace_ptr_uspace_thread_function_t uspace_thread_function;
    50         uspace_addr_t uspace_thread_arg;
    51 
    52         uspace_ptr_struct_uspace_arg uspace_uarg;
    53 } uspace_arg_t;
     40extern errno_t isa_ide_fun_create(isa_ide_channel_t *, unsigned, void *);
     41extern errno_t isa_ide_fun_remove(isa_ide_channel_t *, unsigned);
     42extern errno_t isa_ide_fun_unbind(isa_ide_channel_t *, unsigned);
    5443
    5544#endif
Note: See TracChangeset for help on using the changeset viewer.