diff modules/bluespec/Pygar/lab4/ProcessorSystem.h @ 8:74716e9a81cc pygar svn.9

[svn r9] Pygar now has the proper directory structure to play nicely with awb. Also, the apm file for audio-core willcompile successfully.
author rlm
date Fri, 23 Apr 2010 02:32:05 -0400
parents
children
line wrap: on
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/modules/bluespec/Pygar/lab4/ProcessorSystem.h	Fri Apr 23 02:32:05 2010 -0400
     1.3 @@ -0,0 +1,44 @@
     1.4 +//
     1.5 +// INTEL CONFIDENTIAL
     1.6 +// Copyright (c) 2008 Intel Corp.  Recipient is granted a non-sublicensable 
     1.7 +// copyright license under Intel copyrights to copy and distribute this code 
     1.8 +// internally only. This code is provided "AS IS" with no support and with no 
     1.9 +// warranties of any kind, including warranties of MERCHANTABILITY,
    1.10 +// FITNESS FOR ANY PARTICULAR PURPOSE or INTELLECTUAL PROPERTY INFRINGEMENT. 
    1.11 +// By making any use of this code, Recipient agrees that no other licenses 
    1.12 +// to any Intel patents, trade secrets, copyrights or other intellectual 
    1.13 +// property rights are granted herein, and no other licenses shall arise by 
    1.14 +// estoppel, implication or by operation of law. Recipient accepts all risks 
    1.15 +// of use.
    1.16 +//
    1.17 +
    1.18 +// possibly use include paths to hide existing modules?
    1.19 +
    1.20 +#ifndef __PROCESSOR_SYSTEM_CONNECTED_APPLICATION__
    1.21 +#define __PROCESSOR_SYSTEM_CONNECTED_APPLICATION__
    1.22 +
    1.23 +#include <stdio.h>
    1.24 +#include <pthread.h>
    1.25 +
    1.26 +#include "asim/provides/virtual_platform.h"
    1.27 +
    1.28 +#include "asim/rrr/client_stub_PROCESSORSYSTEMRRR.h"
    1.29 +
    1.30 +typedef class CONNECTED_APPLICATION_CLASS* CONNECTED_APPLICATION;
    1.31 +class CONNECTED_APPLICATION_CLASS : public PLATFORMS_MODULE_CLASS
    1.32 +{
    1.33 +  private:
    1.34 +    PROCESSORSYSTEMRRR_CLIENT_STUB clientStub;
    1.35 +
    1.36 +  public:
    1.37 +    CONNECTED_APPLICATION_CLASS(VIRTUAL_PLATFORM vp);
    1.38 +    ~CONNECTED_APPLICATION_CLASS();
    1.39 +
    1.40 +    // init
    1.41 +    void Init();
    1.42 +
    1.43 +    // main
    1.44 +    void Main();
    1.45 +};
    1.46 +
    1.47 +#endif