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

Side by Side Diff: runtime/vm/cpuinfo_fuchsia.cc

Issue 2117593002: Fuchsia: Initial check-in. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Address comments Created 4 years, 5 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 unified diff | Download patch
« no previous file with comments | « runtime/vm/class_table.cc ('k') | runtime/vm/dev_fs.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file.
4
5 #include "vm/globals.h"
6 #if defined(TARGET_OS_FUCHSIA)
7
8 #include "vm/cpuinfo.h"
9
10 #include "platform/assert.h"
11
12 // TODO(zra): Use "vm/cpuid.h"
13
14 namespace dart {
15
16 CpuInfoMethod CpuInfo::method_ = kCpuInfoDefault;
17 const char* CpuInfo::fields_[kCpuInfoMax] = {0};
18
19 void CpuInfo::InitOnce() {
20 UNIMPLEMENTED();
21 }
22
23
24 void CpuInfo::Cleanup() {
25 UNIMPLEMENTED();
26 }
27
28
29 bool CpuInfo::FieldContains(CpuInfoIndices idx, const char* search_string) {
30 UNIMPLEMENTED();
31 return false;
32 }
33
34
35 const char* CpuInfo::ExtractField(CpuInfoIndices idx) {
36 UNIMPLEMENTED();
37 return "<undefined>";
38 }
39
40
41 bool CpuInfo::HasField(const char* field) {
42 UNIMPLEMENTED();
43 return false;
44 }
45
46 } // namespace dart
47
48 #endif // defined(TARGET_OS_FUCHSIA)
OLDNEW
« no previous file with comments | « runtime/vm/class_table.cc ('k') | runtime/vm/dev_fs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698