mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
Missed these files from the last commit.
svn path=/trunk/; revision=2308
This commit is contained in:
parent
096c6a9c99
commit
26090a1b08
3 changed files with 59 additions and 10 deletions
|
@ -133,7 +133,7 @@ PSERIAL_PACKET ReadPacket(void)
|
|||
//printf("out of memory!\n");
|
||||
return NULL;
|
||||
}
|
||||
memcpy(p,&header,sizeof(SERIAL_PACKET_HEADER));
|
||||
PICE_memcpy(p,&header,sizeof(SERIAL_PACKET_HEADER));
|
||||
|
||||
sprintf(temp,"size %X chksum %x\n",header.packet_size,header.packet_chksum);
|
||||
//printf(temp);
|
||||
|
|
39
reactos/apps/utils/pice/module/pice.rc
Normal file
39
reactos/apps/utils/pice/module/pice.rc
Normal file
|
@ -0,0 +1,39 @@
|
|||
|
||||
#include <defines.h>
|
||||
#include <reactos/resource.h>
|
||||
|
||||
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
|
||||
|
||||
VS_VERSION_INFO VERSIONINFO
|
||||
FILEVERSION RES_UINT_FV_MAJOR,RES_UINT_FV_MINOR,RES_UINT_FV_REVISION,RES_UINT_FV_BUILD
|
||||
PRODUCTVERSION RES_UINT_PV_MAJOR,RES_UINT_PV_MINOR,RES_UINT_PV_REVISION,RES_UINT_PV_BUILD
|
||||
FILEFLAGSMASK 0x3fL
|
||||
#ifdef _DEBUG
|
||||
FILEFLAGS 0x1L
|
||||
#else
|
||||
FILEFLAGS 0x0L
|
||||
#endif
|
||||
FILEOS 0x40004L
|
||||
FILETYPE 0x2L
|
||||
FILESUBTYPE 0x0L
|
||||
BEGIN
|
||||
BLOCK "StringFileInfo"
|
||||
BEGIN
|
||||
BLOCK "040904b0"
|
||||
BEGIN
|
||||
VALUE "CompanyName", RES_STR_COMPANY_NAME
|
||||
VALUE "FileDescription", "PICE Debugger\0"
|
||||
VALUE "FileVersion", "0.0.1\0"
|
||||
VALUE "InternalName", "pice\0"
|
||||
VALUE "LegalCopyright", RES_STR_LEGAL_COPYRIGHT
|
||||
VALUE "OriginalFilename", "pice.sys\0"
|
||||
VALUE "ProductName", RES_STR_PRODUCT_NAME
|
||||
VALUE "ProductVersion", RES_STR_PRODUCT_VERSION
|
||||
END
|
||||
END
|
||||
BLOCK "VarFileInfo"
|
||||
BEGIN
|
||||
VALUE "Translation", 0x409, 1200
|
||||
END
|
||||
END
|
||||
|
|
@ -19,25 +19,32 @@ Author:
|
|||
|
||||
Klaus P. Gerlicher
|
||||
|
||||
reactos port by:
|
||||
Eugene Ingerman
|
||||
|
||||
Revision History:
|
||||
|
||||
13-Nov-1999: created
|
||||
15-Nov-2000: general cleanup of source files
|
||||
|
||||
10/20/2001: porting to reactos begins
|
||||
|
||||
Copyright notice:
|
||||
|
||||
This file may be distributed under the terms of the GNU Public License.
|
||||
|
||||
--*/
|
||||
#ifdef LINUX
|
||||
|
||||
#define PICE_IOCTL_MAGIC 'p'
|
||||
#include <ddk/ntddk.h>
|
||||
|
||||
#define PICE_IOCTL_LOAD _IO(PICE_IOCTL_MAGIC,0)
|
||||
#define PICE_IOCTL_UNLOAD _IO(PICE_IOCTL_MAGIC,1)
|
||||
#define PICE_IOCTL_RELOAD _IO(PICE_IOCTL_MAGIC,2)
|
||||
#define PICE_IOCTL_BREAK _IO(PICE_IOCTL_MAGIC,3)
|
||||
#define PICE_IOCTL_STATUS _IO(PICE_IOCTL_MAGIC,4)
|
||||
// define custom device type
|
||||
#define PICE_DEVICE_DEBUGGER 64787
|
||||
|
||||
#define PICE_IOCTL_LOAD CTL_CODE(PICE_DEVICE_DEBUGGER, 2049, METHOD_BUFFERED, FILE_ANY_ACCESS)
|
||||
#define PICE_IOCTL_UNLOAD CTL_CODE(PICE_DEVICE_DEBUGGER, 2050, METHOD_BUFFERED, FILE_ANY_ACCESS)
|
||||
#define PICE_IOCTL_RELOAD CTL_CODE(PICE_DEVICE_DEBUGGER, 2051, METHOD_BUFFERED, FILE_ANY_ACCESS)
|
||||
#define PICE_IOCTL_BREAK CTL_CODE(PICE_DEVICE_DEBUGGER, 2052, METHOD_BUFFERED, FILE_ANY_ACCESS)
|
||||
#define PICE_IOCTL_STATUS CTL_CODE(PICE_DEVICE_DEBUGGER, 2053, METHOD_BUFFERED, FILE_ANY_ACCESS)
|
||||
|
||||
|
||||
typedef struct _DEBUGGER_STATUS_BLOCK
|
||||
|
@ -79,7 +86,10 @@ typedef struct _PICE_SYMBOLFILE_SOURCE
|
|||
char filename[256];
|
||||
ULONG ulOffsetToNext;
|
||||
}PICE_SYMBOLFILE_SOURCE;
|
||||
#endif // LINUX
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////////
|
||||
// serial stuff
|
||||
|
|
Loading…
Reference in a new issue