File: proc_iomem.c

package info (click to toggle)
kexec-tools 1%3A2.0.20-2.1
  • links: PTS
  • area: main
  • in suites: bullseye
  • size: 2,828 kB
  • sloc: ansic: 27,201; sh: 3,486; asm: 2,625; cpp: 1,752; makefile: 930
file content (13 lines) | stat: -rw-r--r-- 282 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include "kexec.h"

static const char proc_iomem_str[] = "/proc/iomem";

/*
 * Allow an architecture specific implementation of this
 * function to override the location of a file looking a lot
 * like /proc/iomem
 */
const char *proc_iomem(void)
{
        return proc_iomem_str;
}