Home
last modified time | relevance | path

Searched refs:kernel (Results 1 – 25 of 436) sorted by relevance

12345678910>>...18

/openbsd-src/gnu/llvm/lldb/docs/use/
H A Dqemu-testing.rst18 * **setup.sh** is used to build the Linux kernel image and QEMU system emulation executable(s) from…
20 * **run-qemu.sh** utilizes QEMU to boot a Linux kernel image with a root file system image.
22 Once we have booted our kernel we can run lldb-server in emulation environment.
50 Build QEMU or cross compile Linux kernel from source using setup.sh
53 **Example:** Build QEMU binaries and Arm/AArch64 Linux kernel image
56 $ bash setup.sh --qemu --kernel arm
57 $ bash setup.sh --qemu --kernel arm64
59 **Example:** Build Linux kernel image only
62 $ bash setup.sh --kernel arm
63 $ bash setup.sh --kernel arm64
[all …]
/openbsd-src/gnu/llvm/lldb/source/Plugins/Trace/intel-pt/
H A DTraceIntelPTJSONStructs.cpp120 json::Value toJSON(const JSONKernel &kernel) { in toJSON() argument
122 if (kernel.load_address) in toJSON()
123 json_module["loadAddress"] = toJSON(*kernel.load_address, true); in toJSON()
124 json_module["file"] = kernel.file; in toJSON()
128 bool fromJSON(const json::Value &value, JSONKernel &kernel, Path path) { in fromJSON() argument
130 return o && o.map("loadAddress", kernel.load_address) && in fromJSON()
131 o.map("file", kernel.file); in fromJSON()
143 {"kernel", bundle_description.kernel}}; in toJSON()
154 o.map("kernel", bundle_description.kernel))) in fromJSON()
170 if (bundle_description.kernel) { in fromJSON()
H A DTraceIntelPTBundleLoader.cpp165 FileSpec file_spec(bundle_description.kernel->file); in ParseKernel()
177 bundle_description.kernel->load_address in ParseKernel()
178 ? bundle_description.kernel->load_address->value in ParseKernel()
216 if (bundle_description.kernel) { in LoadBundle()
294 "kernel"?: { in GetSchema()
309 - If "kernel" is provided, then the "processes" section must be empty or not in GetSchema()
379 TraceIntelPT::TraceMode trace_mode = bundle_description.kernel in CreateTraceIntelPTInstance()
413 if (bundle_description.kernel) { in NormalizeAllPaths()
414 bundle_description.kernel->file = in NormalizeAllPaths()
415 NormalizePath(bundle_description.kernel->file).GetPath(); in NormalizeAllPaths()
H A DTraceIntelPTJSONStructs.h58 std::optional<JSONKernel> kernel; member
73 llvm::json::Value toJSON(const JSONKernel &kernel);
92 bool fromJSON(const llvm::json::Value &value, JSONModule &kernel,
/openbsd-src/gnu/llvm/llvm/utils/TableGen/jupyter/
H A DREADME.md1 # A Jupyter kernel for TableGen (llvm-tblgen)
3 To use the kernel, first install it into jupyter:
22 # To use the kernel from the command line.
23 jupyter console --kernel tablegen
32 To run the kernel's doctests do:
35 python3 tablegen_kernel/kernel.py
/openbsd-src/sbin/savecore/
H A Dsavecore.c100 char *kernel; variable
152 kernel = optarg; in main()
177 if (unveil(kernel ? kernel : _PATH_UNIX, "r") == -1) { in main()
258 if (kernel == NULL) { in kmem_setup()
275 dump_sys = kernel ? kernel : _PATH_UNIX; in kmem_setup()
276 kd_dump = kvm_openfiles(kernel, ddname, NULL, O_RDWR, errbuf); in kmem_setup()
318 if (strcmp(vers, core_vers) && kernel == 0) { in check_kmem()
504 ifd = open(kernel ? kernel : _PATH_UNIX, O_RDONLY); in save_core()
506 syslog(LOG_ERR, "%s: %m", kernel ? kernel : _PATH_UNIX); in save_core()
541 kernel ? kernel : _PATH_UNIX, strerror(errno)); in save_core()
[all …]
/openbsd-src/usr.sbin/rdsetroot/
H A Drdsetroot.c45 char *dataseg, *kernel = NULL, *fs = NULL, *name; in main() local
74 kernel = argv[0]; in main()
76 kernel = argv[0]; in main()
81 if ((kfd = open(kernel, xflag ? O_RDONLY : O_RDWR)) < 0) in main()
82 err(1, "%s", kernel); in main()
108 errx(1, "%s: not an elf", kernel); in main()
111 errx(1, "%s: invalid elf, not 32 or 64 bit", kernel); in main()
163 err(1, "%s: cannot map data seg", kernel); in main()
/openbsd-src/gnu/llvm/llvm/docs/
H A DNVPTXUsage.rst35 callable by device code, and *kernel functions*, which are callable by host
37 declare a function as a kernel function. This metadata is attached to the
42 !0 = !{<function-ref>, metadata !"kernel", i32 1}
44 The first parameter is a reference to the kernel function. The following
45 example shows a kernel function calling a device function in LLVM IR. The
64 !1 = !{void (float*)* @my_kernel, !"kernel", i32 1}
66 When compiled, the PTX kernel functions are callable by host-side code.
222 special registers, in particular the kernel launch bounds. These registers
397 // Get a handle to the "myfunction" kernel function
417 To start, let us take a look at a simple compute kernel written directly in
[all …]
/openbsd-src/sys/dev/wscons/
H A Dwsemul_sun.c269 struct wsemul_inputstate *instate, int kernel) in wsemul_sun_output_lowchars() argument
298 kernel ? edp->kernattr : edp->bkgdattr)); in wsemul_sun_output_lowchars()
319 if (kernel) { in wsemul_sun_output_lowchars()
345 struct wsemul_inputstate *instate, int kernel) in wsemul_sun_output_normal() argument
353 outchar, kernel ? edp->kernattr : edp->curattr)); in wsemul_sun_output_normal()
662 wsemul_sun_output(void *cookie, const u_char *data, u_int count, int kernel) in wsemul_sun_output() argument
673 if (kernel && !edp->console) in wsemul_sun_output()
677 instate = kernel ? &edp->kstate : &edp->instate; in wsemul_sun_output()
719 if ((edp->state == SUN_EMUL_STATE_NORMAL || kernel) && in wsemul_sun_output()
722 count, kernel); in wsemul_sun_output()
[all …]
H A Dwsemul_vt100.c350 struct wsemul_inputstate *instate, int kernel, int count) in wsemul_vt100_output_normal() argument
398 kernel ? edp->kernattr : edp->curattr)); in wsemul_vt100_output_normal()
402 kernel ? edp->kernattr : edp->curattr)); in wsemul_vt100_output_normal()
425 struct wsemul_inputstate *instate, int kernel) in wsemul_vt100_output_c0c1()
474 if (kernel) { in wsemul_vt100_output_c0c1()
475 printf("wsemul_vt100_output_c0c1: ESC in kernel " in wsemul_vt100_output_c0c1()
508 struct wsemul_inputstate *instate, int kernel) in wsemul_vt100_output_esc()
661 struct wsemul_inputstate *instate, int kernel) in wsemul_vt100_output_scs94()
704 struct wsemul_inputstate *instate, int kernel) in wsemul_vt100_output_scs94_percent()
726 struct wsemul_inputstate *instate, int kernel) in wsemul_vt100_output_scs96()
423 wsemul_vt100_output_c0c1(struct wsemul_vt100_emuldata * edp,struct wsemul_inputstate * instate,int kernel) wsemul_vt100_output_c0c1() argument
1103 wsemul_vt100_output(void * cookie,const u_char * data,u_int count,int kernel) wsemul_vt100_output() argument
1267 wsemul_vt100_jump_scroll(struct wsemul_vt100_emuldata * edp,const u_char * data,u_int count,int kernel) wsemul_vt100_jump_scroll() argument
[all...]
/openbsd-src/distrib/notes/loongson/
H A Dinstall19 installation kernel to the main Linux partition, and boot from it.
21 Assuming the installation kernel has been copied to /boot/bsd.rd on the
34 dnl you can boot the kernel from an usb key with:
38 Netbooting the installation kernel can be done as well. First, check the name
41 assign it an address and fetch the installation kernel from a tftp server:
98 kernel /dev/fs/ext2@wd0/boot/boot
117 of OpenBSD binaries (bootloader or kernel) causes a register dump
127 The bootloader will attempt to load the kernel file set in the `bsd'
172 ``initrd'' image. By making PMON load the kernel as the ``initrd''i
174 ``load'' the OpenBSD kernel correctly.
[all …]
/openbsd-src/usr.sbin/vmctl/
H A Dvmctl.c65 * kernel: kernel image to load
75 char **nics, int ndisks, char **disks, int *disktypes, char *kernel, in vm_start() argument
85 if (kernel) { in vm_start()
86 if (unveil(kernel, "r") == -1) in vm_start()
87 err(1, "unveil boot kernel"); in vm_start()
100 if (kernel) in vm_start()
111 else if (kernel == NULL && ndisks == 0) in vm_start()
113 if (kernel == NULL && ndisks == 0 && !iso) in vm_start()
114 errx(1, "no kernel o in vm_start()
[all...]
/openbsd-src/sys/arch/alpha/stand/boot/
H A Dversion16 1.6: Don't pass arguments to the kernel, trim unnecessary environment
22 1.8: Search for a kernel, if none specified.
26 1.8: Use MI loadfile, warn if kernel image would overlap SRM
/openbsd-src/sys/conf/
H A DGENERIC4 # GENERIC kernel
6 option DDB # in-kernel debugger
10 #makeoptions PROF="-pg" # build profiled kernel
11 #option GPROF # kernel profiling, kgmon(8)
82 pseudo-device ksyms 1 # kernel symbols device
83 pseudo-device kstat # kernel statistics device
/openbsd-src/regress/sys/netinet/arp/
H A DREADME1 Regression tests for the ARP implementation in the kernel.
3 The test suite runs on the machine LOCAL, the kernel under test is
6 kernel log files are fetched from REMOTE via SCP and grepped for
37 - My qemu where the kernel under test is running
/openbsd-src/gnu/llvm/lldb/scripts/lldb-test-qemu/
H A Dsetup.sh66 https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git linux.git
124 -k|--kernel)
/openbsd-src/gnu/gcc/gcc/config/
H A Ddarwin.opt36 Generate code for darwin loadable kernel extentions
40 Generate code for the kernel or loadable kernel extentions
/openbsd-src/distrib/notes/octeon/
H A Dprep20 There are several ways to load an OpenBSD/MACHINE kernel (or ramdisk),
48 Now load the ramdisk kernel using either of the following commands depending
78 The ramdisk kernel needs to be loaded into memory. If you use "0" as the
90 Booting the installation kernel
92 Now the kernel can be booted from the default memory location, with no
/openbsd-src/distrib/notes/luna88k/
H A Dinstall7 use the OpenBSD bootblocks and the ramdisk kernel, bsd.rd, copied to an
30 (a-h). Copy the installation kernel (bsd.rd) to the same partition.
53 to boot the installation kernel from the same partition.
73 to boot the installation kernel from the same partition.
82 It will take a while to load the kernel especially from a slow
/openbsd-src/lib/libpcap/
H A DREADME32 Although most packet capture interfaces support in-kernel filtering,
33 libpcap utilizes in-kernel filtering only for the BPF interface.
38 with the underlying kernel subsystem, but this is not yet implemented.
43 to Ultrix using the kernel source and/or object patches available in:
/openbsd-src/gnu/llvm/lldb/source/Plugins/DynamicLoader/Darwin-Kernel/
H A DDynamicLoaderDarwinKernelProperties.td7 Desc<"Automatically loads kext images when attaching to a kernel.">;
12 Desc<"Control how many reads lldb will make while searching for a Darwin kernel on attach.">;
/openbsd-src/sys/arch/alpha/stand/netboot/
H A Dversion10 1.5: Search for a kernel, if none specified.
14 1.3: Use MI loadfile, warn if kernel image would overlap SRM
/openbsd-src/libexec/reorder_kernel/
H A Dreorder_kernel.sh25 KERNEL_DIR=/usr/share/relink/kernel
28 SHA256=/var/db/kernel.SHA256
/openbsd-src/usr.sbin/nsd/
H A Dconfig.sub1316 kernel=linux
1320 kernel=os2
1324 kernel=nto
1330 IFS="-" read kernel os <<EOF
1337 kernel=nto
1341 kernel=linux
1345 kernel=managarm
1349 kernel=
1534 kernel=
1546 kernel=linux
[all …]
/openbsd-src/usr.sbin/unbound/
H A Dconfig.sub1497 # First recognize some ad-hoc cases, or perhaps split kernel-os, or else just
1502 kernel=linux
1506 kernel=os2
1510 kernel=nto
1515 IFS="-" read kernel os <<EOF
1520 # Default OS when just kernel was specified
1522 kernel=nto
1526 kernel=linux
1530 kernel=managarm
1534 kernel
[all...]

12345678910>>...18