Crate abi

Source

Structs§

Context
RawMutex
RawRwLock
XilaFileSystemStatistics
XilaSemaphore

Enums§

XilaFileKind
XilaFileSystemWhence
XilaTimeClockIdentifier
XilaTimerFlags

Statics§

CONTEXT
RAW_MUTEX_SIZE
RAW_RWLOCK_SIZE
XILA_FILE_SYSTEM_MODE_READ_MASK
XILA_FILE_SYSTEM_MODE_WRITE_MASK
XILA_FILE_SYSTEM_OPEN_CREATE_MASK
XILA_FILE_SYSTEM_OPEN_CREATE_ONLY_MASK
XILA_FILE_SYSTEM_OPEN_TRUNCATE_MASK
XILA_FILE_SYSTEM_STATUS_APPEND_MASK
XILA_FILE_SYSTEM_STATUS_NON_BLOCKING_MASK
XILA_FILE_SYSTEM_STATUS_SYNCHRONOUS_DATA_ONLY_MASK
XILA_FILE_SYSTEM_STATUS_SYNCHRONOUS_MASK
XILA_MEMORY_CAPABILITIES_DIRECT_MEMORY_ACCESS
Direct Memory Access (DMA) capability - memory is accessible by DMA controllers
XILA_MEMORY_CAPABILITIES_EXECUTE
Executable capability - memory can be used for code execution
XILA_MEMORY_CAPABILITIES_NONE
No special capabilities required - standard memory allocation
XILA_MEMORY_PROTECTION_EXECUTE
Execute permission flag - allows executing code from memory
XILA_MEMORY_PROTECTION_READ
Read permission flag - allows reading from memory
XILA_MEMORY_PROTECTION_WRITE
Write permission flag - allows writing to memory

Functions§

get_instance
into_pointer
Converts a function that returns an Option<NonNull<P>> into a raw C-compatible pointer.
into_position
into_u32
This function is used to convert a function returning a Result into a u32.
xila_condition_variable_attribute_destroy
This function is used to destroy a condition variable attribute.
xila_condition_variable_attribute_initialize
This function is used to create a condition variable attribute.
xila_condition_variable_attribute_set_clock
This function is used to set the clock of a condition variable attribute.
xila_condition_variable_broadcast
This function is used to broadcast a condition variable.
xila_condition_variable_initialize
This function is used to initialize a condition variable.
xila_condition_variable_new
This function is used to create a condition variable.
xila_condition_variable_remove
This function is used to delete a condition variable.
xila_condition_variable_signal
This function is used to signal a condition variable.
xila_condition_variable_try_wait
This function is used to try wait a condition variable.
xila_condition_variable_wait
This function is used to wait a condition variable.
xila_destroy_mutex
Destroy a mutex.
xila_destroy_rwlock
Destroy a rwlock.
xila_file_system_advise
This function is used to advice the file system about the access pattern of a file.
xila_file_system_allocate
xila_file_system_close
This function is used to close a file.
xila_file_system_close_directory
xila_file_system_create_directory
This function is used to get the position in a file.
xila_file_system_create_symbolic_link_at
xila_file_system_directory_set_position
xila_file_system_flush
xila_file_system_get_access_mode
This function is used to get the access mode of a file.
xila_file_system_get_flags
This function is used to get the flags of a file.
xila_file_system_get_statistics
This function is used to open a file.
xila_file_system_get_statistics_from_path
This function is used to get the statistics of a file from its path.
xila_file_system_is_a_terminal
This function is used to check if a file is a terminal.
xila_file_system_is_stderr
xila_file_system_is_stdin
xila_file_system_is_stdout
xila_file_system_link
This function is used to create a symbolic link.
xila_file_system_open
This function is used to open a file.
xila_file_system_open_directory
This function is used to open a directory.
xila_file_system_read_at_position_vectored
This function is used to perform a read operation on a file at a specific position.
xila_file_system_read_directory
This function is used to read a directory.
xila_file_system_read_link_at
xila_file_system_read_vectored
This function is used to perform a write operation on a file.
xila_file_system_receive
This function is used to receive data through a socket.
xila_file_system_remove
This function is used to remove a file.
xila_file_system_rename
This function is used to rename (move) a file.
xila_file_system_resolve_path
This function is used to convert a path to a resolved path (i.e. a path without symbolic links or relative paths).
xila_file_system_rewind_directory
xila_file_system_send
This function is used to send data through a socket.
xila_file_system_set_flags
xila_file_system_set_position
This function is used to set the position in a file.
xila_file_system_set_times
xila_file_system_set_times_from_path
This function is used to set access and modification times of a file.
xila_file_system_truncate
This function is used to truncate a file.
xila_file_system_write_at_position_vectored
This function is used to perform a write operation on a file at a specific position.
xila_file_system_write_vectored
This function is used perform a vectored write operation on a file.
xila_get_current_thread_identifier
xila_initialize_mutex
This function is used to initialize a mutex.
xila_initialize_recursive_mutex
Initialize a recursive mutex.
xila_initialize_rwlock
This function is used to initialize a rwlock.
xila_lock_mutex
Lock a mutex (blocking).
xila_memory_allocate
Allocates a memory block with specified properties.
xila_memory_deallocate
Deallocates a previously allocated memory block.
xila_memory_flush_data_cache
Flushes the data cache.
xila_memory_flush_instruction_cache
Flushes the instruction cache for a specific memory region.
xila_memory_get_page_size
Returns the system’s memory page size.
xila_memory_reallocate
Reallocates a memory block to a new size.
xila_read_rwlock
Read lock a rwlock.
xila_semaphore_close
This function is used to close a semaphore.
xila_semaphore_get_value
This function is used to get the value of a semaphore.
xila_semaphore_open
This function is used to create a semaphore.
xila_semaphore_post
This function is used to post a semaphore.
xila_semaphore_remove
This function is used to get the value of a semaphore.
xila_semaphore_try_wait
This function is used to try wait a semaphore.
xila_semaphore_wait
This function is used to wait a semaphore.
xila_thread_begin_blocking_operation
xila_thread_create
xila_thread_detach
xila_thread_end_blocking_operation
xila_thread_exit
xila_thread_get_stack_boundary
xila_thread_join
xila_thread_sleep
xila_thread_sleep_exact
xila_thread_wake_up
xila_thread_yield
xila_time_get_cpu
xila_time_get_resolution
Retrieve the current time since the system startup in milliseconds.
xila_time_get_time
Retrieve the current time since the system startup in milliseconds.
xila_time_get_time_since_startup_microseconds
Retrieve the current time since the system startup in microseconds.
xila_time_nano_sleep
xila_unlock_mutex
Unlock a mutex (blocking).
xila_unlock_rwlock
Unlock a rwlock.
xila_write_rwlock
Write lock a rwlock.

Type Aliases§

XilaConditionVariable
XilaConditionVariableAttribute
XilaFileSystemInode
XilaFileSystemMode
XilaFileSystemOpen
XilaFileSystemResult
XilaFileSystemSize
XilaFileSystemStatus
XilaGroupIdentifier
XilaMemoryCapabilities
Memory capability flags that specify special requirements for allocated memory. These flags can be combined using bitwise OR to request multiple capabilities.
XilaMemoryProtection
Memory protection flags that can be combined using bitwise OR. These flags determine what operations are allowed on memory regions.
XilaThreadIdentifier
XilaTime
XilaUniqueFileIdentifier
XilaUserIdentifier