Changeset bd5f3b7 in mainline for uspace/lib/c/arch/abs32le/include/elf_linux.h
- Timestamp:
- 2011-08-21T13:07:35Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 00aece0, f1a9e87
- Parents:
- 86a34d3e (diff), a6480d5 (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. - File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/arch/abs32le/include/elf_linux.h
r86a34d3e rbd5f3b7 1 1 /* 2 * Copyright (c) 2011 Vojtech Horky2 * Copyright (c) 2011 Jiri Svoboda 3 3 * All rights reserved. 4 4 * … … 27 27 */ 28 28 29 /** @addtogroup drvusbmast29 /** @addtogroup libcabs32le 30 30 * @{ 31 31 */ 32 32 /** @file 33 * Generic functions for USB mass storage.34 33 */ 35 34 36 #ifndef USB_USBMAST_MAST_H_37 #define USB_USBMAST_MAST_H_35 #ifndef LIBC_abs32le_ELF_LINUX_H_ 36 #define LBIC_abs32le_ELF_LINUX_H_ 38 37 39 #include < scsi/spc.h>38 #include <libarch/istate.h> 40 39 #include <sys/types.h> 41 #include <usb/usb.h>42 #include <usb/dev/pipes.h>43 #include <usb/dev/driver.h>44 40 45 #define BULK_IN_EP 0 46 #define BULK_OUT_EP 1 41 typedef struct { 42 } elf_regs_t; 47 43 48 int usb_massstor_data_in(usb_device_t *dev, uint32_t, uint8_t, void *, 49 size_t, void *, size_t, size_t *); 50 int usb_massstor_reset(usb_device_t *); 51 void usb_massstor_reset_recovery(usb_device_t *); 52 int usb_massstor_get_max_lun(usb_device_t *); 53 size_t usb_masstor_get_lun_count(usb_device_t *); 44 static inline void istate_to_elf_regs(istate_t *istate, elf_regs_t *elf_regs) 45 { 46 (void) istate; (void) elf_regs; 47 } 54 48 55 49 #endif 56 50 57 /** 58 * @} 51 /** @} 59 52 */
Note:
See TracChangeset
for help on using the changeset viewer.