golden hour
/usr/include/asm
⬆️ Go Up
Upload
File/Folder
Size
Actions
a.out.h
693 B
Del
OK
auxvec.h
483 B
Del
OK
bitsperlong.h
229 B
Del
OK
boot.h
260 B
Del
OK
bootparam.h
4.39 KB
Del
OK
byteorder.h
137 B
Del
OK
debugreg.h
3.15 KB
Del
OK
e820.h
2.63 KB
Del
OK
errno.h
31 B
Del
OK
fcntl.h
31 B
Del
OK
hw_breakpoint.h
6 B
Del
OK
hyperv.h
13.32 KB
Del
OK
ioctl.h
31 B
Del
OK
ioctls.h
32 B
Del
OK
ipcbuf.h
32 B
Del
OK
ist.h
790 B
Del
OK
kvm.h
6.76 KB
Del
OK
kvm_para.h
2.77 KB
Del
OK
kvm_perf.h
325 B
Del
OK
ldt.h
963 B
Del
OK
mce.h
1.18 KB
Del
OK
mman.h
1.01 KB
Del
OK
msgbuf.h
32 B
Del
OK
msr-index.h
28.24 KB
Del
OK
msr.h
283 B
Del
OK
mtrr.h
4.06 KB
Del
OK
param.h
31 B
Del
OK
perf_regs.h
654 B
Del
OK
poll.h
30 B
Del
OK
posix_types.h
161 B
Del
OK
posix_types_32.h
702 B
Del
OK
posix_types_64.h
546 B
Del
OK
posix_types_x32.h
518 B
Del
OK
prctl.h
345 B
Del
OK
processor-flags.h
6.1 KB
Del
OK
ptrace-abi.h
1.76 KB
Del
OK
ptrace.h
1.17 KB
Del
OK
resource.h
34 B
Del
OK
sembuf.h
699 B
Del
OK
setup.h
6 B
Del
OK
shmbuf.h
32 B
Del
OK
sigcontext.h
5.11 KB
Del
OK
sigcontext32.h
1.64 KB
Del
OK
siginfo.h
431 B
Del
OK
signal.h
2.77 KB
Del
OK
socket.h
32 B
Del
OK
sockios.h
33 B
Del
OK
stat.h
2.89 KB
Del
OK
statfs.h
353 B
Del
OK
svm.h
5.09 KB
Del
OK
swab.h
661 B
Del
OK
termbits.h
34 B
Del
OK
termios.h
33 B
Del
OK
types.h
113 B
Del
OK
ucontext.h
339 B
Del
OK
unistd.h
296 B
Del
OK
unistd_32.h
9.4 KB
Del
OK
unistd_64.h
8.62 KB
Del
OK
unistd_x32.h
14.98 KB
Del
OK
vm86.h
2.98 KB
Del
OK
vmx.h
6.53 KB
Del
OK
vsyscall.h
375 B
Del
OK
Edit: e820.h
#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 #define E820_PMEM 7 /* * This is a non-standardized way to represent ADR or NVDIMM regions that * persist over a reboot. The kernel will ignore their special capabilities * unless the CONFIG_X86_PMEM_LEGACY option is set. * * ( Note that older platforms also used 6 for the same type of memory, * but newer versions switched to 12 as 6 was assigned differently. Some * time they will learn... ) */ #define E820_PRAM 12 /* * 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