nvram.h (e5451c8f8330e03ad3cfa16048b4daf961af434f) nvram.h (a156c7ba669c65b55c7afcc3994e1199cc0cad47)
1/*
2 * NVRAM definitions and access functions.
3 *
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public License
6 * as published by the Free Software Foundation; either version
7 * 2 of the License, or (at your option) any later version.
8 */

--- 84 unchanged lines hidden (view full) ---

93 unsigned int *error_log_cnt);
94
95/* Write to NVRAM OS partition */
96extern int nvram_write_os_partition(struct nvram_os_partition *part,
97 char *buff, int length,
98 unsigned int err_type,
99 unsigned int error_log_cnt);
100
1/*
2 * NVRAM definitions and access functions.
3 *
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public License
6 * as published by the Free Software Foundation; either version
7 * 2 of the License, or (at your option) any later version.
8 */

--- 84 unchanged lines hidden (view full) ---

93 unsigned int *error_log_cnt);
94
95/* Write to NVRAM OS partition */
96extern int nvram_write_os_partition(struct nvram_os_partition *part,
97 char *buff, int length,
98 unsigned int err_type,
99 unsigned int error_log_cnt);
100
101/* Determine NVRAM size */
102extern ssize_t nvram_get_size(void);
103
104/* Normal access to NVRAM */
105extern unsigned char nvram_read_byte(int i);
106extern void nvram_write_byte(unsigned char c, int i);
107#endif /* _ASM_POWERPC_NVRAM_H */
101#endif /* _ASM_POWERPC_NVRAM_H */