/
usr
/
include
/
asm
/
/usr/include/asm
mkdir
upload
Name
Size
Mode
Actions
a.out.h
693
0644
edit
dl
rm
auxvec.h
281
0644
edit
dl
rm
bitsperlong.h
229
0644
edit
dl
rm
boot.h
260
0644
edit
dl
rm
bootparam.h
2970
0644
edit
dl
rm
byteorder.h
137
0644
edit
dl
rm
debugreg.h
2904
0644
edit
dl
rm
e820.h
2259
0644
edit
dl
rm
errno.h
31
0644
edit
dl
rm
fcntl.h
31
0644
edit
dl
rm
hyperv.h
8103
0644
edit
dl
rm
ioctl.h
31
0644
edit
dl
rm
ioctls.h
32
0644
edit
dl
rm
ipcbuf.h
32
0644
edit
dl
rm
ist.h
790
0644
edit
dl
rm
kvm.h
6212
0644
edit
dl
rm
kvm_para.h
2305
0644
edit
dl
rm
ldt.h
1243
0644
edit
dl
rm
mce.h
5241
0644
edit
dl
rm
mman.h
170
0644
edit
dl
rm
msgbuf.h
32
0644
edit
dl
rm
msr-index.h
23412
0644
edit
dl
rm
msr.h
311
0644
edit
dl
rm
mtrr.h
3788
0644
edit
dl
rm
param.h
31
0644
edit
dl
rm
poll.h
30
0644
edit
dl
rm
posix_types.h
92
0644
edit
dl
rm
posix_types_32.h
1316
0644
edit
dl
rm
posix_types_64.h
1306
0644
edit
dl
rm
prctl.h
190
0644
edit
dl
rm
processor-flags.h
3656
0644
edit
dl
rm
ptrace-abi.h
1797
0644
edit
dl
rm
ptrace.h
1192
0644
edit
dl
rm
resource.h
34
0644
edit
dl
rm
sembuf.h
699
0644
edit
dl
rm
setup.h
82
0644
edit
dl
rm
shmbuf.h
32
0644
edit
dl
rm
sigcontext.h
5403
0644
edit
dl
rm
sigcontext32.h
1684
0644
edit
dl
rm
siginfo.h
198
0644
edit
dl
rm
signal.h
2958
0644
edit
dl
rm
socket.h
32
0644
edit
dl
rm
sockios.h
33
0644
edit
dl
rm
stat.h
2324
0644
edit
dl
rm
statfs.h
353
0644
edit
dl
rm
swab.h
1179
0644
edit
dl
rm
termbits.h
34
0644
edit
dl
rm
termios.h
33
0644
edit
dl
rm
types.h
114
0644
edit
dl
rm
ucontext.h
339
0644
edit
dl
rm
unistd.h
82
0644
edit
dl
rm
unistd_32.h
10692
0644
edit
dl
rm
unistd_64.h
24238
0644
edit
dl
rm
vm86.h
3055
0644
edit
dl
rm
vsyscall.h
375
0644
edit
dl
rm
Edit:
/usr/include/asm/e820.h
(2259B)
#ifndef _ASM_X86_E820_H #define _ASM_X86_E820_H #define E820MAP 0x2d0 /* our map */ #define E820MAX 128 /* number of entries in E820MAP */ /* * Legacy E820 BIOS limits us to 128 (E820MAX) nodes due to the * constrained space in the zeropage. If we have more nodes than * that, and if we've booted off EFI firmware, then the EFI tables * passed us from the EFI firmware can list more nodes. Size our * internal memory map tables to have room for these additional * nodes, based on up to three entries per node for which the * kernel was built: MAX_NUMNODES == (1 << CONFIG_NODES_SHIFT), * plus E820MAX, allowing space for the possible duplicate E820 * entries that might need room in the same arrays, prior to the * call to sanitize_e820_map() to remove duplicates. The allowance * of three memory map entries per node is "enough" entries for * the initial hardware platform motivating this mechanism to make * use of additional EFI map entries. Future platforms may want * to allow more than three entries per node or otherwise refine * this size. */ /* * Odd: 'make headers_check' complains about numa.h if I try * to collapse the next two #ifdef lines to a single line: * #if defined(__KERNEL__) && defined(CONFIG_EFI) */ #define E820_X_MAX E820MAX #define E820NR 0x1e8 /* # entries in E820MAP */ #define E820_RAM 1 #define E820_RESERVED 2 #define E820_ACPI 3 #define E820_NVS 4 #define E820_UNUSABLE 5 /* * reserved RAM used by kernel itself * if CONFIG_INTEL_TXT is enabled, memory of this type will be * included in the S3 integrity calculation and so should not include * any memory that BIOS might alter over the S3 transition */ #define E820_RESERVED_KERN 128 #ifndef __ASSEMBLY__ #include <linux/types.h> struct e820entry { __u64 addr; /* start of memory segment */ __u64 size; /* size of memory segment */ __u32 type; /* type of memory segment */ } __attribute__((packed)); struct e820map { __u32 nr_map; struct e820entry map[E820_X_MAX]; }; #define ISA_START_ADDRESS 0xa0000 #define ISA_END_ADDRESS 0x100000 #define BIOS_BEGIN 0x000a0000 #define BIOS_END 0x00100000 #define BIOS_ROM_BASE 0xffe00000 #define BIOS_ROM_END 0xffffffff #endif /* __ASSEMBLY__ */ #endif /* _ASM_X86_E820_H */
Save
cmd:
run