#include <linux/types.h>
#include <linux/errno.h>
#include <linux/init.h>
#include <linux/spinlock.h>
#include <linux/slab.h>
#include <linux/kmsg_dump.h>
#include <linux/ctype.h>
#include <linux/zlib.h>
#include <asm/uaccess.h>
#include <asm/nvram.h>
#include <asm/rtas.h>
#include <asm/prom.h>
#include <asm/machdep.h>
Go to the source code of this file.
|
int | nvram_write_os_partition (struct nvram_os_partition *part, char *buff, int length, unsigned int err_type, unsigned int error_log_cnt) |
|
int | nvram_write_error_log (char *buff, int length, unsigned int err_type, unsigned int error_log_cnt) |
|
int | nvram_read_error_log (char *buff, int length, unsigned int *err_type, unsigned int *error_log_cnt) |
|
int | nvram_clear_error_log (void) |
|
| machine_arch_initcall (pseries, pseries_nvram_init_log_partitions) |
|
int __init | pSeries_nvram_init (void) |
|
#define NVRAM_RTAS_READ_TIMEOUT 5 /* seconds */ |
machine_arch_initcall |
( |
pseries |
, |
|
|
pseries_nvram_init_log_partitions |
|
|
) |
| |
int nvram_read_error_log |
( |
char * |
buff, |
|
|
int |
length, |
|
|
unsigned int * |
err_type, |
|
|
unsigned int * |
error_log_cnt |
|
) |
| |
int nvram_write_error_log |
( |
char * |
buff, |
|
|
int |
length, |
|
|
unsigned int |
err_type, |
|
|
unsigned int |
error_log_cnt |
|
) |
| |