comparison modules/bluespec/Pygar/core/AudioCoreRRR.cpp @ 22:0cfbb1e2de22 pygar svn.23

[svn r23] whoohoo! it Compiles (note with commented out stuff)
author punk
date Wed, 28 Apr 2010 00:40:15 -0400
parents a1833d9f6e3d
children 90197e3375e2
comparison
equal deleted inserted replaced
21:cffe0829ce14 22:0cfbb1e2de22
6 #include <sys/stat.h> 6 #include <sys/stat.h>
7 7
8 #include "asim/rrr/service_ids.h" 8 #include "asim/rrr/service_ids.h"
9 9
10 #include "asim/provides/connected_application.h" 10 #include "asim/provides/connected_application.h"
11
12
13 11
14 using namespace std; 12 using namespace std;
15 13
16 // ===== service instantiation ===== 14 // ===== service instantiation =====
17 AUDIOCORERRR_SERVER_CLASS AUDIOCORERRR_SERVER_CLASS::instance; 15 AUDIOCORERRR_SERVER_CLASS AUDIOCORERRR_SERVER_CLASS::instance;
79 if(memory == NULL) { 77 if(memory == NULL) {
80 memory = new FUNCP_SIMULATED_MEMORY_CLASS(); 78 memory = new FUNCP_SIMULATED_MEMORY_CLASS();
81 } 79 }
82 80
83 memory->Write(0,(UINT64) address, sizeof(UINT32), &data); 81 memory->Write(0,(UINT64) address, sizeof(UINT32), &data);
82 }
84 83
85 void 84 void
86 85
87 AUDIOCORERRR_SERVER_CLASS::SendProcessedStream(UINT16 control, UINT16 data) 86 AUDIOCORERRR_SERVER_CLASS::SendProcessedStream(UINT16 control, UINT16 data)
88 { 87 {