mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-08 12:19:06 +00:00
HV:Acrn-hypvervisor Root Directory Clean-up and create misc/ folder for Acrn daemons, services and tools.
This patch is to clean-up acrn-hypervisor root directory, targt only 5 folders under acrn-hypervisor:1.hypervisor,2.devicemodel,3.misc,4.doc,5.build Tracked-On: #3482 Signed-off-by: Terry Zou <terry.zou@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
31
misc/tools/acrn-crashlog/usercrash/include/packet.h
Normal file
31
misc/tools/acrn-crashlog/usercrash/include/packet.h
Normal file
@@ -0,0 +1,31 @@
|
||||
/*
|
||||
* Copyright (C) <2018> Intel Corporation
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
|
||||
#ifndef CLIENT_H
|
||||
#define CLIENT_H
|
||||
|
||||
#define COMM_NAME_LEN 64
|
||||
#define SOCKET_NAME "user_crash"
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
enum CrashPacketType {
|
||||
/* Initial request from crash_dump */
|
||||
kDumpRequest = 0,
|
||||
|
||||
/* Notification of a completed crash dump */
|
||||
kCompletedDump,
|
||||
|
||||
/* Responses to kRequest */
|
||||
kPerformDump
|
||||
};
|
||||
|
||||
struct crash_packet {
|
||||
enum CrashPacketType packet_type;
|
||||
int pid;
|
||||
char name[COMM_NAME_LEN];
|
||||
};
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user