ops.h (af3b146d26550f0c8e0d77b2117c6f8aec5d8146) | ops.h (b96fbb6e1eb81bb21a8c3462773a0056e12de427) |
---|---|
1/* 2 * Global definition of all the bootwrapper operations. 3 * 4 * Author: Mark A. Greer <mgreer@mvista.com> 5 * 6 * 2006 (c) MontaVista Software, Inc. This file is licensed under 7 * the terms of the GNU General Public License version 2. This program 8 * is licensed "as is" without any warranty of any kind, whether express --- 37 unchanged lines hidden (view full) --- 46 const char *propval, int proplen); 47 unsigned long (*finalize)(void); 48}; 49extern struct dt_ops dt_ops; 50 51/* Console operations */ 52struct console_ops { 53 int (*open)(void); | 1/* 2 * Global definition of all the bootwrapper operations. 3 * 4 * Author: Mark A. Greer <mgreer@mvista.com> 5 * 6 * 2006 (c) MontaVista Software, Inc. This file is licensed under 7 * the terms of the GNU General Public License version 2. This program 8 * is licensed "as is" without any warranty of any kind, whether express --- 37 unchanged lines hidden (view full) --- 46 const char *propval, int proplen); 47 unsigned long (*finalize)(void); 48}; 49extern struct dt_ops dt_ops; 50 51/* Console operations */ 52struct console_ops { 53 int (*open)(void); |
54 void (*write)(char *buf, int len); | 54 void (*write)(const char *buf, int len); |
55 void (*edit_cmdline)(char *buf, int len); 56 void (*close)(void); 57 void *data; 58}; 59extern struct console_ops console_ops; 60 61/* Serial console operations */ 62struct serial_console_data { --- 130 unchanged lines hidden --- | 55 void (*edit_cmdline)(char *buf, int len); 56 void (*close)(void); 57 void *data; 58}; 59extern struct console_ops console_ops; 60 61/* Serial console operations */ 62struct serial_console_data { --- 130 unchanged lines hidden --- |