Files
kernels/tests/regression/idle/common.h
Hansung Kim 11e6d34e1c Add idle kernel
Only spawns 1 thread that does a busy wait up to a counter.  Other cores
do not issue any instructions after the scheduling prologue.
2024-06-20 14:00:32 -07:00

19 lines
294 B
C++

#ifndef _COMMON_H_
#define _COMMON_H_
#include <cstdint>
#define KERNEL_ARG_DEV_MEM_ADDR 0x9fff0000
#define DEV_SMEM_START_ADDR 0xff000000
typedef struct {
uint32_t dim_m;
uint32_t dim_n;
uint32_t dim_k;
uint64_t addr_a;
uint64_t addr_b;
uint64_t addr_c;
} kernel_arg_t;
#endif