mirror of
https://gitee.com/open-loongarch/linux-5.10.git
synced 2026-10-28 14:07:12 +08:00
19 lines
415 B
C
19 lines
415 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/*
|
|
* Copyright (C) 2020 Loongson Technology Co., Ltd.
|
|
*/
|
|
#ifndef __ASM_FW_H_
|
|
#define __ASM_FW_H_
|
|
|
|
#include <asm/bootinfo.h>
|
|
|
|
extern int fw_argc;
|
|
extern long *_fw_argv, *_fw_envp;
|
|
|
|
#define fw_argv(index) ((char *)TO_CAC((long)_fw_argv[(index)]))
|
|
#define fw_envp(index) ((char *)TO_CAC((long)_fw_envp[(index)]))
|
|
|
|
extern void fw_init_cmdline(void);
|
|
|
|
#endif /* __ASM_FW_H_ */
|