1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "mojo/public/platform/nacl/mojo_irt.h"
6 #include "native_client/src/public/irt_core.h"
8 static size_t irt_query(const char* interface_ident
,
9 void* table
, size_t tablesize
) {
10 // TODO(teravest): Add query for the Mojo IRT interface, when introduced.
11 size_t rc
= mojo_irt_query(interface_ident
, table
, tablesize
);
15 return nacl_irt_query_core(interface_ident
, table
, tablesize
);
18 void nacl_irt_start(uint32_t* info
) {
20 nacl_irt_enter_user_code(info
, irt_query
);