Fastmem for linux. Not yet activated, Cg goes nuts, for some reason.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1534 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
hrydgard 2008-12-14 18:25:33 +00:00
parent bddc78383e
commit 0412d0811a
2 changed files with 36 additions and 6 deletions

View File

@ -1,3 +1,20 @@
// Copyright (C) 2003-2008 Dolphin Project.
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, version 2.0.
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License 2.0 for more details.
// A copy of the GPL 2.0 should have been included with the program.
// If not, see http://www.gnu.org/licenses/
// Official SVN repository and contact information can be found at
// http://code.google.com/p/dolphin-emu/
#include "Common.h"
#include "x64Emitter.h"
#include "ABI.h"
@ -264,13 +281,27 @@ void ABI_PopAllCalleeSavedRegsAndAdjustStack() {
}
void ABI_PushAllCallerSavedRegsAndAdjustStack() {
INT3();
//not yet supported
PUSH(RCX);
PUSH(RDX);
PUSH(RSI);
PUSH(RDI);
PUSH(R8);
PUSH(R9);
PUSH(R10);
PUSH(R11);
PUSH(R11);
}
void ABI_PopAllCallerSavedRegsAndAdjustStack() {
INT3();
//not yet supported
POP(R11);
POP(R11);
POP(R10);
POP(R9);
POP(R8);
POP(RDI);
POP(RSI);
POP(RDX);
POP(RCX);
}
#endif

View File

@ -230,7 +230,6 @@ void InstallExceptionHandler()
PanicAlert("InstallExceptionHandler called, but this platform does not yet support it.");
return;
#endif
struct sigaction sa;
sa.sa_handler = 0;
sa.sa_sigaction = &sigsegv_handler;