This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Contents of /trunk/RELEASE

Parent Directory Parent Directory | Revision Log Revision Log

Revision 12 - (show annotations)
Mon Oct 8 16:18:38 2007 UTC (13 years, 3 months ago) by dpavlin
File size: 7189 byte(s)
++ trunk/HISTORY	(local)
$Id: HISTORY,v 1.905 2005/08/16 09:16:24 debug Exp $
20050628	Continuing the work on the ARM translation engine. end_of_page
		works. Experimenting with load/store translation caches
		(virtual -> physical -> host).
20050629	More ARM stuff (memory access translation cache, mostly). This
		might break a lot of stuff elsewhere, probably some MIPS-
		related translation things.
20050630	Many load/stores are now automatically generated and included
		into cpu_arm_instr.c; 1024 functions in total (!).
		Fixes based on feedback from Alec Voropay: only print 8 hex
		digits instead of 16 in some cases when emulating 32-bit
		machines; similar 8 vs 16 digit fix for breakpoint addresses;
		4Kc has 16 TLB entries, not 48; the MIPS config select1
		register is now printed with "reg ,0".
		Also changing many other occurances of 16 vs 8 digit output.
		Adding cache associativity fields to mips_cpu_types.h; updating
		some other cache fields; making the output of
		mips_cpu_dumpinfo() look nicer.
		Generalizing the bintrans stuff for device accesses to also
		work with the new translation system. (This might also break
		some MIPS things.)
		Adding multi-load/store instructions to the ARM disassembler
		and the translator, and some optimizations of various kinds.
20050701	Adding a simple dev_disk (it can read/write sectors from
		disk images).
20050712	Adding dev_ether (a simple ethernet send/receive device).
		Debugger command "ninstrs" for toggling show_nr_of_instructions
		during runtime.
		Removing the framebuffer logo.
20050713	Continuing on dev_ether.
		Adding a dummy cpu_alpha (again).
20050714	More work on cpu_alpha.
20050715	More work on cpu_alpha. Many instructions work, enough to run
		a simple framebuffer fill test (similar to the ARM test).
20050716	More Alpha stuff.
20050717	Minor updates (Alpha stuff).
20050718	Minor updates (Alpha stuff).
20050719	Generalizing some Alpha instructions.
20050720	More Alpha-related updates.
20050721	Continuing on cpu_alpha. Importing rpb.h from NetBSD/alpha.
20050722	Alpha-related updates: userland stuff (Hello World using
		write() compiled statically for FreeBSD/Alpha runs fine), and
		more instructions are now implemented.
