Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(324)

Unified Diff: runtime/vm/os_win.cc

Issue 12041056: Initial revision of ARM simulator and (empty) MIPS simulator. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: runtime/vm/os_win.cc
===================================================================
--- runtime/vm/os_win.cc (revision 17504)
+++ runtime/vm/os_win.cc (working copy)
@@ -158,6 +158,11 @@
}
+void OS::DebugBreak() {
+ UNIMPLEMENTED();
Ivan Posva 2013/01/24 18:25:57 http://msdn.microsoft.com/en-us/library/windows/de
regis 2013/01/24 21:47:48 I had already checked this one: http://msdn.micros
+}
+
+
void OS::Print(const char* format, ...) {
va_list args;
va_start(args, format);
@@ -248,6 +253,10 @@
}
+// Cache the null page size.
+uword OS::null_page_size_ = 0;
+
+
void OS::InitOnce() {
// TODO(5411554): For now we check that initonce is called only once,
// Once there is more formal mechanism to call InitOnce we can move
@@ -257,6 +266,9 @@
init_once_called = true;
// Do not pop up a message box when abort is called.
_set_abort_behavior(0, _WRITE_ABORT_MSG);
+
+ // Initialize the null page size.
+ null_page_size_ = 4096; // TODO(regis): Retrieve the actual value.
}

Powered by Google App Engine
This is Rietveld 408576698