003 File Manager
Current Path:
/usr/src/sys/powerpc/ps3
usr
/
src
/
sys
/
powerpc
/
ps3
/
📁
..
📄
ehci_ps3.c
(4.94 KB)
📄
if_glc.c
(24.57 KB)
📄
if_glcreg.h
(4.7 KB)
📄
mmu_ps3.c
(7.26 KB)
📄
ohci_ps3.c
(4.7 KB)
📄
platform_ps3.c
(7.44 KB)
📄
ps3-hv-asm.awk
(1.26 KB)
📄
ps3-hv-header.awk
(958 B)
📄
ps3-hvcall.S
(20.01 KB)
📄
ps3-hvcall.h
(8.88 KB)
📄
ps3-hvcall.master
(6.53 KB)
📄
ps3_syscons.c
(6.77 KB)
📄
ps3bus.c
(19.91 KB)
📄
ps3bus.h
(2.19 KB)
📄
ps3cdrom.c
(17.77 KB)
📄
ps3disk.c
(17.12 KB)
📄
ps3pic.c
(6.39 KB)
Editing: ps3-hv-header.awk
# This script generates the PS3 hypervisor call header from a hypervisor # interface definition file. All lines that do not begin with HVCALL # or a bare # for comments are copied to the output header so that # enums, constant, C comments and the like can be passed through into the # header. # # Invoke like so: awk -f ps3-hv-header.awk < ps3-hvcall.master > ps3-hv.h # # $FreeBSD$ !/HVCALL.*/ && (!/#.*/ || /#define.*/ || /#include.*/) { print($0); } /HVCALL.*/ { split($5, outs, ",") if ($4 == "UNUSED") split("", ins, ",") else split($4, ins, ",") printf("int %s(",$3); for (i = 1; i <= length(ins); i++) { printf("uint64_t %s", ins[i]); if (i < length(ins)) printf(", "); } if (length(outs) > 0 && length(ins) > 0) printf(", "); for (i = 1; i <= length(outs); i++) { printf("uint64_t *%s", outs[i]); if (i < length(outs)) printf(", "); } if (length(outs) == 0 && length(ins) == 0) printf("void"); printf(");\n"); }
Upload File
Create Folder