mirror of
https://github.com/lemonade-sdk/mac_linuxgpu.git
synced 2026-11-22 23:57:31 -10:00
Runs the unmodified upstream Linux amdgpu and amdkfd drivers on Apple Silicon Macs inside a DriverKit system extension, for AMD GPUs attached over Thunderbolt. The Linux sources come from a pinned submodule and are compiled against linuxu, a userspace implementation of the Linux kernel APIs they use. Includes the HSA runtime, the host installer app, the setup and firmware fetch scripts, and the offline test suite.
17 lines
503 B
C
17 lines
503 B
C
/* linuxu: EDITED (third_party/linux/include/linux/kgdb.h) - kernel debugger
|
|
* not usable in userspace; keep only the symbols driver code references
|
|
* (dc_breakpoint() -> kgdb_breakpoint(), used by display os_types.h). */
|
|
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef _KGDB_H_
|
|
#define _KGDB_H_
|
|
|
|
#include <linux/types.h>
|
|
|
|
/*
|
|
* kgdb_breakpoint - compiled in breakpoint.
|
|
* In the userspace shim this is a plain compile-time no-op.
|
|
*/
|
|
#define kgdb_breakpoint() do { } while (0)
|
|
|
|
#endif /* _KGDB_H_ */
|