Kevin May | 43a799c | 2019-02-08 16:31:42 +0000 | [diff] [blame] | 1 | // |
| 2 | // Copyright © 2017 Arm Ltd. All rights reserved. |
| 3 | // SPDX-License-Identifier: MIT |
| 4 | // |
| 5 | |
Keith Mok | 4a3db79 | 2020-12-21 17:06:57 -0800 | [diff] [blame] | 6 | #if !defined(__MACH__) |
Kevin May | 43a799c | 2019-02-08 16:31:42 +0000 | [diff] [blame] | 7 | .section .rodata |
Keith Mok | 4a3db79 | 2020-12-21 17:06:57 -0800 | [diff] [blame] | 8 | #define EXTERN_ASM |
| 9 | #else |
| 10 | .const_data |
| 11 | #define EXTERN_ASM _ |
| 12 | #endif |
Kevin May | 43a799c | 2019-02-08 16:31:42 +0000 | [diff] [blame] | 13 | |
Keith Mok | 4a3db79 | 2020-12-21 17:06:57 -0800 | [diff] [blame] | 14 | #define GLUE(a, b) a ## b |
| 15 | #define JOIN(a, b) GLUE(a, b) |
| 16 | #define X(s) JOIN(EXTERN_ASM, s) |
Kevin May | 43a799c | 2019-02-08 16:31:42 +0000 | [diff] [blame] | 17 | |
Keith Mok | 4a3db79 | 2020-12-21 17:06:57 -0800 | [diff] [blame] | 18 | .global X(deserialize_schema_start) |
| 19 | .global X(deserialize_schema_end) |
| 20 | |
| 21 | X(deserialize_schema_start): |
Kevin May | 43a799c | 2019-02-08 16:31:42 +0000 | [diff] [blame] | 22 | .incbin ARMNN_SERIALIZER_SCHEMA_PATH |
Keith Mok | 4a3db79 | 2020-12-21 17:06:57 -0800 | [diff] [blame] | 23 | X(deserialize_schema_end): |