From 0d6b7fcb79e9bf6f823b5802f8317056015faeec Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Tue, 1 Feb 2005 11:08:31 +0000 Subject: cleanup patch from Adrian Bunk --- shared-core/sis_ds.h | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'shared-core/sis_ds.h') diff --git a/shared-core/sis_ds.h b/shared-core/sis_ds.h index 6a64ba07..5abfeeaf 100644 --- a/shared-core/sis_ds.h +++ b/shared-core/sis_ds.h @@ -115,8 +115,6 @@ static __inline__ void mmMarkReserved(PMemBlock b) */ memHeap_t *mmInit(int ofs, int size); -memHeap_t *mmAddRange(memHeap_t * heap, int ofs, int size); - /* * Allocate 'size' bytes with 2^align2 bytes alignment, * restrict the search to free memory after 'startSearch' @@ -141,21 +139,6 @@ int mmBlockInHeap(PMemBlock heap, PMemBlock b); */ int mmFreeMem(PMemBlock b); -/* - * Reserve 'size' bytes block start at offset - * This is used to prevent allocation of memory already used - * by the X server for the front buffer, pixmaps, and cursor - * input: size, offset - * output: 0 if OK, -1 if error - */ -int mmReserveMem(memHeap_t * heap, int offset, int size); -int mmFreeReserved(memHeap_t * heap, int offset); - -/* - * destroy MM - */ -void mmDestroy(memHeap_t * mmInit); - /* For debuging purpose. */ void mmDumpMemInfo(memHeap_t * mmInit); -- cgit v1.2.3