aboutsummaryrefslogtreecommitdiff
path: root/kernel/prelude/SATS
diff options
context:
space:
mode:
authorXander <xander@biltopia.org>2023-08-20 22:57:07 +0200
committerXander <xander@biltopia.org>2023-08-20 23:03:17 +0200
commit70cca66089896730797a71ba545c7f4e87b12975 (patch)
tree167a22d505b32bf80bd8b432833e12a74a98941b /kernel/prelude/SATS
parent7fce269442cb37810a14d088ea4a61d040ec3066 (diff)
downloadats-os-master.tar.xz
ats-os-master.zip
implement pageHEADmaster
Diffstat (limited to 'kernel/prelude/SATS')
-rw-r--r--kernel/prelude/SATS/safe_casts.sats1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/prelude/SATS/safe_casts.sats b/kernel/prelude/SATS/safe_casts.sats
index 8850ef6..f93a2be 100644
--- a/kernel/prelude/SATS/safe_casts.sats
+++ b/kernel/prelude/SATS/safe_casts.sats
@@ -10,3 +10,4 @@ castfn ulint_to_Ptr0(v : ulint):<> Ptr0
castfn sz_to_Ptr0(v : size_t):<> Ptr0
castfn Ptr1_to_sz(v : Ptr1):<> sizeGte(1)
+castfn Ptr0_to_sz(v : Ptr0):<> size_t