copy-unaligned.h 385 B

12345678910111213
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. /*
  3. * Copyright (C) 2023 Rivos, Inc.
  4. */
  5. #ifndef __RISCV_KERNEL_COPY_UNALIGNED_H
  6. #define __RISCV_KERNEL_COPY_UNALIGNED_H
  7. #include <linux/types.h>
  8. void __riscv_copy_words_unaligned(void *dst, const void *src, size_t size);
  9. void __riscv_copy_bytes_unaligned(void *dst, const void *src, size_t size);
  10. #endif /* __RISCV_KERNEL_COPY_UNALIGNED_H */