From f99c0e4db46a910cf07c5872e76254bb4b0d52c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Sim=C3=B5es?= Date: Fri, 17 Mar 2017 09:31:26 +0000 Subject: [PATCH] Remove duplicate file MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - all headers for WireProtocol were supposed to have moved to CRL\Include in #208, this on was left behind Signed-off-by: José Simões --- .../WireProtocol_MonitorCommands.h | 128 ------------------ 1 file changed, 128 deletions(-) delete mode 100644 src/CLR/WireProtocol/WireProtocol_MonitorCommands.h diff --git a/src/CLR/WireProtocol/WireProtocol_MonitorCommands.h b/src/CLR/WireProtocol/WireProtocol_MonitorCommands.h deleted file mode 100644 index 96bdf9e4b7..0000000000 --- a/src/CLR/WireProtocol/WireProtocol_MonitorCommands.h +++ /dev/null @@ -1,128 +0,0 @@ -// -// Copyright (c) 2017 The nanoFramework project contributors -// Portions Copyright (c) Microsoft Corporation. All rights reserved. -// See LICENSE file in the project root for full license information. -// - -#ifndef _WIREPROTOCOL_COMMANDS_H_ -#define _WIREPROTOCOL_COMMANDS_H_ - -#include "WireProtocol_v2.h" -#include "WireProtocol_Message.h" - -////////////////////////////////////////// -// enums - -// structure for Monitor Reboot options -// backwards compatible with .NETMF -typedef enum Monitor_Reboot_Options -{ - Monitor_Reboot_c_NormalReboot = 0, - Monitor_Reboot_c_EnterBootloader = 1, - Monitor_Reboot_c_ClrRebootOnly = 2, - Monitor_Reboot_c_ClrStopDebugger = 4 -}Monitor_Reboot_Options; - -// structure for Access Memory operations -typedef enum AccessMemory_Operations -{ - // check if memory space is erased - AccessMemory_Check = 0x00, - - // read block of data starting at a given address - AccessMemory_Read = 0x01, - - // write block of data starting at a given address - AccessMemory_Write = 0x02, - - // erase sector/block/page at a given address - AccessMemory_Erase = 0x03, - - - AccessMemory_Mask = 0x0F - -}AccessMemory_Operations; - -typedef enum MemoryMap_Options -{ - Monitor_MemoryMap_c_RAM = 0x00000001, - Monitor_MemoryMap_c_FLASH = 0x00000002, - -}MemoryMap_Options; - -////////////////////////////////////////// -// typedefs - -// structure for Monitor Ping Reply -// backwards compatible with .NETMF -typedef struct Monitor_Ping_Reply -{ - uint32_t m_source; - uint32_t m_dbg_flags; - -}Monitor_Ping_Reply; - -// structure with reply for OEM information command -typedef struct Monitor_OemInfo_Reply -{ - ReleaseInfo m_releaseInfo; - -}Monitor_OemInfo_Reply; - -typedef struct CLR_DBG_Commands_Monitor_WriteMemory -{ - uint32_t address; - uint32_t length; - uint8_t data[1]; - -}CLR_DBG_Commands_Monitor_WriteMemory; - -typedef struct Monitor_Reboot_Command -{ - uint32_t m_flags; - -}Monitor_Reboot_Command; - -typedef struct CLR_DBG_Commands_Monitor_EraseMemory -{ - uint32_t address; - uint32_t length; - -}CLR_DBG_Commands_Monitor_EraseMemory; - -typedef struct MemoryMap_Range -{ - uint32_t m_address; - uint32_t m_length; - uint32_t m_flags; - -}MemoryMap_Range; - - -typedef struct CLR_DBG_Commands_Monitor_MemoryMap -{ - MemoryMap_Range m_map[1]; - -}CLR_DBG_Commands_Monitor_MemoryMap; - - -////////////////////////////////////////// -// function declarations (commands) - -#ifdef __cplusplus -extern "C" { -#endif - -bool Monitor_Ping(WP_Message* message); -bool Monitor_OemInfo(WP_Message* message); -bool Monitor_WriteMemory(WP_Message* message); -bool Monitor_Reboot(WP_Message* message); -bool Monitor_EraseMemory(WP_Message* message); -bool Monitor_MemoryMap(WP_Message* message); - -#ifdef __cplusplus -} -#endif - -#endif //_WIREPROTOCOL_COMMANDS_H_ -