Skip to content

Commit

Permalink
Update Runtime.Native assembly
Browse files Browse the repository at this point in the history
Signed-off-by: josesimoes <jose.simoes@eclo.solutions>
  • Loading branch information
josesimoes committed Jun 1, 2020
1 parent 279ab4a commit d9d8576
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion CMake/Modules/FindNF_CoreCLR.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ set(NF_CoreCLR_SRCS
# Runtime.Native
nf_rt_native.cpp
nf_rt_native_nanoFramework_Runtime_Hardware_SystemInfo.cpp
nf_rt_native_nanoFramework_Runtime_Native_Debug.cpp
nf_rt_native_nanoFramework_Runtime_Native_GC.cpp
nf_rt_native_nanoFramework_Runtime_Native_ExecutionConstraint.cpp
nf_rt_native_nanoFramework_Runtime_Native_Power.cpp
nf_rt_native_nanoFramework_Runtime_Native_Rtc_stubs.cpp
Expand Down
8 changes: 4 additions & 4 deletions src/nanoFramework.Runtime.Native/nf_rt_native.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
static const CLR_RT_MethodHandler method_lookup[] =
{
NULL,
Library_nf_rt_native_nanoFramework_Runtime_Native_Debug::GC___STATIC__U4__BOOLEAN,
Library_nf_rt_native_nanoFramework_Runtime_Native_Debug::EnableGCMessages___STATIC__VOID__BOOLEAN,
Library_nf_rt_native_nanoFramework_Runtime_Native_ExecutionConstraint::Install___STATIC__VOID__I4__I4,
Library_nf_rt_native_nanoFramework_Runtime_Native_GC::Run___STATIC__U4__BOOLEAN,
Library_nf_rt_native_nanoFramework_Runtime_Native_GC::EnableGCMessages___STATIC__VOID__BOOLEAN,
NULL,
NULL,
NULL,
Expand Down Expand Up @@ -40,7 +40,7 @@ static const CLR_RT_MethodHandler method_lookup[] =
const CLR_RT_NativeAssemblyData g_CLR_AssemblyNative_nanoFramework_Runtime_Native =
{
"nanoFramework.Runtime.Native",
0xE79F9BC2,
0x2307A8F3,
method_lookup,
{ 100, 0, 7, 0 }
{ 100, 0, 8, 0 }
};
12 changes: 6 additions & 6 deletions src/nanoFramework.Runtime.Native/nf_rt_native.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,23 +24,23 @@ enum FloatingPoint
FloatingPoint_DoublePrecisionHardware = 4,
};

struct Library_nf_rt_native_nanoFramework_Runtime_Native_Debug
struct Library_nf_rt_native_nanoFramework_Runtime_Native_ExecutionConstraint
{
NANOCLR_NATIVE_DECLARE(GC___STATIC__U4__BOOLEAN);
NANOCLR_NATIVE_DECLARE(EnableGCMessages___STATIC__VOID__BOOLEAN);
NANOCLR_NATIVE_DECLARE(Install___STATIC__VOID__I4__I4);

//--//

};

struct Library_nf_rt_native_nanoFramework_Runtime_Native_ExecutionConstraint
struct Library_nf_rt_native_nanoFramework_Runtime_Native_GC
{
NANOCLR_NATIVE_DECLARE(Install___STATIC__VOID__I4__I4);
NANOCLR_NATIVE_DECLARE(GC___STATIC__U4__BOOLEAN);
NANOCLR_NATIVE_DECLARE(EnableGCMessages___STATIC__VOID__BOOLEAN);

//--//

};

struct Library_nf_rt_native_nanoFramework_Runtime_Native_Power
{
static const int FIELD_STATIC__OnRebootEvent = 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@



HRESULT Library_nf_rt_native_nanoFramework_Runtime_Native_Debug::GC___STATIC__U4__BOOLEAN( CLR_RT_StackFrame& stack )
HRESULT Library_nf_rt_native_nanoFramework_Runtime_Native_GC::Run___STATIC__U4__BOOLEAN( CLR_RT_StackFrame& stack )
{
NATIVE_PROFILE_CLR_CORE();

Expand Down Expand Up @@ -37,7 +37,7 @@ HRESULT Library_nf_rt_native_nanoFramework_Runtime_Native_Debug::GC___STATIC__U4
NANOCLR_NOCLEANUP_NOLABEL();
}

HRESULT Library_nf_rt_native_nanoFramework_Runtime_Native_Debug::EnableGCMessages___STATIC__VOID__BOOLEAN( CLR_RT_StackFrame& stack )
HRESULT Library_nf_rt_native_nanoFramework_Runtime_Native_GC::EnableGCMessages___STATIC__VOID__BOOLEAN( CLR_RT_StackFrame& stack )
{
NATIVE_PROFILE_CLR_CORE();

Expand Down

0 comments on commit d9d8576

Please sign in to comment.