ref: f9deac96f486835bdef70ec5c6f7353cb7269c67
parent: 82841b8f5f7600127bf16d4768f690617ec041f0
author: joe9 <[email protected]>
date: Sat Jul 3 05:22:46 EDT 2021
changed the hosttype name to 9front
--- a/emu/9front/os.c
+++ b/emu/9front/os.c
@@ -2,6 +2,7 @@
#include "fns.h"
#include "error.h"
+#define DP if(1){}else print
enum
{
KSTACK = 16*1024,
@@ -17,7 +18,7 @@
int *ustack; /* address on unshared stack: see vstack in asm*.s */
extern int dflag;
-char *hosttype = "Plan9";
+char *hosttype = "9front";
char *cputype;
void
@@ -294,8 +295,10 @@
{
if(regs != nil)
notejmp(regs, env, val);
- else
+ else{
+ DP("oslongjmp env %p longjmp %d\n", env, val);
longjmp(env, val);
+ }
}
void