20050723	Fixing ldq_u and stq_u.
		Adding more instructions (conditional moves, masks, extracts,
20050724	More FreeBSD/Alpha userland stuff, and adding some more
		instructions (inserts).
20050725	Continuing on the Alpha stuff. (Adding dummy ldt/stt.)
		Adding a -A command line option to turn off alignment checks
		in some cases (for translated code).
		Trying to remove the old bintrans code which updated the pc
		and nr_of_executed_instructions for every instruction.
20050726	Making another attempt att removing the pc/nr of instructions
		code. This time it worked, huge performance increase for
		artificial test code, but performance loss for real-world
		code :-( so I'm scrapping that code for now.
		Tiny performance increase on Alpha (by using ret instead of
		jmp, to play nice with the Alpha's branch prediction) for the
		old MIPS bintrans backend.
20050727	Various minor fixes and cleanups.
20050728	Switching from a 2-level virtual to host/physical translation
		system for ARM emulation, to a 1-level translation.
		Trying to switch from 2-level to 1-level for the MIPS bintrans
		system as well (Alpha only, so far), but there is at least one
		problem: caches and/or how they work with device mappings.
20050730	Doing the 2-level to 1-level conversion for the i386 backend.
		The cache/device bug is still there for R2K/3K :(
		Various other minor updates (Malta etc).
		The mc146818 clock now updates the UIP bit in a way which works
		better with Linux for at least sgimips and Malta emulation.
		Beginning the work on refactoring the dyntrans system.
20050731	Continuing the dyntrans refactoring.
		Fixing a small but serious host alignment bug in memory_rw.
		Adding support for big-endian load/stores to the i386 bintrans
		Another minor i386 bintrans backend update: stores from the
		zero register are now one (or two) loads shorter.
		The slt and sltu instructions were incorrectly implemented for
		the i386 backend; only using them for 32-bit mode for now.
20050801	Continuing the dyntrans refactoring.
		Cleanup of the ns16550 serial controller (removing unnecessary
		Bugfix (memory corruption bug) in dev_gt, and a patch/hack from
		Alec Voropay for Linux/Malta.
20050802	More cleanup/refactoring of the dyntrans subsystem: adding
		phys_page pointers to the lookup tables, for quick jumps
		between translated pages.
		Better fix for the ns16550 device (but still no real FIFO
		Converting cpu_ppc to the new dyntrans system. This means that
		I will have to start from scratch with implementing each
		instruction, and figure out how to implement dual 64/32-bit
		modes etc.
		Removing the URISC CPU family, because it was useless.
20050803	When selecting a machine type, the main type can now be omitted
		if the subtype name is unique. (I.e. -E can be omitted.)
		Fixing a dyntrans/device update bug. (Writes to offset 0 of
		a device could sometimes go unnoticed.)
		Adding an experimental "instruction combination" hack for
		ARM for memset-like byte fill loops.
20050804	Minor progress on cpu_alpha and related things.
		Finally fixing the MIPS dmult/dmultu bugs.
		Fixing some minor TODOs.
20050805	Generalizing the 8259 PIC. It now also works with Cobalt
		and evbmips emulation, in addition to the x86 hack.
		Finally converting the ns16550 device to use devinit.
		Continuing the work on the dyntrans system. Thinking about
		how to add breakpoints.
20050806	More dyntrans updates. Breakpoints seem to work now.
20050807	Minor updates: cpu_alpha and related things; removing
		dev_malta (as it isn't used any more).
		Dyntrans: working on general "show trace tree" support.
		The trace tree stuff now works with both the old MIPS code and
		with newer dyntrans modes. :)
		Continuing on Alpha-related stuff (trying to get *BSD to boot
		a bit further, adding more instructions, etc).
20050808	Adding a dummy IA64 cpu family, and continuing the refactoring
		of the dyntrans system.
		Removing the regression test stuff, because it was more or
		less useless.
		Adding loadlinked/storeconditional type instructions to the
		Alpha emulation. (Needed for Linux/alpha. Not very well tested
20050809	The function call trace tree now prints a per-function nr of
		arguments. (Semi-meaningless, since that data isn't read yet
		from the ELFs; some hardcoded symbols such as memcpy() and
		strlen() work fine, though.)
		More dyntrans refactoring; taking out more of the things that
		are common to all cpu families.
20050810	Working on adding support for "dual mode" for PPC dyntrans
		(i.e. both 64-bit and 32-bit modes).
		(Re)adding some simple PPC instructions.
20050811	Adding a dummy M68K cpu family. The dyntrans system isn't ready
		for variable-length ISAs yet, so it's completely bogus so far.
		Re-adding more PPC instructions.
		Adding a hack to src/file.c which allows OpenBSD/mac68k a.out
		kernels to be loaded.
		Beginning to add PPC loads/stores. So far they only work in
		32-bit mode.
20050812	The configure file option "add_remote" now accepts symbolic
		host names, in addition to numeric IPv4 addresses.
		Re-adding more PPC instructions.
20050814	Continuing to port back more PPC instructions.
		Found and fixed the cache/device write-update bug for 32-bit
		MIPS bintrans. :-)
		Triggered a really weird and annoying bug in Compaq's C
		compiler; ccc sometimes outputs code which loads from an
		address _before_ checking whether the pointer was NULL or not.
		(I'm not sure how to handle this problem.)
20050815	Removing all of the old x86 instruction execution code; adding
		a new (dummy) dyntrans module for x86.
		Taking the first steps to extend the dyntrans system to support
		variable-length instructions.
		Slowly preparing for the next release.
20050816	Adding a dummy SPARC cpu module.
		Minor updates (documentation etc) for the release.

==============  RELEASE 0.3.5  ==============

1 Release notes for Gavare's eXperimental Emulator (GXemul), 0.3.5
2 ================================================================
4 Copyright (C) 2003-2005 Anders Gavare.
7 GXemul is an experimental instruction-level machine emulator. It can be used to
8 run binary code for MIPS-based machines, regardless of host platform. Several
9 emulation modes are available. For some modes, processors and surrounding
10 hardware components are emulated well enough to let unmodified operating
11 systems (e.g. NetBSD) run as if they were running on a real machine.
13 (Non-MIPS emulation modes are also under development, but so far none of those
14 modes has reached the completeness required to run unmodified operating
15 systems.)
17 I have verified that the following "guest" operating systems can run inside
18 the emulator:
20 Guest operating system Emulated machine
21 ---------------------- ----------------
22 NetBSD/pmax 2.0.2 (and 1.6.2) DECstation 5000/200
23 OpenBSD/pmax 2.8-BETA DECstation 5000/200
24 Ultrix 4.2-4.5 DECstation 5000/200
25 Sprite demo harddisk image DECstation 5000/200
26 Debian GNU/Linux for DECstation DECstation 5000/200
27 Redhat Linux 7.1 for mips DECstation 5000/200
28 NetBSD/arc 1.6.2 Acer PICA-61
29 OpenBSD/arc 2.3 Acer PICA-61
30 NetBSD/hpcmips 2.0.2 NEC MobilePro 770, 780, 800, 880
31 NetBSD/cobalt 2.0.2 Cobalt
32 NetBSD/evbmips 2.0.2 Malta 5Kc/4Kc evaluation board
33 NetBSD/sgimips 2.0.2 SGI O2 ("IP32")
35 Some of these guest operating systems are easier to install and run than
36 others. The best supported mode is the DECstation 5000/200 emulation mode, with
37 NetBSD/pmax as the guest operating system.
39 A couple of other emulation modes exist. Some of these modes are almost working
40 well enough to run complete guest operating systems, but most are just
41 skeletons. The modes that work are listed in the documentation.
43 The emulator can also be used in other experiments; it does not have to run
44 entire guest operating systems. (However, GXemul does not simulate things
45 smaller than an instruction. What this means is that pipe-line stalls,
46 penalties caused by branch-prediction misses or cache misses, and other
47 micro-architectural effects are not simulated.)
49 The user-visible changes between release 0.3.4 and 0.3.5 are minor, and
50 can be summarized as follows:
52 o) Updates to the (old) binary translation subsystem, resulting
53 in minor speed improvements.
55 o) 64-bit MIPS dmult/dmultu has been fixed.
57 o) slt* instructions for 64-bit MIPS were incorrectly implemented
58 in the i386 backend. This has been fixed.
60 There have been many other bug fixes and updates, most of which are not
61 visible.
63 Files included in this release are:
65 BUGS A list of known bugs.
66 HISTORY Detailed revision history / changelog.
67 LICENSE Copyright message / license.
68 README Quick start instructions, for the impatient.
69 RELEASE This file.
70 TODO TODO notes.
71 configure, Makefile.skel sh and make scripts for building GXemul.
72 doc Documentation.
73 experiments Experimental code. (Usually not needed.)
74 src Source code.
76 To build the emulator, run the ./configure script, and then run make.
78 Building the emulator should work on most Unix-like systems. (One system which
79 is specifically known to NOT work is Ultrix/RISC inside the emulator; Ultrix
80 chokes on the configure script and the default cc in Ultrix doesn't work.)
82 Regarding files in the src/include/ directory: only some of these are written
83 by me, the rest are from other sources (such as NetBSD). The license text says
84 that "All advertising materials mentioning features or use of this software"
85 must display acknowledgements. Even though I do NOT feel I mention features or
86 use of the header files (the "software") in any advertising materials, I am
87 still very grateful for the fact that these people have made their files
88 available for re-use, so regardless of legal requirements, I guess thanking
89 them like this is in order:
91 This product includes software developed by the University of
92 California, Berkeley and its contributors.
94 This product includes software developed for the
95 NetBSD Project. See http://www.netbsd.org/ for
96 information about NetBSD.
98 This product includes software developed by Jonathan Stone for
99 the NetBSD Project.
101 This product includes software developed for the NetBSD Project
102 by Matthias Drochner.
104 This product includes software developed by the NetBSD
105 Foundation, Inc. and its contributors.
107 This product includes software developed by Christopher G. Demetriou.
108 [for the NetBSD Project.]
110 This product includes software developed by Adam Glass.
112 This product includes software developed by the PocketBSD project
113 and its contributors.
115 This product includes software developed by Peter Galbavy.
117 Carnegie Mellon University (multiple header files,
118 no specific advertisement text required)
120 This product includes software developed by Charles M. Hannum.
122 This product includes software developed under OpenBSD by Per Fogelström.
124 This product includes software developed by Per Fogelström.
126 This product includes software developed at Ludd, University of
127 Luleå, Sweden and its contributors.
129 This product includes software developed by Hellmuth Michaelis
130 and Joerg Wunsch
132 The font(s) in devices/fonts are Copyright (c) 1992, 1993, 1994
133 by Hellmuth Michaelis and Joerg Wunsch. ("This product includes software
134 developed by Hellmuth Michaelis and Joerg Wunsch", well, the font
135 is maybe not software, but still...)
137 impactsr-bsd.h is Copyright (C) 2004 by Stanislaw Skowronek.
139 This product includes software developed for the NetBSD Project by
140 Wasabi Systems, Inc. [by Simon Burge]
142 arcbios_other.h is Copyright (c) 1996 M. Warner Losh.
144 This product includes software developed by Marc Horowitz.
146 Also, src/include/alpha_rpb.h requires the following:
148 Copyright (c) 1994, 1995, 1996 Carnegie-Mellon University.
149 All rights reserved.
151 Author: Keith Bostic, Chris G. Demetriou
153 Permission to use, copy, modify and distribute this software and
154 its documentation is hereby granted, provided that both the copyright
155 notice and this permission notice appear in all copies of the
156 software, derivative works or modified versions, and any portions
157 thereof, and that both notices appear in supporting documentation.
160 See individual files for license details, if you plan to redistribute GXemul
161 or reuse code.
163 Thanks to (in no specific order) Joachim Buss, Juli Mallett, Juan RP, Alec
164 Voropay, Göran Weinholt, Alexander Yurchenko, and everyone else who has
165 provided me with feedback.
167 If you have found GXemul useful in some way, or feel like sending me comments
168 or feedback in general, then mail me at anders(at)gavare.se.

  ViewVC Help
Powered by ViewVC 1.1.26