blk_partition.h 546 B

12345678910111213141516171819202122
  1. /*
  2. * Copyright (c) 2006-2023, RT-Thread Development Team
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. *
  6. * Change Logs:
  7. * Date Author Notes
  8. * 2023-02-25 GuEe-GUI first version
  9. */
  10. #ifndef __BLK_PARTITION_H__
  11. #define __BLK_PARTITION_H__
  12. #include "blk_dev.h"
  13. rt_err_t blk_put_partition(struct rt_blk_disk *disk, const char *type,
  14. rt_size_t start, rt_size_t count, int partno);
  15. rt_err_t dfs_partition(struct rt_blk_disk *disk);
  16. rt_err_t efi_partition(struct rt_blk_disk *disk);
  17. #endif /* __BLK_PARTITION_H__ */