Header --> Id
This commit is contained in:
@@ -746,4 +746,4 @@
|
||||
16-Jun-87 Dick Grune (dick) at tjalk
|
||||
Received the directory from Eddo de Groot and Leo van den Berge.
|
||||
|
||||
$Header$
|
||||
$Id$
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $Header$
|
||||
# $Id$
|
||||
|
||||
(
|
||||
echo '/* This file is generated from '$1'; do not edit */'
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $Header$
|
||||
# $Id$
|
||||
|
||||
(
|
||||
echo '/* This file is generated from '$1'; do not edit */'
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $Header$
|
||||
# $Id$
|
||||
|
||||
(
|
||||
echo '/* This file is generated from '$1'; do not edit */'
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# $Header$
|
||||
# $Id$
|
||||
|
||||
This directory contains the sources of the EM interpreter. A parallel
|
||||
directory contains the manual page and the documentation. Two types of
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* $Header$ */
|
||||
/* $Id$ */
|
||||
|
||||
#include "debug.h"
|
||||
#include "global.h"
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
fatal().
|
||||
*/
|
||||
|
||||
/* $Header$ */
|
||||
/* $Id$ */
|
||||
|
||||
extern char *Realloc(), *Malloc();
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
Core dumping routines
|
||||
*/
|
||||
|
||||
/* $Header$ */
|
||||
/* $Id$ */
|
||||
|
||||
#include "logging.h"
|
||||
#include "global.h"
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
Data access
|
||||
*/
|
||||
|
||||
/* $Header$ */
|
||||
/* $Id$ */
|
||||
|
||||
#include <em_abs.h>
|
||||
#include "logging.h"
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
Various debug flags
|
||||
*/
|
||||
|
||||
/* $Header$ */
|
||||
/* $Id$ */
|
||||
|
||||
#undef DB_MALLOC /* sally malloc area */
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
For disassembling the text segment.
|
||||
*/
|
||||
|
||||
/* $Header$ */
|
||||
/* $Id$ */
|
||||
|
||||
#include "global.h"
|
||||
#include "opcode.h"
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
* Sources of the "ARRAY" group instructions
|
||||
*/
|
||||
|
||||
/* $Header$ */
|
||||
/* $Id$ */
|
||||
|
||||
#include <em_abs.h>
|
||||
#include "global.h"
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
* Sources of the "BRANCH" group instructions
|
||||
*/
|
||||
|
||||
/* $Header$ */
|
||||
/* $Id$ */
|
||||
|
||||
#include <em_abs.h>
|
||||
#include "global.h"
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
* Sources of the "COMPARE" group instructions
|
||||
*/
|
||||
|
||||
/* $Header$ */
|
||||
/* $Id$ */
|
||||
|
||||
#include <em_abs.h>
|
||||
#include "logging.h"
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
* Sources of the "CONVERT" group instructions
|
||||
*/
|
||||
|
||||
/* $Header$ */
|
||||
/* $Id$ */
|
||||
|
||||
#include <em_abs.h>
|
||||
#include "nofloat.h"
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
* Sources of the "FLOATING POINT ARITHMETIC" group instructions
|
||||
*/
|
||||
|
||||
/* $Header$ */
|
||||
/* $Id$ */
|
||||
|
||||
#include <em_abs.h>
|
||||
#include "nofloat.h"
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
* Sources of the "INCREMENT/DECREMENT/ZERO" group instructions
|
||||
*/
|
||||
|
||||
/* $Header$ */
|
||||
/* $Id$ */
|
||||
|
||||
#include <em_abs.h>
|
||||
#include "global.h"
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
* Sources of the "INTEGER ARITHMETIC" group instructions
|
||||
*/
|
||||
|
||||
/* $Header$ */
|
||||
/* $Id$ */
|
||||
|
||||
#include <em_abs.h>
|
||||
#include "logging.h"
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
* Sources of the "LOAD" group instructions
|
||||
*/
|
||||
|
||||
/* $Header$ */
|
||||
/* $Id$ */
|
||||
|
||||
#include <em_abs.h>
|
||||
#include "global.h"
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
* Sources of the "LOGICAL" group instructions
|
||||
*/
|
||||
|
||||
/* $Header$ */
|
||||
/* $Id$ */
|
||||
|
||||
#include <em_abs.h>
|
||||
#include "logging.h"
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
* Sources of the "MISCELLANEOUS" group instructions
|
||||
*/
|
||||
|
||||
/* $Header$ */
|
||||
/* $Id$ */
|
||||
|
||||
#include <em_abs.h>
|
||||
#include "logging.h"
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
* Sources of the "PROCEDURE CALL" group instructions
|
||||
*/
|
||||
|
||||
/* $Header$ */
|
||||
/* $Id$ */
|
||||
|
||||
#include <em_abs.h>
|
||||
#include "logging.h"
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
* Sources of the "POINTER ARITHMETIC" group instructions
|
||||
*/
|
||||
|
||||
/* $Header$ */
|
||||
/* $Id$ */
|
||||
|
||||
#include <em_abs.h>
|
||||
#include "segcheck.h"
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
* Sources of the "SETS" group instructions
|
||||
*/
|
||||
|
||||
/* $Header$ */
|
||||
/* $Id$ */
|
||||
|
||||
#include <em_abs.h>
|
||||
#include "global.h"
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
* Sources of the "STORE" group instructions
|
||||
*/
|
||||
|
||||
/* $Header$ */
|
||||
/* $Id$ */
|
||||
|
||||
#include <em_abs.h>
|
||||
#include "global.h"
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
* Sources of the "UNSIGNED ARITHMETIC" group instructions
|
||||
*/
|
||||
|
||||
/* $Header$ */
|
||||
/* $Id$ */
|
||||
|
||||
#include <em_abs.h>
|
||||
#include "logging.h"
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
For dumping the stack, GDA, heap and text segment.
|
||||
*/
|
||||
|
||||
/* $Header$ */
|
||||
/* $Id$ */
|
||||
|
||||
#include <ctype.h>
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* $Header$ */
|
||||
/* $Id$ */
|
||||
|
||||
#define FB_TEST 001
|
||||
#define FB_PROFILE 002
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* $Header$ */
|
||||
/* $Id$ */
|
||||
|
||||
#include "logging.h"
|
||||
#include "global.h"
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
Concerning the Function Return Area
|
||||
*/
|
||||
|
||||
/* $Header$ */
|
||||
/* $Id$ */
|
||||
|
||||
#include "logging.h"
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
Could be generated.
|
||||
*/
|
||||
|
||||
/* $Header$ */
|
||||
/* $Id$ */
|
||||
|
||||
#include "global.h"
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
Defines and externs of general interest
|
||||
*/
|
||||
|
||||
/* $Header$ */
|
||||
/* $Id$ */
|
||||
|
||||
|
||||
/********* PRIVATE/static *********/
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
Startup routines
|
||||
*/
|
||||
|
||||
/* $Header$ */
|
||||
/* $Id$ */
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
.\" Manual page
|
||||
.\"
|
||||
.\" $Header$
|
||||
.\" $Id$
|
||||
.TH INT 1 "$Revision$"
|
||||
.ad
|
||||
.SH NAME
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
In and output, error messages, etc.
|
||||
*/
|
||||
|
||||
/* $Header$ */
|
||||
/* $Id$ */
|
||||
|
||||
#include <stdio.h>
|
||||
#include <varargs.h>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
file name and the line number.
|
||||
*/
|
||||
|
||||
/* $Header$ */
|
||||
/* $Id$ */
|
||||
|
||||
/* these should be EM machine registers */
|
||||
extern long LIN;
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
The logging machine
|
||||
*/
|
||||
|
||||
/* $Header$ */
|
||||
/* $Id$ */
|
||||
|
||||
#include <stdio.h>
|
||||
#include <varargs.h>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
Defines and externs for the logging machine
|
||||
*/
|
||||
|
||||
/* $Header$ */
|
||||
/* $Id$ */
|
||||
|
||||
#include "logging.h"
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* $Header$ */
|
||||
/* $Id$ */
|
||||
|
||||
#define LOGGING 1 /* Includes logging when defined */
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
Dedicated to the ioctl system call, MON 54.
|
||||
*/
|
||||
|
||||
/* $Header$ */
|
||||
/* $Id$ */
|
||||
|
||||
#include "sysidf.h"
|
||||
#include "v7ioctl.h"
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
Dedicated treatment of the sigtrp system call, MON 48.
|
||||
*/
|
||||
|
||||
/* $Header$ */
|
||||
/* $Id$ */
|
||||
|
||||
#include <signal.h>
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
Main loop
|
||||
*/
|
||||
|
||||
/* $Header$ */
|
||||
/* $Id$ */
|
||||
|
||||
#include <stdio.h>
|
||||
#include <setjmp.h>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
Memory access facilities
|
||||
*/
|
||||
|
||||
/* $Header$ */
|
||||
/* $Id$ */
|
||||
|
||||
|
||||
/******** Memory address & location defines ********/
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
Direct unchecked memory access
|
||||
*/
|
||||
|
||||
/* $Header$ */
|
||||
/* $Id$ */
|
||||
|
||||
/* The set of macros is neither systematic nor exhaustive; its contents
|
||||
were suggested by expediency rather than by completeness.
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
The MON instruction
|
||||
*/
|
||||
|
||||
/* $Header$ */
|
||||
/* $Id$ */
|
||||
|
||||
#include "sysidf.h"
|
||||
#include "log.h"
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
Moving system structs between UNIX and EM
|
||||
*/
|
||||
|
||||
/* $Header$ */
|
||||
/* $Id$ */
|
||||
|
||||
#include "sysidf.h"
|
||||
#include "v7ioctl.h"
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
expects two parameters, the offset and the length, both ints.
|
||||
*/
|
||||
|
||||
/* $Header$ */
|
||||
/* $Id$ */
|
||||
|
||||
/* struct stat */
|
||||
#define V7st_dev 0L, 2L /* short */
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* $Header$ */
|
||||
/* $Id$ */
|
||||
|
||||
#undef NOFLOAT /* No floating point when defined */
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
Secondary and tertiary opcode defines
|
||||
*/
|
||||
|
||||
/* $Header$ */
|
||||
/* $Id$ */
|
||||
|
||||
#define PRIM_BASE 0
|
||||
#define SEC_BASE 256
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
Handling the proctable
|
||||
*/
|
||||
|
||||
/* $Header$ */
|
||||
/* $Id$ */
|
||||
|
||||
#include "logging.h"
|
||||
#include "global.h"
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
Handling the proctable
|
||||
*/
|
||||
|
||||
/* $Header$ */
|
||||
/* $Id$ */
|
||||
|
||||
struct proc {
|
||||
size pr_nloc;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# $Header$
|
||||
# $Id$
|
||||
|
||||
#PARAMS do not remove this line
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
Reading the EM object file
|
||||
*/
|
||||
|
||||
/* $Header$ */
|
||||
/* $Id$ */
|
||||
|
||||
#include <stdio.h>
|
||||
#include <local.h> /* for VERSION */
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
Load-time variables, for reading the EM object file
|
||||
*/
|
||||
|
||||
/* $Header$ */
|
||||
/* $Id$ */
|
||||
|
||||
/* EM header Part 1 varaibles */
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* $Header$ */
|
||||
/* $Id$ */
|
||||
|
||||
/* The Return Status Block contains, in push order:
|
||||
FIL, LIN, LB, PC, PI, rsbcode
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* $Header$ */
|
||||
/* $Id$ */
|
||||
|
||||
/* The Return Status Block contains, in push order:
|
||||
FIL, LIN, LB, PC, PI, rsbcode
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* $Header$ */
|
||||
/* $Id$ */
|
||||
|
||||
/* Includes special segment checking when defined */
|
||||
#define SEGCHECK
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
Note that AB_list[s] increases for decreasing s.
|
||||
*/
|
||||
|
||||
/* $Header$ */
|
||||
/* $Id$ */
|
||||
|
||||
#include "segcheck.h"
|
||||
#include "global.h"
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
Shadowbyte macros
|
||||
*/
|
||||
|
||||
/* $Header$ */
|
||||
/* $Id$ */
|
||||
|
||||
#include "logging.h"
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
Stack manipulation
|
||||
*/
|
||||
|
||||
/* $Header$ */
|
||||
/* $Id$ */
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
The big switch on all the opcodes
|
||||
*/
|
||||
|
||||
/* $Header$ */
|
||||
/* $Id$ */
|
||||
|
||||
#include <em_abs.h>
|
||||
#include "global.h"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# $Header$
|
||||
# $Id$
|
||||
|
||||
This directory contains two programs:
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
*/
|
||||
|
||||
/* $Header$ */
|
||||
/* $Id$ */
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
stabilized, combine.
|
||||
*/
|
||||
|
||||
/* $Header$ */
|
||||
/* $Id$ */
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# $Header$
|
||||
# $Id$
|
||||
|
||||
#PARAMS do not remove this line!
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
the program is being translated.
|
||||
*/
|
||||
|
||||
/* $Header$ */
|
||||
/* $Id$ */
|
||||
|
||||
#include <local.h>
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
Gathering run-time statistics
|
||||
*/
|
||||
|
||||
/* $Header$ */
|
||||
/* $Id$ */
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# $Header$
|
||||
# $Id$
|
||||
|
||||
Various small but non-trivial test programs that have been useful in
|
||||
testing and debugging the EM interpreter.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* $Header$ */
|
||||
/* $Id$ */
|
||||
|
||||
/*
|
||||
Test access to args and environ
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ $Header$ }
|
||||
{ $Id$ }
|
||||
|
||||
program ArrayWithoutArray(input, output);
|
||||
{ We simulate a (read-only) array by constructing a mapping
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* $Header$ */
|
||||
/* $Id$ */
|
||||
|
||||
/*
|
||||
Test forking
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* $Header$ */
|
||||
/* $Id$ */
|
||||
|
||||
/* Testing ioctl monitor call */
|
||||
#include <sgtty.h>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# $Header$
|
||||
# $Id$
|
||||
|
||||
#PARAMS do not remove this line
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* $Header$ */
|
||||
/* $Id$ */
|
||||
|
||||
/*
|
||||
Test access to fields in struct stat
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* $Header$ */
|
||||
/* $Id$ */
|
||||
|
||||
/*
|
||||
Test combination of signal and setjmp/longjmp
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* $Header$ */
|
||||
/* $Id$ */
|
||||
|
||||
#include <signal.h>
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
Manipulating the Program Counter
|
||||
*/
|
||||
|
||||
/* $Header$ */
|
||||
/* $Id$ */
|
||||
|
||||
#include <em_abs.h>
|
||||
#include "global.h"
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
Accessing the program text
|
||||
*/
|
||||
|
||||
/* $Header$ */
|
||||
/* $Id$ */
|
||||
|
||||
#define text_loc(a) (*(text + (p2i(a))))
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
Trap handling
|
||||
*/
|
||||
|
||||
/* $Header$ */
|
||||
/* $Id$ */
|
||||
|
||||
#include <setjmp.h>
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
Trap handling
|
||||
*/
|
||||
|
||||
/* $Header$ */
|
||||
/* $Id$ */
|
||||
|
||||
#define wtrap(wn,tr) (warning(wn), trap(tr))
|
||||
#define trap(tr) do_trap(tr, __LINE__, __FILE__)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* $Header$ */
|
||||
/* $Id$ */
|
||||
|
||||
#define V7IOCTL /* ioctl() requests are from V7 UNIX */
|
||||
/* otherwise from local system */
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
Warnings.
|
||||
*/
|
||||
|
||||
/* $Header$ */
|
||||
/* $Id$ */
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user