]> Git Repo - J-linux.git/blob - arch/arm64/include/asm/ptdump.h
Merge tag 'kbuild-v6.9' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy...
[J-linux.git] / arch / arm64 / include / asm / ptdump.h
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3  * Copyright (C) 2014 ARM Ltd.
4  */
5 #ifndef __ASM_PTDUMP_H
6 #define __ASM_PTDUMP_H
7
8 #ifdef CONFIG_PTDUMP_CORE
9
10 #include <linux/mm_types.h>
11 #include <linux/seq_file.h>
12
13 struct addr_marker {
14         unsigned long start_address;
15         char *name;
16 };
17
18 struct ptdump_info {
19         struct mm_struct                *mm;
20         const struct addr_marker        *markers;
21         unsigned long                   base_addr;
22 };
23
24 void ptdump_walk(struct seq_file *s, struct ptdump_info *info);
25 #ifdef CONFIG_PTDUMP_DEBUGFS
26 #define EFI_RUNTIME_MAP_END     DEFAULT_MAP_WINDOW_64
27 void __init ptdump_debugfs_register(struct ptdump_info *info, const char *name);
28 #else
29 static inline void ptdump_debugfs_register(struct ptdump_info *info,
30                                            const char *name) { }
31 #endif
32 #endif /* CONFIG_PTDUMP_CORE */
33
34 #endif /* __ASM_PTDUMP_H */
This page took 0.027733 seconds and 4 git commands to generate.