Ziyuan Xu | 48890e2 | 2016-10-27 19:07:35 +0800 | [diff] [blame^] | 1 | /* |
2 | * Copyright (c) 2017, ARM Limited and Contributors. All rights reserved. | ||||
3 | * | ||||
4 | * SPDX-License-Identifier: BSD-3-Clause | ||||
5 | */ | ||||
6 | |||||
7 | #include <stdlib.h> | ||||
8 | |||||
9 | __asm__( | ||||
10 | ".pushsection .text.hdcp_handler, \"ax\", %progbits\n" | ||||
11 | ".global hdcp_handler\n" | ||||
12 | ".balign 4\n" | ||||
13 | "hdcp_handler:\n" | ||||
14 | ".incbin \"" __XSTRING(HDCPFW) "\"\n" | ||||
15 | ".type hdcp_handler, %function\n" | ||||
16 | ".size hdcp_handler, .- hdcp_handler\n" | ||||
17 | ".popsection\n" | ||||
18 | ); | ||||
19 |