no vm_setbuf any more (kernel doesn't create its page table any more),

no relocking field (locks not checked)
This commit is contained in:
Ben Gras 2009-05-28 14:23:38 +00:00
parent 9b73964f6d
commit 85881e9995
5 changed files with 0 additions and 62 deletions

View File

@ -51,7 +51,6 @@ OBJECTS = \
$(SYSTEM)(do_sigreturn.o) \ $(SYSTEM)(do_sigreturn.o) \
$(SYSTEM)(do_abort.o) \ $(SYSTEM)(do_abort.o) \
$(SYSTEM)(do_getinfo.o) \ $(SYSTEM)(do_getinfo.o) \
$(SYSTEM)(do_vm_setbuf.o) \
$(SYSTEM)(do_sprofile.o) \ $(SYSTEM)(do_sprofile.o) \
$(SYSTEM)(do_cprofile.o) \ $(SYSTEM)(do_cprofile.o) \
$(SYSTEM)(do_profbuf.o) \ $(SYSTEM)(do_profbuf.o) \
@ -162,9 +161,6 @@ $(SYSTEM)(do_vm.o): do_vm.o
do_vm.o: do_vm.c do_vm.o: do_vm.c
$(CC) do_vm.c $(CC) do_vm.c
$(SYSTEM)(do_vm_setbuf.o): do_vm_setbuf.c
$(CC) do_vm_setbuf.c
$(SYSTEM)(do_sprofile.o): do_sprofile.c $(SYSTEM)(do_sprofile.o): do_sprofile.c
$(CC) do_sprofile.c $(CC) do_sprofile.c

View File

@ -1,33 +0,0 @@
/* The system call implemented in this file:
* m_type: SYS_VM_SETBUF
*
* The parameters for this system call are:
* m4_l1: Start of the buffer
* m4_l2: Length of the buffer
* m4_l3: End of main memory
*/
#include "../system.h"
#if 0
#define VM_DEBUG 0 /* enable/ disable debug output */
/*===========================================================================*
* do_vm_setbuf *
*===========================================================================*/
PUBLIC int do_vm_setbuf(m_ptr)
message *m_ptr; /* pointer to request message */
{
vm_base= m_ptr->m4_l1;
vm_size= m_ptr->m4_l2;
vm_mem_high= m_ptr->m4_l3;
#if VM_DEBUG
kprintf("do_vm_setbuf: got 0x%x @ 0x%x for 0x%x\n",
vm_size, vm_base, vm_mem_high);
#endif
return OK;
}
#endif

View File

@ -66,7 +66,6 @@ libsys_FILES=" \
sys_vinl.c \ sys_vinl.c \
sys_vinw.c \ sys_vinw.c \
sys_vircopy.c \ sys_vircopy.c \
sys_vm_setbuf.c \
sys_vmctl.c \ sys_vmctl.c \
sys_voutb.c \ sys_voutb.c \
sys_voutl.c \ sys_voutl.c \

View File

@ -1,21 +0,0 @@
#include "syslib.h"
/*===========================================================================*
* sys_vm_setbuf *
*===========================================================================*/
PUBLIC int sys_vm_setbuf(base, size, high)
phys_bytes base;
phys_bytes size;
phys_bytes high;
{
message m;
int result;
m.m4_l1= base;
m.m4_l2= size;
m.m4_l3= high;
result = _taskcall(SYSTASK, SYS_VM_SETBUF, &m);
return(result);
}

View File

@ -311,9 +311,6 @@ PUBLIC void kenv_dmp()
printf("- nr_tasks: %3u\n", kinfo.nr_tasks); printf("- nr_tasks: %3u\n", kinfo.nr_tasks);
printf("- release: %.6s\n", kinfo.release); printf("- release: %.6s\n", kinfo.release);
printf("- version: %.6s\n", kinfo.version); printf("- version: %.6s\n", kinfo.version);
#if DEBUG_LOCK_CHECK
printf("- relocking: %d\n", kinfo.relocking);
#endif
printf("\n"); printf("\n");
} }