commit | d6b1f6190c8ec42facb08aca34b093244774b318 | [log] [tgz] |
---|---|---|
author | Ian Rogers <irogers@google.com> | Tue Sep 27 13:38:14 2011 -0700 |
committer | Ian Rogers <irogers@google.com> | Tue Sep 27 16:29:18 2011 -0700 |
tree | 698b54670a3935e2d6065b79ab9300e9b2364c3d | |
parent | f153fe1ff3c901a1c63b6ec5495c5046869a60e3 [diff] [blame] |
Support for stack scanning of roots. Change-Id: Icbb02959725735faaa230e0fd00e8039b2f9c1b2
diff --git a/src/context.h b/src/context.h index 05cd43b..b4a8b65 100644 --- a/src/context.h +++ b/src/context.h
@@ -27,6 +27,9 @@ // Set the program counter value virtual void SetPC(uintptr_t new_pc) = 0; + // Read the given GPR + virtual uintptr_t GetGPR(uint32_t reg) = 0; + // Switch execution of the executing context to this context virtual void DoLongJump() = 0; };