Linux Kernel
3.7.1
|
#include <linux/crash_dump.h>
#include <linux/bootmem.h>
#include <linux/memblock.h>
#include <asm/code-patching.h>
#include <asm/kdump.h>
#include <asm/prom.h>
#include <asm/firmware.h>
#include <asm/uaccess.h>
#include <asm/rtas.h>
Go to the source code of this file.
Macros | |
#define | DBG(fmt...) |
Functions | |
void __init | reserve_kdump_trampoline (void) |
void __init | setup_kdump_trampoline (void) |
__setup ("savemaxmem=", parse_savemaxmem) | |
ssize_t | copy_oldmem_page (unsigned long pfn, char *buf, size_t csize, unsigned long offset, int userbuf) |
#define DBG | ( | fmt... | ) |
Definition at line 28 of file crash_dump.c.
__setup | ( | ) |
ssize_t copy_oldmem_page | ( | unsigned long | pfn, |
char * | buf, | ||
size_t | csize, | ||
unsigned long | offset, | ||
int | userbuf | ||
) |
copy_oldmem_page - copy one page from "oldmem" : page frame number to be copied : target memory address for the copy; this can be in kernel address space or user address space (see ) : number of bytes to copy : offset in bytes into the page (based on pfn) to begin the copy : if set, is in user address space, use copy_to_user(), otherwise is in kernel address space, use memcpy().
Copy a page from "oldmem". For this page, there is no pte mapped in the current kernel. We stitch up a pte, similar to kmap_atomic.
Definition at line 107 of file crash_dump.c.
Definition at line 32 of file crash_dump.c.
Definition at line 53 of file crash_dump.c.