aboutsummaryrefslogtreecommitdiff
path: root/kernel/prelude
diff options
context:
space:
mode:
authorXander <xander@biltopia.org>2023-08-19 15:04:23 +0200
committerXander <xander@biltopia.org>2023-08-19 15:19:25 +0200
commitfcf755d4f03f6fba974d11307659e2e96f9696e7 (patch)
treea58d9b7b24d6ab4b80f854d6d3905246b37494bd /kernel/prelude
parentd177285a761de33b86fcbde72fd718137bfa6f86 (diff)
downloadats-os-fcf755d4f03f6fba974d11307659e2e96f9696e7.tar.xz
ats-os-fcf755d4f03f6fba974d11307659e2e96f9696e7.zip
Implemented entry
Diffstat (limited to 'kernel/prelude')
-rw-r--r--kernel/prelude/SATS/safe_casts.sats5
1 files changed, 4 insertions, 1 deletions
diff --git a/kernel/prelude/SATS/safe_casts.sats b/kernel/prelude/SATS/safe_casts.sats
index 50a68a8..f8e34db 100644
--- a/kernel/prelude/SATS/safe_casts.sats
+++ b/kernel/prelude/SATS/safe_casts.sats
@@ -1 +1,4 @@
-castfn u2uint64{v : nat | v <= 0xFFFFFFFFFFFFFFFF}(v : uint v) : uint64 v
+castfn u2u64{v : nat | v <= 0xFFFFFFFFFFFFFFFF}(v : uint v) :<> uint64 v
+castfn u64_to_Ptr0(v : uint64):<> Ptr0
+castfn Ptr0_to_u64(v : Ptr0):<> uint64
+castfn sz_to_Ptr0(v : size_t):<> Ptr0