tinygo/src/runtime
2023-08-04 11:59:11 +02:00
..
cgo
debug add Settings to debug.BuildInfo 2023-05-20 14:49:31 +02:00
internal/sys
interrupt machine, runtime/interrupt: switch to use register definitions from device/gba 2023-03-16 15:27:15 +01:00
metrics Add dummy package for runtime/metrics to that modules that depend upon it (e.g. [Prometheus Go client library](https://github.com/prometheus/client_golang/blob/main/prometheus/internal/go_runtime_metrics.go)) will compile. 2023-05-06 14:55:17 +02:00
pprof runtime/pprof, runtime/trace: stub some additional functions 2022-09-02 10:37:50 +02:00
trace runtime/pprof, runtime/trace: stub some additional functions 2022-09-02 10:37:50 +02:00
volatile fix go:noinlines in volatile package 2023-05-29 22:16:35 +02:00
algorithm.go runtime: implement math/rand.fastrand64 to fix linker error 2023-01-17 08:38:54 +01:00
arch-has-returnaddr.go runtime: print the address where a panic happened 2023-04-26 18:40:35 +02:00
arch-no-returnaddr.go runtime: print the address where a panic happened 2023-04-26 18:40:35 +02:00
arch_386.go runtime: print the address where a panic happened 2023-04-26 18:40:35 +02:00
arch_amd64.go runtime: print the address where a panic happened 2023-04-26 18:40:35 +02:00
arch_arm.go runtime: print the address where a panic happened 2023-04-26 18:40:35 +02:00
arch_arm64.go runtime: print the address where a panic happened 2023-04-26 18:40:35 +02:00
arch_avr.go runtime: print the address where a panic happened 2023-04-26 18:40:35 +02:00
arch_cortexm.go runtime: print the address where a panic happened 2023-04-26 18:40:35 +02:00
arch_tinygoriscv.go runtime: print the address where a panic happened 2023-04-26 18:40:35 +02:00
arch_tinygoriscv32.go riscv: use 16-byte alignment everywhere 2023-01-17 19:32:18 +01:00
arch_tinygoriscv64.go riscv: use 16-byte alignment everywhere 2023-01-17 19:32:18 +01:00
arch_tinygowasm.go runtime: print the address where a panic happened 2023-04-26 18:40:35 +02:00
arch_tinygowasm_malloc.go build: drop deprecated build tags 2022-12-19 23:20:11 +01:00
arch_xtensa.go runtime: print the address where a panic happened 2023-04-26 18:40:35 +02:00
asm_386.S runtime: load sp and pc inside tinygo_longjmp 2022-06-19 11:51:12 +02:00
asm_amd64.S runtime: load sp and pc inside tinygo_longjmp 2022-06-19 11:51:12 +02:00
asm_amd64_windows.S runtime: load sp and pc inside tinygo_longjmp 2022-06-19 11:51:12 +02:00
asm_arm.S runtime: load sp and pc inside tinygo_longjmp 2022-06-19 11:51:12 +02:00
asm_arm64.S arm64: fix register save/restore to include vector registers 2023-02-19 20:48:32 +01:00
asm_avr.S avr: add support for recover() 2022-06-19 11:51:12 +02:00
asm_riscv.S runtime: load sp and pc inside tinygo_longjmp 2022-06-19 11:51:12 +02:00
asm_tinygowasm.S wasm: fix GC scanning of allocas 2022-10-19 18:36:53 +02:00
atomics_critical.go build: drop deprecated build tags 2022-12-19 23:20:11 +01:00
baremetal.go all: Go 1.21 support 2023-08-04 11:59:11 +02:00
build_asserts.go runtime: make gc and scheduler asserts settable with build tags 2022-09-25 16:47:07 +02:00
build_noasserts.go runtime: make gc and scheduler asserts settable with build tags 2022-09-25 16:47:07 +02:00
chan.go feat: fix typos 2023-03-24 09:22:38 -07:00
complex.go
cond.go build: drop deprecated build tags 2022-12-19 23:20:11 +01:00
cond_nosched.go build: drop deprecated build tags 2022-12-19 23:20:11 +01:00
debug.go
defer.go
dynamic_arm64.go all: use unsafe.Add instead of unsafe.Pointer(uintptr(...) + ...) 2023-03-03 16:55:13 +01:00
env.go windows: add support for syscall.runtimeSetenv 2023-02-03 07:31:38 -08:00
env_unix.go windows: add support for syscall.runtimeSetenv 2023-02-03 07:31:38 -08:00
env_windows.go windows: add support for syscall.runtimeSetenv 2023-02-03 07:31:38 -08:00
error.go
extern.go
float.go all: format code according to Go 1.19 rules 2022-08-04 12:18:32 +02:00
func.go
gc_blocks.go runtime: improve panic message when heap allocating in an interrupt 2023-04-26 20:04:06 +02:00
gc_conservative.go runtime: implement precise GC 2023-01-17 19:32:18 +01:00
gc_custom.go runtime: allow custom-gc SetFinalizer and clarify KeepAlive 2023-02-17 00:51:51 +01:00
gc_globals.go runtime: implement precise GC 2023-01-17 19:32:18 +01:00
gc_leaking.go runtime: allow custom-gc SetFinalizer and clarify KeepAlive 2023-02-17 00:51:51 +01:00
gc_none.go runtime: allow custom-gc SetFinalizer and clarify KeepAlive 2023-02-17 00:51:51 +01:00
gc_precise.go runtime: implement precise GC 2023-01-17 19:32:18 +01:00
gc_stack_portable.go Add -gc=custom option (#3302) 2023-01-28 20:24:56 +01:00
gc_stack_raw.go runtime: implement precise GC 2023-01-17 19:32:18 +01:00
hashmap.go runtime: use unsafe.Add() in hashmap code 2023-03-30 00:08:07 +02:00
hosted.go build: drop deprecated build tags 2022-12-19 23:20:11 +01:00
interface.go runtime: fix structField.data comment 2023-05-16 19:02:08 +02:00
memhash_fnv.go compileopts: don't filter build tags, use specific build tags instead 2023-05-17 11:21:15 +02:00
memhash_leveldb.go compileopts: don't filter build tags, use specific build tags instead 2023-05-17 11:21:15 +02:00
memhash_tsip.go build: drop deprecated build tags 2022-12-19 23:20:11 +01:00
metrics.go all: Go 1.21 support 2023-08-04 11:59:11 +02:00
mstats.go runtime: add MemStats.Mallocs and Frees 2022-08-20 11:41:20 +02:00
nonhosted.go build: drop deprecated build tags 2022-12-19 23:20:11 +01:00
os_darwin.c darwin: fix syscall.Open on darwin/arm64 2022-10-13 21:07:38 +02:00
os_darwin.go all: use unsafe.Add instead of unsafe.Pointer(uintptr(...) + ...) 2023-03-03 16:55:13 +01:00
os_js.go build: drop deprecated build tags 2022-12-19 23:20:11 +01:00
os_linux.go all: use unsafe.Add instead of unsafe.Pointer(uintptr(...) + ...) 2023-03-03 16:55:13 +01:00
os_other.go build: drop deprecated build tags 2022-12-19 23:20:11 +01:00
os_windows.go all: use unsafe.Add instead of unsafe.Pointer(uintptr(...) + ...) 2023-03-03 16:55:13 +01:00
panic.go runtime: print the address where a panic happened 2023-04-26 18:40:35 +02:00
poll.go
print.go runtime: rename printuint to printuintptr 2022-07-15 15:44:40 +02:00
runtime.go all: Go 1.21 support 2023-08-04 11:59:11 +02:00
runtime_arm7tdmi.go all: use unsafe.Add instead of unsafe.Pointer(uintptr(...) + ...) 2023-03-03 16:55:13 +01:00
runtime_atmega.go Add basic atmega32u support (#3337) 2022-12-20 16:57:55 +01:00
runtime_atsamd21.go build: drop deprecated build tags 2022-12-19 23:20:11 +01:00
runtime_atsamd21e18.go build: drop deprecated build tags 2022-12-19 23:20:11 +01:00
runtime_atsamd21g18.go build: drop deprecated build tags 2022-12-19 23:20:11 +01:00
runtime_atsamd51.go machine/samd51: implement Flash interface 2023-03-09 06:42:41 +01:00
runtime_atsamd51g19.go build: drop deprecated build tags 2022-12-19 23:20:11 +01:00
runtime_atsamd51j19.go build: drop deprecated build tags 2022-12-19 23:20:11 +01:00
runtime_atsamd51j20.go build: drop deprecated build tags 2022-12-19 23:20:11 +01:00
runtime_atsamd51p19.go build: drop deprecated build tags 2022-12-19 23:20:11 +01:00
runtime_atsamd51p20.go build: drop deprecated build tags 2022-12-19 23:20:11 +01:00
runtime_atsame5x_can.go build: drop deprecated build tags 2022-12-19 23:20:11 +01:00
runtime_atsame51j19.go build: drop deprecated build tags 2022-12-19 23:20:11 +01:00
runtime_atsame54p20.go build: drop deprecated build tags 2022-12-19 23:20:11 +01:00
runtime_attiny.go build: drop deprecated build tags 2022-12-19 23:20:11 +01:00
runtime_avr.go avr: add attiny1616 support 2023-05-20 21:18:02 +02:00
runtime_avrtiny.go avr: add attiny1616 support 2023-05-20 21:18:02 +02:00
runtime_cortexm.go all: use unsafe.Add instead of unsafe.Pointer(uintptr(...) + ...) 2023-03-03 16:55:13 +01:00
runtime_cortexm_abort.go build: drop deprecated build tags 2022-12-19 23:20:11 +01:00
runtime_cortexm_hardfault.go build: drop deprecated build tags 2022-12-19 23:20:11 +01:00
runtime_cortexm_hardfault_debug.go build: drop deprecated build tags 2022-12-19 23:20:11 +01:00
runtime_cortexm_qemu.go build: drop deprecated build tags 2022-12-19 23:20:11 +01:00
runtime_esp32.go build: drop deprecated build tags 2022-12-19 23:20:11 +01:00
runtime_esp32c3.go all: use unsafe.Add instead of unsafe.Pointer(uintptr(...) + ...) 2023-03-03 16:55:13 +01:00
runtime_esp32xx.go all: use unsafe.Add instead of unsafe.Pointer(uintptr(...) + ...) 2023-03-03 16:55:13 +01:00
runtime_esp8266.go all: use unsafe.Add instead of unsafe.Pointer(uintptr(...) + ...) 2023-03-03 16:55:13 +01:00
runtime_fe310.go runtime: check for heap allocations inside interrupts 2023-02-19 11:33:24 +01:00
runtime_fe310_baremetal.go build: drop deprecated build tags 2022-12-19 23:20:11 +01:00
runtime_fe310_qemu.go build: drop deprecated build tags 2022-12-19 23:20:11 +01:00
runtime_k210.go runtime: check for heap allocations inside interrupts 2023-02-19 11:33:24 +01:00
runtime_k210_baremetal.go build: drop deprecated build tags 2022-12-19 23:20:11 +01:00
runtime_mimxrt1062.go build: drop deprecated build tags 2022-12-19 23:20:11 +01:00
runtime_mimxrt1062_clock.go build: drop deprecated build tags 2022-12-19 23:20:11 +01:00
runtime_mimxrt1062_mpu.go build: drop deprecated build tags 2022-12-19 23:20:11 +01:00
runtime_mimxrt1062_time.go build: drop deprecated build tags 2022-12-19 23:20:11 +01:00
runtime_nintendoswitch.go all: Go 1.21 support 2023-08-04 11:59:11 +02:00
runtime_nintendoswitch.S all: rename assembly files to .S extension 2022-08-04 15:43:42 +02:00
runtime_nrf.go build: drop deprecated build tags 2022-12-19 23:20:11 +01:00
runtime_nrf52840.go build: drop deprecated build tags 2022-12-19 23:20:11 +01:00
runtime_nrf_bare.go build: drop deprecated build tags 2022-12-19 23:20:11 +01:00
runtime_nrf_softdevice.go build: drop deprecated build tags 2022-12-19 23:20:11 +01:00
runtime_nxpmk66f18.go build: drop deprecated build tags 2022-12-19 23:20:11 +01:00
runtime_rp2040.go build: drop deprecated build tags 2022-12-19 23:20:11 +01:00
runtime_stm32.go build: drop deprecated build tags 2022-12-19 23:20:11 +01:00
runtime_stm32_timers.go build: drop deprecated build tags 2022-12-19 23:20:11 +01:00
runtime_stm32f4.go build: drop deprecated build tags 2022-12-19 23:20:11 +01:00
runtime_stm32f7x2.go build: drop deprecated build tags 2022-12-19 23:20:11 +01:00
runtime_stm32f103.go build: drop deprecated build tags 2022-12-19 23:20:11 +01:00
runtime_stm32f405.go build: drop deprecated build tags 2022-12-19 23:20:11 +01:00
runtime_stm32f407.go build: drop deprecated build tags 2022-12-19 23:20:11 +01:00
runtime_stm32f469.go build: drop deprecated build tags 2022-12-19 23:20:11 +01:00
runtime_stm32l0.go build: drop deprecated build tags 2022-12-19 23:20:11 +01:00
runtime_stm32l0x1.go build: drop deprecated build tags 2022-12-19 23:20:11 +01:00
runtime_stm32l0x2.go build: drop deprecated build tags 2022-12-19 23:20:11 +01:00
runtime_stm32l4.go build: drop deprecated build tags 2022-12-19 23:20:11 +01:00
runtime_stm32l4x2.go build: drop deprecated build tags 2022-12-19 23:20:11 +01:00
runtime_stm32l4x5.go build: drop deprecated build tags 2022-12-19 23:20:11 +01:00
runtime_stm32l5x2.go build: drop deprecated build tags 2022-12-19 23:20:11 +01:00
runtime_stm32wlx.go runtime/stm32wlx: change order for init so clock speeds are set before peripheral start 2023-01-27 00:08:38 +01:00
runtime_tinygoriscv.go all: use unsafe.Add instead of unsafe.Pointer(uintptr(...) + ...) 2023-03-03 16:55:13 +01:00
runtime_tinygoriscv64.go all: use unsafe.Add instead of unsafe.Pointer(uintptr(...) + ...) 2023-03-03 16:55:13 +01:00
runtime_tinygoriscv_qemu.go build: drop deprecated build tags 2022-12-19 23:20:11 +01:00
runtime_tinygowasm.go wasm: implement the //go:wasmimport directive 2023-03-22 11:29:26 +01:00
runtime_unix.go all: use unsafe.Add instead of unsafe.Pointer(uintptr(...) + ...) 2023-03-03 16:55:13 +01:00
runtime_wasm_js.go all: Go 1.21 support 2023-08-04 11:59:11 +02:00
runtime_wasm_js_scheduler.go build: drop deprecated build tags 2022-12-19 23:20:11 +01:00
runtime_wasm_wasi.go wasm: implement the //go:wasmimport directive 2023-03-22 11:29:26 +01:00
runtime_windows.go all: use unsafe.Add instead of unsafe.Pointer(uintptr(...) + ...) 2023-03-03 16:55:13 +01:00
scheduler.go runtime: add support for time.NewTimer and time.NewTicker 2022-08-23 12:37:25 +02:00
scheduler_any.go build: drop deprecated build tags 2022-12-19 23:20:11 +01:00
scheduler_none.go build: drop deprecated build tags 2022-12-19 23:20:11 +01:00
scheduler_tasks.go build: drop deprecated build tags 2022-12-19 23:20:11 +01:00
slice.go all: use unsafe.Add instead of unsafe.Pointer(uintptr(...) + ...) 2023-03-03 16:55:13 +01:00
stack.go
string.go reflect: use direct calls to runtime string functions 2023-03-27 22:24:20 +02:00
symtab.go all: Go 1.21 support 2023-08-04 11:59:11 +02:00
sync.go
time.go runtime: implement resetTimer 2022-08-25 11:30:33 +02:00
time_nxpmk66f18.go build: drop deprecated build tags 2022-12-19 23:20:11 +01:00
timer.go all: drop support for Go 1.16 and Go 1.17 2022-08-30 12:38:06 +02:00
wait_other.go build: drop deprecated build tags 2022-12-19 23:20:11 +01:00