nvram.c (b3b515bbd689ba3937cac2dd3fc55057f8c50329) nvram.c (9a4e1398208d147a9240731a1f8cfe7d8cc4c553)
1/*
2 * c 2001 PPC 64 Team, IBM Corp
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 *

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

593
594/*
595 * Reads the oops/panic report, rtas, of-config and common partition.
596 * Returns the length of the data we read from each partition.
597 * Returns 0 if we've been called before.
598 */
599static ssize_t nvram_pstore_read(u64 *id, enum pstore_type_id *type,
600 int *count, struct timespec *time, char **buf,
1/*
2 * c 2001 PPC 64 Team, IBM Corp
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 *

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

593
594/*
595 * Reads the oops/panic report, rtas, of-config and common partition.
596 * Returns the length of the data we read from each partition.
597 * Returns 0 if we've been called before.
598 */
599static ssize_t nvram_pstore_read(u64 *id, enum pstore_type_id *type,
600 int *count, struct timespec *time, char **buf,
601 struct pstore_info *psi)
601 bool *compressed, struct pstore_info *psi)
602{
603 struct oops_log_info *oops_hdr;
604 unsigned int err_type, id_no, size = 0;
605 struct nvram_os_partition *part = NULL;
606 char *buff = NULL;
607 int sig = 0;
608 loff_t p;
609

--- 285 unchanged lines hidden ---
602{
603 struct oops_log_info *oops_hdr;
604 unsigned int err_type, id_no, size = 0;
605 struct nvram_os_partition *part = NULL;
606 char *buff = NULL;
607 int sig = 0;
608 loff_t p;
609

--- 285 unchanged lines hidden ---