Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/f9micro/f9-kernel
/ functions
Functions
1,233 in github.com/f9micro/f9-kernel
⨍
Functions
1,233
◇
Types & classes
166
↓ 191 callers
Function
dbg_printf
kernel/debug.c:14
↓ 105 callers
Function
printf
user/lib/io/l4io.c:11
↓ 79 callers
Function
lcd_write_data
platform/stm32f429/lcd.c:80
↓ 71 callers
Function
gpio_config
platform/stm32-common/gpio-f4.c:68
↓ 49 callers
Function
L4_MsgAppendWord
user/include/l4/message.h:474
↓ 40 callers
Function
L4_TimePeriod
user/include/l4/types.h:509
↓ 32 callers
Function
irq_restore_flags
include/platform/irq.h:71
↓ 31 callers
Function
L4_Sleep
user/include/l4/ipc.h:182
↓ 28 callers
Function
L4_MsgLoad
user/include/l4/message.h:458
↓ 28 callers
Function
lcd_write_cmd
platform/stm32f429/lcd.c:64
↓ 28 callers
Function
pthread_mutex_unlock
user/lib/posix/pthread.c:997
↓ 27 callers
Function
L4_MsgClear
user/include/l4/message.h:469
↓ 25 callers
Function
__L4_Utcb
user/include/l4/platform/vregs.h:16
↓ 25 callers
Function
irq_save_flags
* Save and restore interrupt state (PRIMASK). * Used for critical sections that may be nested or called from * contexts where IRQ state is unknown.
include/platform/irq.h:61
↓ 22 callers
Function
L4_ExchangeRegisters
user/lib/l4/platform/syscalls.c:22
↓ 22 callers
Function
pthread_mutex_lock
user/lib/posix/pthread.c:870
↓ 22 callers
Function
sched_enqueue
* Enqueue thread to ready queue at its priority level. * Adds to tail for FIFO ordering within priority. * * Optimization: Only updates bitmap when
kernel/sched.c:99
↓ 22 callers
Function
spinlock_release
Spinlock release */
user/lib/posix/pthread.c:73
↓ 18 callers
Function
L4_Set_Label
user/include/l4/message.h:83
↓ 16 callers
Function
irq_kernel_critical_exit
include/platform/irq.h:118
↓ 16 callers
Function
spinlock_acquire
Spinlock acquire using TTAS pattern with LDREX/STREX */
user/lib/posix/pthread.c:40
↓ 15 callers
Function
L4_Set_PreemptionDelay
* Set preemption threshold for Preemption-Threshold Scheduling (PTS) * * Parameters: * tid: Target thread * threshold: Preemption threshold (m
user/include/l4/schedule.h:79
↓ 15 callers
Function
__L4_Lsb
user/include/l4/platform/specials.h:24
↓ 15 callers
Function
ipc_read_mr
Read message register with short buffer support. * MR0-MR7: Hardware registers R4-R11 (ctx.regs[0-7]) * MR8-MR39: Short message buffer (msg_buffe
kernel/ipc.c:53
↓ 14 callers
Function
i2c_get_flag
platform/stm32f429/i2c.c:103
↓ 14 callers
Function
i2c_write_device_reg
platform/stm32f429/ioe.c:271
↓ 14 callers
Function
ktable_free
* Frees an element * * @param kt - pointer to kernel table * @param element - pointer to table's element * * */
kernel/lib/ktable.c:192
↓ 14 callers
Function
thread_by_globalid
* Search thread by its global id */
kernel/thread.c:500
↓ 13 callers
Function
L4_Yield
* Derived functions */
user/include/l4/schedule.h:15
↓ 13 callers
Function
__l4_putchar
Kernel-space __l4_putchar/__l4_getchar for kernel printf. * User-space printf() uses IPC to THREAD_LOG, not __l4_putchar. */
platform/semihosting.c:63
↓ 13 callers
Function
pthread_mutex_destroy
user/lib/posix/pthread.c:853
↓ 13 callers
Function
thread_make_runnable
* Make thread runnable and enqueue to scheduler. * Used after IPC operations that unblock threads. */
kernel/ipc.c:32
↓ 12 callers
Function
L4_MsgWord
user/include/l4/message.h:614
↓ 12 callers
Function
pthread_create
Thread management functions */
user/lib/posix/pthread.c:237
↓ 11 callers
Function
mempool_getbyid
kernel/memory.c:256
↓ 11 callers
Function
pthread_join
user/lib/posix/pthread.c:312
↓ 11 callers
Function
sem_getvalue
user/lib/posix/semaphore.c:305
↓ 10 callers
Function
irq_disable
* PRIMASK-based critical sections (blocks ALL interrupts). */
include/platform/irq.h:46
↓ 10 callers
Function
pthread_mutex_init
user/lib/posix/pthread.c:830
↓ 10 callers
Function
pthread_mutex_trylock
user/lib/posix/pthread.c:940
↓ 9 callers
Function
L4_Label
user/include/l4/message.h:68
↓ 9 callers
Function
L4_StoreMR
user/include/l4/platform/vregs.h:106
↓ 9 callers
Function
NVIC_SetPriority
platform/stm32-common/nvic.c:49
↓ 9 callers
Function
PSP
include/platform/cortex_m.h:39
↓ 9 callers
Function
pager_start_thread
user/lib/l4/pager.c:450
↓ 9 callers
Function
sem_destroy
user/lib/posix/semaphore.c:144
↓ 9 callers
Function
sem_init
user/lib/posix/semaphore.c:125
↓ 8 callers
Function
L4_CtrlXferItemInit
user/include/l4/message.h:333
↓ 8 callers
Function
L4_MsgAppendCtrlXferItem
user/include/l4/message.h:517
↓ 8 callers
Function
L4_MsgGetCtrlXferItem
user/include/l4/message.h:652
↓ 8 callers
Function
L4_MsgPutCtrlXferItem
user/include/l4/message.h:598
↓ 8 callers
Function
L4_Schedule
user/lib/l4/platform/syscalls.c:82
↓ 8 callers
Function
L4_TimerNotify
user/lib/l4/platform/syscalls.c:110
↓ 8 callers
Function
RCC_APB1PeriphResetCmd
platform/stm32-common/rcc.c:252
↓ 8 callers
Function
elf32_getSectionTable
loader/include/elf/elf32.h:81
↓ 8 callers
Function
ipc_write_mr
Write message register with short buffer support. * MR0-MR7: Hardware registers R4-R11 (ctx.regs[0-7]) * MR8-MR39: Short message buffer (msg_buff
kernel/ipc.c:67
↓ 8 callers
Function
irq_enable
include/platform/irq.h:51
↓ 8 callers
Function
irq_kernel_critical_enter
* Kernel critical section (masks interrupts >= 0x4, allows 0x0-0x3). * Use this as the default for scheduler, IPC, and memory operations. */
include/platform/irq.h:113
↓ 8 callers
Function
ktable_alloc
* Allocates first free element * * @param kt - pointer to kernel table * @param i - index of element to allocate * * @result * NULL if index i
kernel/lib/ktable.c:129
↓ 8 callers
Function
sched_dequeue
* Dequeue thread from ready queue. * Must be called before thread enters blocked state. * IRQ-safe: protects critical section from interrupt corrupt
kernel/sched.c:158
↓ 8 callers
Function
sem_post
user/lib/posix/semaphore.c:257
↓ 8 callers
Function
signal_lock_release
user/lib/posix/signal.c:85
↓ 8 callers
Function
softirq_schedule
kernel/softirq.c:21
↓ 8 callers
Function
thread_ispriviliged
kernel/thread.c:520
↓ 8 callers
Function
user_ipc_error
kernel/ipc.c:77
↓ 7 callers
Function
L4_Ipc
user/lib/l4/platform/syscalls.c:127
↓ 7 callers
Function
L4_IpcFailed
user/include/l4/ipc.h:23
↓ 7 callers
Function
L4_IpcSucceeded
* Support functions */
user/include/l4/ipc.h:18
↓ 7 callers
Function
L4_Set_Priority
user/include/l4/schedule.h:20
↓ 7 callers
Function
addr_in_fpage
include/fpage.h:75
↓ 7 callers
Function
elf32_getProgramHeaderTable
loader/include/elf/elf32.h:123
↓ 7 callers
Function
mempool_align
Align size up to fpage boundary (for determining region end) */
kernel/memory.c:212
↓ 7 callers
Function
mpu_select_lru
platform/stm32-common/mpu.c:87
↓ 7 callers
Function
pthread_spin_destroy
user/lib/posix/pthread.c:2038
↓ 7 callers
Function
pthread_spin_init
user/lib/posix/pthread.c:2022
↓ 7 callers
Function
sched_set_priority
* Change thread priority safely. * Handles queue migration atomically if thread is queued. * IRQ-safe: protects critical section from interrupt corr
kernel/sched.c:336
↓ 7 callers
Function
thread_current
kernel/thread.c:515
↓ 6 callers
Function
L4_Map
user/root_thread.c:18
↓ 6 callers
Function
RCC_AHB1PeriphClockCmd
platform/stm32-common/rcc.c:209
↓ 6 callers
Function
__DSB
include/platform/cortex_m.h:60
↓ 6 callers
Function
__ISB
include/platform/cortex_m.h:66
↓ 6 callers
Function
fmc_get_flag
platform/stm32f429/fmc.c:51
↓ 6 callers
Function
lcd_chipselect
platform/stm32f429/lcd.c:294
↓ 6 callers
Function
memset
kernel/lib/memset.c:10
↓ 6 callers
Function
pthread_spin_unlock
user/lib/posix/pthread.c:2119
↓ 6 callers
Function
run_init_hook
kernel/init.c:124
↓ 6 callers
Function
sched_is_queued
* Check if thread is in a ready queue. * NULL prev pointer means not queued. */
kernel/sched.c:77
↓ 6 callers
Function
sem_wait
user/lib/posix/semaphore.c:165
↓ 6 callers
Function
spinlock_release
Spinlock release */
user/lib/posix/semaphore.c:67
↓ 5 callers
Function
L4_LoadMR
user/include/l4/platform/vregs.h:116
↓ 5 callers
Function
L4_MsgStore
user/include/l4/message.h:463
↓ 5 callers
Function
L4_SystemClock
user/lib/l4/platform/syscalls.c:63
↓ 5 callers
Function
L4_ThreadControl
user/lib/l4/platform/syscalls.c:42
↓ 5 callers
Function
L4_Unmap
user/include/l4/space.h:36
↓ 5 callers
Function
__L4_Copy_String
user/include/l4/message.h:276
↓ 5 callers
Function
assign_fpages_ext
kernel/fpage.c:311
↓ 5 callers
Function
create_fpage_chain
kernel/fpage.c:199
↓ 5 callers
Function
do_ipc
kernel/ipc.c:102
↓ 5 callers
Function
elf_getProgramHeaderVaddr
loader/elf/elf.c:42
↓ 5 callers
Function
find_thread_node
user/lib/l4/pager.c:250
next →
1–100 of 1,233, ranked by callers