serial_stub.c
来自「底层驱动开发」· C语言 代码 · 共 24 行
C
24 行
/* * arch/ppc/boot/common/serial_stub.c * * This is a few stub routines to make the boot code cleaner looking when * there is no serial port support doesn't need to be closed, for example. * * Author: Tom Rini <trini@mvista.com> * * 2003 (c) MontaVista, Software, Inc. This file is licensed under the terms * of the GNU General Public License version 2. This program is licensed "as * is" without any warranty of any kind, whether express or implied. */unsigned long __attribute__ ((weak))serial_init(int chan, void *ignored){ return 0;}void __attribute__ ((weak))serial_close(unsigned long com_port){}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?