/*
# _____     ___ ____     ___ ____
#  ____|   |    ____|   |        | |____|
# |     ___|   |____ ___|    ____| |    \    PS2DEV Open Source Project.
#-----------------------------------------------------------------------
# Copyright 2001-2004, ps2dev - http://www.ps2dev.org
# Licenced under Academic Free License version 2.0
# Review ps2sdk README & LICENSE files for further details.
#
# $Id: heaplib.s 577 2004-09-14 14:41:46Z pixel $
# Heap library function imports.
*/

	.text
	.set	noreorder


/* ############################### SYSMEM STUB ######## */
	.local	sysmem_stub
sysmem_stub:
	.word	0x41e00000
	.word	0
	.word	0x00000101
	.ascii	"heaplib\0"
	.align	2

	.globl	CreateHeap			# 004
CreateHeap:
	j	$31
	li	$0, 4

	.globl	DestroyHeap			# 005
DestroyHeap:
	j	$31
	li	$0, 5

	.globl	HeapMalloc			# 006
HeapMalloc:
	j	$31
	li	$0, 6

	.globl	HeapFree			# 007
HeapFree:
	j	$31
	li	$0, 7

	.globl	HeapSize			# 008 
HeapSize:
	j	$31
	li	$0, 8 

	.word	0
	.word	0


