X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcode%2Ftarget-allocate.lisp;h=702fe5e07a424d22cd674efecaa0d30a7bbbefe9;hb=512c78f5f0c8e4c11bad219313dd83890f625006;hp=71f5ad8c1f84f20c4e2c9fa3d9760aa8c80b2338;hpb=e33fb894f991b2926d8f3bace9058e4c0b2c3a37;p=sbcl.git diff --git a/src/code/target-allocate.lisp b/src/code/target-allocate.lisp index 71f5ad8..702fe5e 100644 --- a/src/code/target-allocate.lisp +++ b/src/code/target-allocate.lisp @@ -12,21 +12,10 @@ (in-package "SB!KERNEL") (sb!alien:define-alien-routine ("os_allocate" allocate-system-memory) - system-area-pointer - (bytes sb!c-call:unsigned-long)) - -(sb!alien:define-alien-routine ("os_allocate_at" allocate-system-memory-at) - system-area-pointer - (address system-area-pointer) - (bytes sb!c-call:unsigned-long)) - -(sb!alien:define-alien-routine ("os_reallocate" reallocate-system-memory) - system-area-pointer - (old system-area-pointer) - (old-size sb!c-call:unsigned-long) - (new-size sb!c-call:unsigned-long)) + system-area-pointer + (bytes sb!alien:unsigned-long)) (sb!alien:define-alien-routine ("os_deallocate" deallocate-system-memory) - sb!c-call:void + sb!alien:void (addr system-area-pointer) - (bytes sb!c-call:unsigned-long)) + (bytes sb!alien:unsigned-long))