|
Server : Apache/2.4.41 (Ubuntu) System : Linux vmi1525618.contaboserver.net 5.4.0-105-generic #119-Ubuntu SMP Mon Mar 7 18:49:24 UTC 2022 x86_64 User : www-data ( 33) PHP Version : 8.2.12 Disable Function : NONE Directory : /usr/src/linux-headers-5.4.0-105/arch/powerpc/include/asm/ |
Upload File : |
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * hvconsole.h * Copyright (C) 2004 Ryan S Arnold, IBM Corporation * * LPAR console support. */ #ifndef _PPC64_HVCONSOLE_H #define _PPC64_HVCONSOLE_H #ifdef __KERNEL__ /* * PSeries firmware will only send/recv up to 16 bytes of character data per * hcall. */ #define MAX_VIO_PUT_CHARS 16 #define SIZE_VIO_GET_CHARS 16 /* * Vio firmware always attempts to fetch MAX_VIO_GET_CHARS chars. The 'count' * parm is included to conform to put_chars() function pointer template */ extern int hvc_get_chars(uint32_t vtermno, char *buf, int count); extern int hvc_put_chars(uint32_t vtermno, const char *buf, int count); #endif /* __KERNEL__ */ #endif /* _PPC64_HVCONSOLE_H */