From a554311fc8d76ad5152333d42d8867c28d52c530 Mon Sep 17 00:00:00 2001 From: David Li Date: Sat, 9 Jan 2016 20:33:47 -0700 Subject: Update TODOs --- TODO.md | 30 ++++++++++++++++++++++++++++++ post-receive | 12 ++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 post-receive diff --git a/TODO.md b/TODO.md index e1f5dab..e7fac25 100644 --- a/TODO.md +++ b/TODO.md @@ -1,3 +1,33 @@ +# CacheRacer TODOs + +- [ ] Come up with a theme + +## Scoring + +- [ ] Stop game once score reached +- [ ] Provide visualization (possibly using console?) like one used at + tournament + +## Sneak Attack/Retreat + +- [ ] Test sneak attack/retreat system calls + +## Traps + +- [ ] Implement traps +- [ ] Rebalance traps + +## Development/Debugging + +- [ ] Package RISC-V toolchain + - [ ] Find way to shrink toolchain +- [ ] Implement debugger +- [ ] Debug logging + - [ ] Cache misses/stalls + - [ ] Traps + +## Misc + * Remember: 4 cores per side * Each core could sneak attack individually * Need some way to have four cores share a cache, and each diff --git a/post-receive b/post-receive new file mode 100644 index 0000000..89b0842 --- /dev/null +++ b/post-receive @@ -0,0 +1,12 @@ +#!/bin/bash +# post-receive hook for Git that deploys TODO.md to my website. + +while read oldrev newrev ref +do + if [[ $ref =~ .*/master$ ]]; + then + if git show HEAD:TODO.md > /dev/null; then + git show HEAD:TODO.md > /www/todos/cacheracer.html + fi + fi +done -- cgit v1.2.3