This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- sdlglvideo.cpp.OLD 2020-10-04 21:23:32.751041920 -0700 | |
+++ sdlglvideo.cpp 2020-10-04 20:54:21.740470397 -0700 | |
@@ -163,18 +163,19 @@ | |
win_h = bounds.h * 8 / 10; | |
} | |
FString caption; | |
caption.Format(GAMENAME " %s (%s)", GetVersionString(), GetGitTime()); | |
const uint32_t windowFlags = (win_maximized ? SDL_WINDOW_MAXIMIZED : 0) | SDL_WINDOW_RESIZABLE | extraFlags; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- gl_rmain.c.OLD 2020-08-02 16:35:29.798497930 -0700 | |
+++ gl_rmain.c 2020-10-03 23:32:00.309704966 -0700 | |
@@ -77,16 +77,17 @@ | |
cvar_t gl_affinemodels = {"gl_affinemodels","0",CVAR_NONE}; | |
cvar_t gl_polyblend = {"gl_polyblend","1",CVAR_NONE}; | |
cvar_t gl_flashblend = {"gl_flashblend","0",CVAR_ARCHIVE}; | |
cvar_t gl_playermip = {"gl_playermip","0",CVAR_NONE}; | |
cvar_t gl_nocolors = {"gl_nocolors","0",CVAR_NONE}; | |
//johnfitz -- new cvars |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl -s | |
# v1.0 by Cameron Kaiser, [email protected] | |
# Public domain | |
# By default extract Skiboot and Petitboot. | |
# Say -parts=DIFFERENT,PARTS to extract, you know, different parts. | |
# We do not support obtaining the 'part' partition yet (you can just do | |
# that by truncating the rest of the file anyway). | |
# Specifying a part multiple times is considered undefined behaviour. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/hw/ppc/pnv.c b/hw/ppc/pnv.c | |
index c9cb6fa3..c1f43310 100644 | |
--- a/hw/ppc/pnv.c | |
+++ b/hw/ppc/pnv.c | |
@@ -23,16 +23,17 @@ | |
#include "qapi/error.h" | |
#include "sysemu/sysemu.h" | |
#include "sysemu/numa.h" | |
#include "sysemu/reset.h" | |
#include "sysemu/runstate.h" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
IPMITOOL=/usr/bin/ipmitool | |
AWK=/usr/bin/awk | |
output=`$IPMITOOL sdr type fan | $AWK '{if($5=="ok")print $9}'` | |
echo -n $output | $AWK 'BEGIN{RS=" ";k=0} {if($1>k)k=$1} END{print k"rpm"}' | |
echo "---" | |
echo -n $output | $AWK 'BEGIN{RS=" ";ORS="rpm\n"} {if($1>0)print}' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: configure.ac | |
=================================================================== | |
--- configure.ac (revision 4296) | |
+++ configure.ac (working copy) | |
@@ -292,9 +292,16 @@ | |
c_targetcpu="x86" | |
c_unalignedmemory=yes | |
;; | |
+ powerpc64le*) | |
+ AC_DEFINE(C_TARGETCPU,PPC64LE) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <fcntl.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <unistd.h> | |
#include <inttypes.h> | |
#include <sys/mman.h> | |
#include <sys/syscall.h> | |
#include <linux/memfd.h> | |
uint32_t* jitcode; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <fcntl.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <unistd.h> | |
#include <inttypes.h> | |
#include <sys/mman.h> | |
#include <sys/syscall.h> | |
#include <linux/memfd.h> | |
uint32_t* jitcode; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/core.vhdl b/core.vhdl | |
index d34bf71..60c8cdf 100644 | |
--- a/core.vhdl | |
+++ b/core.vhdl | |
@@ -17,17 +17,18 @@ entity core is | |
wishbone_insn_in : in wishbone_slave_out; | |
wishbone_insn_out : out wishbone_master_out; | |
wishbone_data_in : in wishbone_slave_out; | |
wishbone_data_out : out wishbone_master_out; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/configure b/configure | |
index 52dbf02..1354f27 100755 | |
--- a/configure | |
+++ b/configure | |
@@ -17226,16 +17226,28 @@ powerpc) | |
# use internal knowledge of the IEEE 754 layout | |
$as_echo "#define TAKEHIRO_IEEE754_HACK 1" >>confdefs.h | |