remove junk files that have been here waaaaaaaay too long
This commit is contained in:
parent
d9b7594738
commit
949fccf66b
2 changed files with 0 additions and 178 deletions
|
@ -1,120 +0,0 @@
|
|||
# Makefile for ARMulator: ARM6 Instruction Emulator.
|
||||
# Copyright (C) 1994 Advanced RISC Machines Ltd.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
|
||||
# These variables can be overridden
|
||||
|
||||
#Default endianness of the processor (LITTLEEND or BIGEND)
|
||||
ENDIAN=LITTLEEND
|
||||
|
||||
prefix=/usr/local
|
||||
CC = gcc
|
||||
CFLAGS = -O2 -D$(ENDIAN) $(CFL)
|
||||
INSTALL_DIR = $(prefix)/bin
|
||||
INSTALL=cp
|
||||
|
||||
# Everything else should be ok as it is.
|
||||
|
||||
OBJS = armcopro.o armemu26.o armemu32.o arminit.o armos.o \
|
||||
armsupp.o main.o parent.o kid.o communicate.o gdbhost.o \
|
||||
bag.o armrdi.o
|
||||
|
||||
SRCS = armcopro.c armemu.c arminit.c armos.c armvirt.c \
|
||||
armsupp.c main.c parent.c kid.c communicate.c gdbhost.c \
|
||||
bag.c armrdi.c
|
||||
INCS = armdefs.h armemu.h armfpe.h armopts.h armos.h bag.h communicate.h \
|
||||
dbg_conf.h dbg_cp.h dbg_hif.h dbg_rdi.h gdbhost.h
|
||||
|
||||
TARED = $(SRCS) $(INCS) README COPYING Makefile
|
||||
|
||||
MODEL = armvirt
|
||||
|
||||
VER=1.0
|
||||
|
||||
all: armul
|
||||
|
||||
install: all
|
||||
$(INSTALL) armul $(INSTALL_DIR)
|
||||
|
||||
armul: $(OBJS) $(MODEL).o
|
||||
$(CC) $(CFLAGS) $(OBJS) $(MODEL).o -o $@ -lm -lXext -lX11
|
||||
|
||||
clean:
|
||||
rm -f *.o armul core
|
||||
|
||||
distclean: clean
|
||||
rm -f *~
|
||||
|
||||
realclean: distclean
|
||||
rm -f *.tar *.tar.gz
|
||||
|
||||
armul.tar.gz:
|
||||
rm -rf armul-$(VER)
|
||||
mkdir armul-$(VER)
|
||||
cd armul-$(VER) ; \
|
||||
for file in $(TARED) ; do \
|
||||
ln ../$${file} . ; \
|
||||
done
|
||||
tar cf armul.tar armul-$(VER)
|
||||
gzip armul.tar
|
||||
mv armul.tar.gz armul-$(VER).tar.gz
|
||||
|
||||
# memory models
|
||||
|
||||
armvirt.o: armdefs.h armvirt.c
|
||||
$(CC) $(CFLAGS) -c $*.c
|
||||
|
||||
# other objects
|
||||
|
||||
armos.o: armos.c armdefs.h armos.h armfpe.h
|
||||
$(CC) $(CFLAGS) -c $*.c
|
||||
|
||||
armcopro.o: armcopro.c armdefs.h
|
||||
$(CC) $(CFLAGS) -c $*.c
|
||||
|
||||
armemu26.o: armemu.c armdefs.h armemu.h
|
||||
$(CC) $(CFLAGS) -o armemu26.o -c armemu.c
|
||||
|
||||
armemu32.o: armemu.c armdefs.h armemu.h
|
||||
$(CC) $(CFLAGS) -o armemu32.o -DMODE32 -c armemu.c
|
||||
|
||||
arminit.o: arminit.c armdefs.h armemu.h
|
||||
$(CC) $(CFLAGS) -c $*.c
|
||||
|
||||
armrdi.o: armrdi.c armdefs.h armemu.h armos.h dbg_cp.h dbg_conf.h dbg_rdi.h \
|
||||
dbg_hif.h communicate.h
|
||||
$(CC) $(CFLAGS) -c $*.c
|
||||
|
||||
armsupp.o: armsupp.c armdefs.h armemu.h
|
||||
$(CC) $(CFLAGS) -c $*.c
|
||||
|
||||
kid.o: kid.c armdefs.h dbg_conf.h dbg_hif.h dbg_rdi.h gdbhost.h communicate.h
|
||||
$(CC) $(CFLAGS) -c $*.c
|
||||
|
||||
main.o: main.c armdefs.h dbg_rdi.h dbg_conf.h
|
||||
$(CC) $(CFLAGS) -c $*.c
|
||||
|
||||
communicate.o: communicate.c armdefs.h
|
||||
$(CC) $(CFLAGS) -c $*.c
|
||||
|
||||
bag.o: bag.c bag.h
|
||||
$(CC) $(CFLAGS) -c $*.c
|
||||
|
||||
gdbhost.o: gdbhost.c armdefs.h communicate.h dbg_rdi.h armos.h
|
||||
$(CC) $(CFLAGS) -c $*.c
|
||||
|
||||
parent.o: parent.c armdefs.h dbg_rdi.h communicate.h
|
||||
$(CC) $(CFLAGS) -c $*.c
|
|
@ -1,58 +0,0 @@
|
|||
This is the README file for ARMulator version 1.0, an ARM6 instruction
|
||||
emulator.
|
||||
|
||||
Configuration:
|
||||
The armulator has one configuration option, the default endianness
|
||||
of the processor. This can be changed by building with ENDIAN=BIGEND
|
||||
to produce a big-endian variant. The debugger can also select the
|
||||
endianness at run-time.
|
||||
|
||||
Build instructions:
|
||||
|
||||
This program is known to compile using GCC 2.6.0 on a Sun4. Other
|
||||
builds are untested. It almost certainly will not work on non-32bit
|
||||
machines.
|
||||
|
||||
To build the program simply type make in the source directory,
|
||||
followed by "make install"
|
||||
|
||||
Using the emulator:
|
||||
|
||||
The emulator runs as a separate process, and communicates with a
|
||||
debugger via tcp. To start the emulator type
|
||||
armul <socknum>
|
||||
where socknum is any number between 1024 and 65535. If the socket is
|
||||
already in use, armul will exit with an error.
|
||||
|
||||
This version of armul has been designed to work with gdb-4.13
|
||||
with the ARM/RDP/RDI extensions added (available separately). To
|
||||
connect gdb to the ARMulator, start gdb and type
|
||||
target arm <hostname>:<socknum>
|
||||
where hostname is the name of the machine on which the armulator
|
||||
is running, and socknum is the socket number specified when armul
|
||||
was started.
|
||||
|
||||
IMPORTANT:
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 2 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
|
||||
Advanced RISC Machines welcomes bug reports for this package,
|
||||
but no undertaking can be made to provide support or reply to email.
|
||||
Bugs should be sent to:
|
||||
armgnu@armltd.co.uk
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in a new issue