11bd4fe43Sopenharmony_ci/*
21bd4fe43Sopenharmony_ci * Copyright (c) 2020 HiSilicon (Shanghai) Technologies CO., LIMITED.
31bd4fe43Sopenharmony_ci * Licensed under the Apache License, Version 2.0 (the "License");
41bd4fe43Sopenharmony_ci * you may not use this file except in compliance with the License.
51bd4fe43Sopenharmony_ci * You may obtain a copy of the License at
61bd4fe43Sopenharmony_ci *
71bd4fe43Sopenharmony_ci *     http://www.apache.org/licenses/LICENSE-2.0
81bd4fe43Sopenharmony_ci *
91bd4fe43Sopenharmony_ci * Unless required by applicable law or agreed to in writing, software
101bd4fe43Sopenharmony_ci * distributed under the License is distributed on an "AS IS" BASIS,
111bd4fe43Sopenharmony_ci * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
121bd4fe43Sopenharmony_ci * See the License for the specific language governing permissions and
131bd4fe43Sopenharmony_ci * limitations under the License.
141bd4fe43Sopenharmony_ci */
151bd4fe43Sopenharmony_ci
161bd4fe43Sopenharmony_ci#ifndef __HI_EARLY_DEBUG_H__
171bd4fe43Sopenharmony_ci#define __HI_EARLY_DEBUG_H__
181bd4fe43Sopenharmony_ci#include <stdarg.h>
191bd4fe43Sopenharmony_ci
201bd4fe43Sopenharmony_civoid edb_put_str_only(const char *s);
211bd4fe43Sopenharmony_civoid edb_put_str_p0(char *str);
221bd4fe43Sopenharmony_civoid edb_put_str_p1(char *str, unsigned int p1);
231bd4fe43Sopenharmony_civoid edb_put_str_p2(char *str, unsigned int p1, unsigned int p2);
241bd4fe43Sopenharmony_civoid edb_put_str_p3(char *str, unsigned int p1, unsigned int p2, unsigned int p3);
251bd4fe43Sopenharmony_civoid edb_put_str_p4(char *str, unsigned int p1, unsigned int p2, unsigned int p3, unsigned int p4);
261bd4fe43Sopenharmony_civoid edb_put_buf(char *buf, unsigned int len);
271bd4fe43Sopenharmony_ciint printf(const char *fmt, ...);
281bd4fe43Sopenharmony_ciint vprintf(const char *fmt, va_list va);
291bd4fe43Sopenharmony_ciint dprintf(const char *fmt, ...);
301bd4fe43Sopenharmony_civoid edb_set_print_level(unsigned int level);
311bd4fe43Sopenharmony_civoid hi_printf_alloc_uart_by_nv(void);
321bd4fe43Sopenharmony_ci#endif
331bd4fe43Sopenharmony_ci
34