/
usr
/
include
/
powerpc64-linux-gnu
/
asm
/
/usr/include/powerpc64-linux-gnu/asm
mkdir
upload
Name
Size
Mode
Actions
auxvec.h
1846
0644
edit
dl
rm
bitsperlong.h
312
0644
edit
dl
rm
bootx.h
4401
0644
edit
dl
rm
bpf_perf_event.h
40
0644
edit
dl
rm
byteorder.h
550
0644
edit
dl
rm
cputable.h
2384
0644
edit
dl
rm
eeh.h
2233
0644
edit
dl
rm
elf.h
13400
0644
edit
dl
rm
epapr_hcalls.h
4259
0644
edit
dl
rm
errno.h
278
0644
edit
dl
rm
fcntl.h
367
0644
edit
dl
rm
ioctl.h
302
0644
edit
dl
rm
ioctls.h
4363
0644
edit
dl
rm
ipcbuf.h
1057
0644
edit
dl
rm
kvm.h
26122
0644
edit
dl
rm
kvm_para.h
2778
0644
edit
dl
rm
mman.h
1279
0644
edit
dl
rm
msgbuf.h
1159
0644
edit
dl
rm
nvram.h
2062
0644
edit
dl
rm
opal-prd.h
1767
0644
edit
dl
rm
papr-miscdev.h
184
0644
edit
dl
rm
papr-sysparm.h
2057
0644
edit
dl
rm
papr-vpd.h
538
0644
edit
dl
rm
param.h
31
0644
edit
dl
rm
perf_event.h
550
0644
edit
dl
rm
perf_regs.h
2748
0644
edit
dl
rm
poll.h
30
0644
edit
dl
rm
posix_types.h
594
0644
edit
dl
rm
ps3fb.h
1781
0644
edit
dl
rm
ptrace.h
7725
0644
edit
dl
rm
resource.h
34
0644
edit
dl
rm
sembuf.h
1144
0644
edit
dl
rm
setup.h
188
0644
edit
dl
rm
shmbuf.h
1723
0644
edit
dl
rm
sigcontext.h
4344
0644
edit
dl
rm
siginfo.h
33
0644
edit
dl
rm
signal.h
2547
0644
edit
dl
rm
socket.h
600
0644
edit
dl
rm
sockios.h
33
0644
edit
dl
rm
spu_info.h
774
0644
edit
dl
rm
stat.h
2362
0644
edit
dl
rm
statfs.h
32
0644
edit
dl
rm
swab.h
560
0644
edit
dl
rm
termbits.h
4104
0644
edit
dl
rm
termios.h
1697
0644
edit
dl
rm
tm.h
734
0644
edit
dl
rm
types.h
1304
0644
edit
dl
rm
ucontext.h
961
0644
edit
dl
rm
unistd.h
562
0644
edit
dl
rm
unistd_32.h
12065
0644
edit
dl
rm
unistd_64.h
11149
0644
edit
dl
rm
vas-api.h
649
0644
edit
dl
rm
Edit:
/usr/lib/linux/uapi/powerpc/asm/bootx.h
(4401B)
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ /* * This file describes the structure passed from the BootX application * (for MacOS) when it is used to boot Linux. * * Written by Benjamin Herrenschmidt. */ #ifndef __ASM_BOOTX_H__ #define __ASM_BOOTX_H__ #include <linux/types.h> #ifdef macintosh #include <Types.h> #include "linux_type_defs.h" #endif #ifdef macintosh /* All this requires PowerPC alignment */ #pragma options align=power #endif /* On kernel entry: * * r3 = 0x426f6f58 ('BooX') * r4 = pointer to boot_infos * r5 = NULL * * Data and instruction translation disabled, interrupts * disabled, kernel loaded at physical 0x00000000 on PCI * machines (will be different on NuBus). */ #define BOOT_INFO_VERSION 5 #define BOOT_INFO_COMPATIBLE_VERSION 1 /* Bit in the architecture flag mask. More to be defined in future versions. Note that either BOOT_ARCH_PCI or BOOT_ARCH_NUBUS is set. The other BOOT_ARCH_NUBUS_xxx are set additionally when BOOT_ARCH_NUBUS is set. */ #define BOOT_ARCH_PCI 0x00000001UL #define BOOT_ARCH_NUBUS 0x00000002UL #define BOOT_ARCH_NUBUS_PDM 0x00000010UL #define BOOT_ARCH_NUBUS_PERFORMA 0x00000020UL #define BOOT_ARCH_NUBUS_POWERBOOK 0x00000040UL /* Maximum number of ranges in phys memory map */ #define MAX_MEM_MAP_SIZE 26 /* This is the format of an element in the physical memory map. Note that the map is optional and current BootX will only build it for pre-PCI machines */ typedef struct boot_info_map_entry { __u32 physAddr; /* Physical starting address */ __u32 size; /* Size in bytes */ } boot_info_map_entry_t; /* Here are the boot informations that are passed to the bootstrap * Note that the kernel arguments and the device tree are appended * at the end of this structure. */ typedef struct boot_infos { /* Version of this structure */ __u32 version; /* backward compatible down to version: */ __u32 compatible_version; /* NEW (vers. 2) this holds the current _logical_ base addr of the frame buffer (for use by early boot message) */ __u8* logicalDisplayBase; /* NEW (vers. 4) Apple's machine identification */ __u32 machineID; /* NEW (vers. 4) Detected hw architecture */ __u32 architecture; /* The device tree (internal addresses relative to the beginning of the tree, * device tree offset relative to the beginning of this structure). * On pre-PCI macintosh (BOOT_ARCH_PCI bit set to 0 in architecture), this * field is 0. */ __u32 deviceTreeOffset; /* Device tree offset */ __u32 deviceTreeSize; /* Size of the device tree */ /* Some infos about the current MacOS display */ __u32 dispDeviceRect[4]; /* left,top,right,bottom */ __u32 dispDeviceDepth; /* (8, 16 or 32) */ __u8* dispDeviceBase; /* base address (physical) */ __u32 dispDeviceRowBytes; /* rowbytes (in bytes) */ __u32 dispDeviceColorsOffset; /* Colormap (8 bits only) or 0 (*) */ /* Optional offset in the registry to the current * MacOS display. (Can be 0 when not detected) */ __u32 dispDeviceRegEntryOffset; /* Optional pointer to boot ramdisk (offset from this structure) */ __u32 ramDisk; __u32 ramDiskSize; /* size of ramdisk image */ /* Kernel command line arguments (offset from this structure) */ __u32 kernelParamsOffset; /* ALL BELOW NEW (vers. 4) */ /* This defines the physical memory. Valid with BOOT_ARCH_NUBUS flag (non-PCI) only. On PCI, memory is contiguous and its size is in the device-tree. */ boot_info_map_entry_t physMemoryMap[MAX_MEM_MAP_SIZE]; /* Where the phys memory is */ __u32 physMemoryMapSize; /* How many entries in map */ /* The framebuffer size (optional, currently 0) */ __u32 frameBufferSize; /* Represents a max size, can be 0. */ /* NEW (vers. 5) */ /* Total params size (args + colormap + device tree + ramdisk) */ __u32 totalParamsSize; } boot_infos_t; #ifdef macintosh #pragma options align=reset #endif #endif /* __ASM_BOOTX_H__ */
Save
cmd:
run