From: Philip Homburg Date: Fri, 19 May 2006 12:45:55 +0000 (+0000) Subject: Actually remove allocmem and freemem sources from the library. X-Git-Tag: v3.1.3~356 X-Git-Url: http://zhaoyanbai.com/repos/%22/xml/v3/zones/static/gitweb.css?a=commitdiff_plain;h=3ea083b8d4133aa903d23e11cdacabd37979bee6;p=minix.git Actually remove allocmem and freemem sources from the library. --- diff --git a/lib/other/_allocmem.c b/lib/other/_allocmem.c deleted file mode 100644 index 4887e765b..000000000 --- a/lib/other/_allocmem.c +++ /dev/null @@ -1,16 +0,0 @@ -#include -#define allocmem _allocmem -#include - - -PUBLIC int allocmem(size, base) -phys_bytes size; /* size of mem chunk requested */ -phys_bytes *base; /* return base address */ -{ - message m; - m.m4_l1 = size; - if (_syscall(MM, ALLOCMEM, &m) < 0) return(-1); - *base = m.m4_l2; - return(0); -} - diff --git a/lib/other/_freemem.c b/lib/other/_freemem.c deleted file mode 100644 index d0c4eeefa..000000000 --- a/lib/other/_freemem.c +++ /dev/null @@ -1,16 +0,0 @@ -#include -#define freemem _freemem -#include - - -PUBLIC int freemem(size, base) -phys_bytes size; /* size of mem chunk requested */ -phys_bytes base; /* base address of mem chunk */ -{ - message m; - m.m4_l1 = size; - m.m4_l2 = base; - if (_syscall(MM, FREEMEM, &m) < 0) return(-1); - return(0); -} - diff --git a/lib/syscall/allocmem.s b/lib/syscall/allocmem.s deleted file mode 100644 index f5cdd443e..000000000 --- a/lib/syscall/allocmem.s +++ /dev/null @@ -1,7 +0,0 @@ -.sect .text -.extern __allocmem -.define _allocmem -.align 2 - -_allocmem: - jmp __allocmem diff --git a/lib/syscall/freemem.s b/lib/syscall/freemem.s deleted file mode 100644 index 24434acdd..000000000 --- a/lib/syscall/freemem.s +++ /dev/null @@ -1,7 +0,0 @@ -.sect .text -.extern __freemem -.define _freemem -.align 2 - -_freemem: - jmp __freemem