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

Unified Diff: include/fletch_relocation_api.h

Issue 1659163007: Rename fletch -> dartino (Closed) Base URL: https://github.com/dartino/sdk.git@master
Patch Set: address comments Created 4 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
« no previous file with comments | « include/fletch_api.h ('k') | include/service_api.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/fletch_relocation_api.h
diff --git a/include/fletch_relocation_api.h b/include/fletch_relocation_api.h
deleted file mode 100644
index 4064e1c86721eb858ef0119f5cc51d288cd72f04..0000000000000000000000000000000000000000
--- a/include/fletch_relocation_api.h
+++ /dev/null
@@ -1,39 +0,0 @@
-// Copyright (c) 2015, the Dartino project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE.md file.
-
-#ifndef INCLUDE_FLETCH_RELOCATION_API_H_
-#define INCLUDE_FLETCH_RELOCATION_API_H_
-
-#include <stdint.h>
-#include <stddef.h>
-
-#include "include/fletch_api.h"
-
-// Returns the memory requirement in bytes for the given program. The
-// reported memory requirement includes the size of an info block as
-// appended when relocating a program. It is thus suitable as size
-// argument to FletchRelocateProgram.
-FLETCH_EXPORT size_t FletchGetProgramSize(FletchProgram program);
-
-// Relocates the given program to the new address given by base.
-// The resulting blob is written to the memory region referred to
-// by target.
-//
-// base and target may coincide, if the new location of the program
-// is in random access memory. Otherwise, the caller is responsible
-// for copying the blob written to target to its new location.
-//
-// The memory region pointed to by target has to be big enough to
-// hold the relocated program plus an appended info block. The
-// function FletchGetProgramSize can be used to query this information.
-//
-// The address referred to by base has to be 4k aligned.
-//
-// On success, the number of bytes written is returned. Otherwise,
-// a negative value is returned.
-FLETCH_EXPORT int FletchRelocateProgram(FletchProgram program,
- void* target,
- uintptr_t base);
-
-#endif // INCLUDE_FLETCH_RELOCATION_API_H_
« no previous file with comments | « include/fletch_api.h ('k') | include/service_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698