github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

nelhage / bemu

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 2
    • 0
  • Source
  • Commits
  • Network (0)
  • Issues (0)
  • Downloads (0)
  • Wiki (1)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Branches (1)
    • master ✓
  • Tags (0)
Sending Request…
Enable Donations

Pledgie Donations

Once activated, we'll place the following badge in your repository's detail box:
Pledgie_example
This service is courtesy of Pledgie.

A just-in-time compiler for MIT 6.004's "Beta" processor. — Read more

  cancel

  cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

Fix off-by-one displaying instruction profiles. 
nelhage (author)
Tue Dec 08 21:52:14 -0800 2009
commit  df6970d33a1331a7270d73e7608403d5dab308fb
tree    e2dc90150f8d132f6f713801a9c6d65f296ae43c
parent  603b4b1c3186cfe3ea0126a4aea113ca5e571ba9
bemu /
name age
history
message
file COPYING Thu Jul 03 20:27:22 -0700 2008 Add COPYING and README [nelhage]
file Makefile Sat Nov 07 12:30:18 -0800 2009 Add the test binaries to the default target. [nelhage]
file README Mon Jan 19 21:12:46 -0800 2009 Update source link. [nelhage]
file SConstruct Tue Jul 01 20:47:40 -0700 2008 Default to -O2, since I'm now thinking about pe... [nelhage]
file TODO Wed Apr 15 22:09:36 -0700 2009 Remove two TODO items. [nelhage]
file bclock.c Fri Oct 03 14:28:05 -0700 2008 bclock.c: Use setitimer(2) in place of POSIX re... [nelhage]
file bclock.h Sun Jun 29 17:23:29 -0700 2008 Implement timer interrupts. Currently only supp... [nelhage]
file bconsole.c Tue Nov 10 20:34:08 -0800 2009 Call console_close using atexit(). This helps ... [nelhage]
file bconsole.h Thu Jul 03 19:42:28 -0700 2008 Compile with -Wall and fix all the warnings it ... [nelhage]
file bcpu.c Sun Nov 08 19:40:50 -0800 2009 Add support for profiling the executed program ... [nelhage]
file bcpu.h Sun Nov 08 19:40:50 -0800 2009 Add support for profiling the executed program ... [nelhage]
file bdecode.c Sun Jun 29 17:56:28 -0700 2008 Implement the WRCHAR() callout [nelhage]
file bdecode.h Sun Nov 08 19:40:50 -0800 2009 Add support for profiling the executed program ... [nelhage]
file bemu.c Tue Dec 08 21:52:14 -0800 2009 Fix off-by-one displaying instruction profiles. [nelhage]
file bemu.h Sun Nov 08 19:40:50 -0800 2009 Add support for profiling the executed program ... [nelhage]
file bt.c Mon Nov 09 18:24:10 -0800 2009 Clean up some comments slightly. [nelhage]
file bt.h Sat Nov 07 12:30:19 -0800 2009 Skip the (PC == %eax) check in most frags. Gen... [nelhage]
file bt_helper.S Sat Nov 07 12:30:19 -0800 2009 Skip the (PC == %eax) check in most frags. Gen... [nelhage]
file insts.pl Sun Jun 29 11:11:01 -0700 2008 insts.pl: Wrap codegen macros in braces for bet... [nelhage]
file run-tests.sh Sat Nov 07 12:30:18 -0800 2009 run-tests: Fix options for running 'timer' [nelhage]
directory tests/ Mon Nov 09 17:44:10 -0800 2009 Bubblesort test case. [nelhage]
directory uasm/ Fri Oct 03 20:06:04 -0700 2008 uasm.c: Use realloc() instead of mremap() [nelhage]
file x86.h Sun Nov 08 19:40:50 -0800 2009 Add support for profiling the executed program ... [nelhage]
README
This code implements a working Just-In-Time binary translator from the
Beta [1] processor to the i386. It supports clock and keyboard
interrupts, and correctly executes lab6.uasm, bench[1-4].uasm, and
litmus.uasm, as well as Lab 8's operating system [2].

This source is canonically available from github at
<http://github.com/nelhage/bemu/>.

It should work on just about any modern Linux or Intel OS X system,
although it's better tested on Linux. I've tested it on Athena and it
works fine there.

To run the self-tests, `make test'; To run the lab8 OS, `make
run-lab8'.

It alsos includes a somewhat hacked version of `uasm' from
http://web.mit.edu/6.004/src/posix-src/uasm/, modified to deal with
relative includes slightly better, and to support arbitrary-sized
ROMs.

[1] http://6004.csail.mit.edu/currentsemester/handouts/beta.pdf
[2] http://web.mit.edu/6.004/bsim/lab8.uasm
Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server