RT-Thread RTOS 1.2.0
An open source embedded real-time operating system
载入中...
搜索中...
未找到
kservice.c 文件参考
#include <rtthread.h>
#include <rthw.h>
#include <rtdbg.h>
#include <dlmodule.h>
+ kservice.c 的引用(Include)关系图:

浏览该文件的源代码.

宏定义

#define RT_HW_INCLUDE_CPUPORT
 
#define DBG_TAG   "kernel.service"
 
#define DBG_LVL   DBG_WARNING
 
#define RT_HW_BACKTRACE_FRAME_GET_SELF(frame)
 
#define _MEM_INIT(...)
 
#define _MEM_MALLOC(...)
 
#define _MEM_REALLOC(...)
 
#define _MEM_FREE(...)
 
#define _MEM_INFO(...)
 

函数

rt_weak void rt_hw_us_delay (rt_uint32_t us)
 
rt_weak void rt_hw_cpu_reset (void)
 
rt_weak void rt_hw_cpu_shutdown (void)
 
rt_weak rt_err_t rt_hw_backtrace_frame_get (rt_thread_t thread, struct rt_hw_backtrace_frame *frame)
 
rt_weak rt_err_t rt_hw_backtrace_frame_unwind (rt_thread_t thread, struct rt_hw_backtrace_frame *frame)
 
rt_weak const char * rt_hw_cpu_arch (void)
 
void rt_show_version (void)
 
 RTM_EXPORT (rt_show_version)
 
rt_weak rt_err_t rt_backtrace (void)
 
rt_weak rt_err_t rt_backtrace_frame (rt_thread_t thread, struct rt_hw_backtrace_frame *frame)
 
rt_weak rt_err_t rt_backtrace_formatted_print (rt_ubase_t *buffer, long buflen)
 
rt_weak rt_err_t rt_backtrace_to_buffer (rt_thread_t thread, struct rt_hw_backtrace_frame *frame, long skip, rt_ubase_t *buffer, long buflen)
 
rt_err_t rt_backtrace_thread (rt_thread_t thread)
 
rt_inline void _heap_lock_init (void)
 
rt_inline rt_base_t _heap_lock (void)
 
rt_inline void _heap_unlock (rt_base_t level)
 
void rt_system_heap_init_generic (void *begin_addr, void *end_addr)
 
rt_weak void rt_system_heap_init (void *begin_addr, void *end_addr)
 
rt_weak void * rt_malloc (rt_size_t size)
 
 RTM_EXPORT (rt_malloc)
 
rt_weak void * rt_realloc (void *ptr, rt_size_t newsize)
 
 RTM_EXPORT (rt_realloc)
 
rt_weak void * rt_calloc (rt_size_t count, rt_size_t size)
 
 RTM_EXPORT (rt_calloc)
 
rt_weak void rt_free (void *ptr)
 
 RTM_EXPORT (rt_free)
 
rt_weak void rt_memory_info (rt_size_t *total, rt_size_t *used, rt_size_t *max_used)
 
 RTM_EXPORT (rt_memory_info)
 
rt_weak void * rt_malloc_align (rt_size_t size, rt_size_t align)
 
 RTM_EXPORT (rt_malloc_align)
 
rt_weak void rt_free_align (void *ptr)
 
 RTM_EXPORT (rt_free_align)
 
int __rt_ffs (int value)
 
void rt_malloc_sethook (void(*hook)(void **ptr, rt_size_t size))
 
void rt_realloc_set_entry_hook (void(*hook)(void **ptr, rt_size_t size))
 
void rt_realloc_set_exit_hook (void(*hook)(void **ptr, rt_size_t size))
 
void rt_free_sethook (void(*hook)(void **ptr))
 

变量

const rt_uint8_t __lowest_bit_bitmap []
 

宏定义说明

◆ RT_HW_INCLUDE_CPUPORT

#define RT_HW_INCLUDE_CPUPORT

在文件 kservice.c36 行定义.

◆ DBG_TAG

#define DBG_TAG   "kernel.service"

在文件 kservice.c39 行定义.

◆ DBG_LVL

#define DBG_LVL   DBG_WARNING

在文件 kservice.c43 行定义.