3.9.1 Module API

Related headers [link] 

NameDescription
persist/persist.hPersistent configuration library

Members [link] 

Types [link] 

Functions [link] 

  • ENUM_DESCRIPTOR(persist_type_e , strip:PERSIST_, upper )
  • void persist_context_init(struct persist_context_s *ctx, uintptr_t dev_addr, size_t dev_size, size_t page_size)
  • void persist_erase(struct persist_context_s *ctx, struct persist_rq_s *rq)
  • void persist_pack(struct persist_context_s *ctx, struct persist_rq_s *rq)
  • void persist_read(struct persist_context_s *ctx, struct persist_rq_s *rq)
  • void persist_remove(struct persist_context_s *ctx, struct persist_rq_s *rq)
  • struct persist_rq_s * persist_rq_s_from_kr(void *x)
  • error_t persist_wait_counter_read(struct persist_context_s *ctx, const struct persist_descriptor_s *desc, uint16_t uid_offset, uint64_t *value)
  • error_t persist_wait_erase(struct persist_context_s *ctx)
  • error_t persist_wait_inc(struct persist_context_s *ctx, const struct persist_descriptor_s *desc, uint16_t uid_offset, uint64_t *counter)
  • error_t persist_wait_pack(struct persist_context_s *ctx)
  • error_t persist_wait_read(struct persist_context_s *ctx, const struct persist_descriptor_s *desc, uint16_t uid_offset, const void **data)
  • error_t persist_wait_remove(struct persist_context_s *ctx, const struct persist_descriptor_s *desc, uint16_t uid_offset)
  • error_t persist_wait_write(struct persist_context_s *ctx, const struct persist_descriptor_s *desc, uint16_t uid_offset, const void *data)
  • void persist_write(struct persist_context_s *ctx, struct persist_rq_s *rq)
  • void persist_sched_init(struct persist_rq_s *rq, struct persist_status_s *status)
  • void persist_sched_wait(struct persist_status_s *status)

Macro [link] 

Configuration tokens [link] 

Valid XHTML 1.0 StrictGenerated by diaxen on Thu Aug 4 15:44:05 2022 using MkDoc