--- /dev/null
+/*DrDeAmOn64DrDeAmOn64DrDeAmOn64DrDeAmOn64DrDeAmOn64DrDeAmOn64DrDeAmOn64
+
+ D r . D e a m o n 6 4
+ for INTEL64(R), AMD64(R)
+
+ Copyright(C) 2007-2009 Koine Yuusuke(koinec). All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+
+ 1. Redistributions of source code must retain the above copyright notice,
+ this list of conditions and the following disclaimer.
+ 2. Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+
+THIS SOFTWARE IS PROVIDED BY Koine Yuusuke(koinec) ``AS IS'' AND ANY
+EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL Koine Yuusuke(koinec) OR CONTRIBUTORS BE
+LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
+OF THE POSSIBILITY OF SUCH DAMAGE.
+
+DrDeAmOn64DrDeAmOn64DrDeAmOn64DrDeAmOn64DrDeAmOn64DrDeAmOn64DrDeAmOn64*/
+
+/* File Info -----------------------------------------------------------
+File: drd64_.c
+Function:
+Comment:
+----------------------------------------------------------------------*/
+
+#include"drd64_debugd.h"
+
+
+int
+ Drd64_Debugd_Send_Cmd_BootInfo(
+ int i_request_fd )
+{
+ int i_err;
+ int i_wlen;
+ int i_socket_temp;
+ Drd64_PacketHeader *p_phead;
+
+ /* Phase 1 : Init & Set Packet Data ----------*/
+
+ p_phead = (Drd64_PacketHeader *)gp_sendbuffer;
+ memset( gp_sendbuffer, 0x00, ( sizeof( Drd64_PacketHeader ) ));
+
+ p_phead->w_header = DRD64_PACKET_HEADER;
+ p_phead->i_connect_id = DRD64_CONNECTID_DIRECT;
+ p_phead->dw_command = DRD64_COMMAND_DEBUGD_BOOTINFO;
+ p_phead->w_packettype = DRD64_PACKETTYPE_INFO;
+ p_phead->i_datalen = 0;
+ p_phead->i_resume_recvstatus_id = i_request_fd;
+ p_phead->i_result = 0x00;
+ p_phead->i_error = 0x00;
+
+ /* Phase 2 : Create Local-Marshald Socket ------*/
+ i_socket_temp =
+ Drd64_Server_Socket_InitSocket_Local_Client(
+ DRD64_SOCKET_LOCAL_NAME_MARSHALD );
+ if( 0 > i_socket_temp ) {
+ return 0x01;
+ }
+
+ /* Phase 3 : Send Packet to Local Marshald -----*/
+ i_wlen = send( i_socket_temp, (void *)p_phead,
+ DRD64_PacketSize(p_phead), 0x00 );
+ if( i_wlen != DRD64_PacketSize(p_phead) ) {
+ return 0x01;
+ }
+
+ /* Phase 4 : Close Socket to Local Marshald ----*/
+ close( i_socket_temp );
+
+ puts(" Send Debugd Boot Info. ");
+
+ return 0x00;
+}
+
+
+
+/* EOF of drd64_.c ----------------------------------- */
--- /dev/null
+/*DrDeAmOn64DrDeAmOn64DrDeAmOn64DrDeAmOn64DrDeAmOn64DrDeAmOn64DrDeAmOn64
+
+ D r . D e a m o n 6 4
+ for INTEL64(R), AMD64(R)
+
+ Copyright(C) 2007-2009 Koine Yuusuke(koinec). All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+
+ 1. Redistributions of source code must retain the above copyright notice,
+ this list of conditions and the following disclaimer.
+ 2. Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+
+THIS SOFTWARE IS PROVIDED BY Koine Yuusuke(koinec) ``AS IS'' AND ANY
+EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL Koine Yuusuke(koinec) OR CONTRIBUTORS BE
+LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
+OF THE POSSIBILITY OF SUCH DAMAGE.
+
+DrDeAmOn64DrDeAmOn64DrDeAmOn64DrDeAmOn64DrDeAmOn64DrDeAmOn64DrDeAmOn64*/
+
+/* File Info -----------------------------------------------------------
+File: drd64_.c
+Function:
+Comment:
+----------------------------------------------------------------------*/
+
+#include"drd64_marshald.h"
+
+
+int
+ Drd64_Marshald_Msg_DebugdBootInfo(
+ int i_fds,
+ Drd64_PacketHeader *p_phead,
+ Drd64_PacketData_Connect *p_connect )
+{
+ int i_result;
+
+ /* NO Proc. */
+
+ /* NO Answer Packet */
+
+ return DRD64_MARSHALD_DISPATCH_RESULT_RESTART;
+}
+
+
+/* EOF of drd64_.c ----------------------------------- */