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

Unified Diff: src/trusted/platform_qualify/arch/mips/nacl_qualify_fpu.c

Issue 10919162: [MIPS] Implementation of sel_ldr for MIPS architecture. (Closed) Base URL: http://src.chromium.org/native_client/trunk/src/native_client/
Patch Set: Created 8 years, 3 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: src/trusted/platform_qualify/arch/mips/nacl_qualify_fpu.c
diff --git a/src/trusted/platform_qualify/arch/mips/nacl_qualify_fpu.c b/src/trusted/platform_qualify/arch/mips/nacl_qualify_fpu.c
new file mode 100644
index 0000000000000000000000000000000000000000..9f5849fe8e921940ffff2ea67bc012502fdb8ee6
--- /dev/null
+++ b/src/trusted/platform_qualify/arch/mips/nacl_qualify_fpu.c
@@ -0,0 +1,18 @@
+/*
+ * Copyright (c) 2012 The Native Client Authors. All rights reserved.
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
+ */
+
+#include <setjmp.h>
+#include <signal.h>
+#include <stdint.h>
+#include <stdlib.h>
+
+/*
+ * Returns 1 if FPU instructions work.
+ */
+int NaClQualifyFpu(void) {
+ // TODO(petarj): Find an ellegant way to check if FPU is present
Mark Seaborn 2012/09/08 02:43:14 Spelling: "elegant" Also, please use C-style comme
petarj 2012/09/11 16:58:13 Ok, file omitted for now.
+ return 1;
+}

Powered by Google App Engine
This is Rietveld 408576698