# HG changeset patch # User David du Colombier <0intro@gmail.com> # Date 1332599178 -3600 # Node ID 025dfd0b9ecf5dce5bb1a9d8c3766ef0fb44e80a # Parent 2eccfdb028828252b23aab576354257b78950c5e nix: sync with plan 9 R=nixiedev CC=nix-dev http://codereview.appspot.com/5907046 Committer: Francisco J Ballesteros diff -r 2eccfdb02882 -r 025dfd0b9ecf arm/include/u.h --- a/arm/include/u.h Thu Mar 22 15:47:48 2012 +0100 +++ b/arm/include/u.h Sat Mar 24 15:26:18 2012 +0100 @@ -21,17 +21,17 @@ typedef unsigned int u32int; typedef unsigned long long u64int; -/* FCR */ -#define FPINEX (1<<20) -#define FPUNFL (1<<19) -#define FPOVFL (1<<18) -#define FPZDIV (1<<17) -#define FPINVAL (1<<16) -#define FPRNR (0<<0) -#define FPRZ (1<<0) -#define FPRPINF (2<<0) -#define FPRNINF (3<<0) -#define FPRMASK (3<<0) +/* VFP FCR */ +#define FPINEX (1<<12) +#define FPUNFL (1<<11) +#define FPOVFL (1<<10) +#define FPZDIV (1<<9) +#define FPINVAL (1<<8) +#define FPRNR (0<<22) +#define FPRZ (1<<22) +#define FPRPINF (2<<22) +#define FPRNINF (3<<22) +#define FPRMASK (3<<22) #define FPPEXT 0 #define FPPSGL 0 #define FPPDBL 0 diff -r 2eccfdb02882 -r 025dfd0b9ecf sys/src/9/boot/parts.c --- a/sys/src/9/boot/parts.c Thu Mar 22 15:47:48 2012 +0100 +++ b/sys/src/9/boot/parts.c Sat Mar 24 15:26:18 2012 +0100 @@ -111,7 +111,8 @@ /* update devsd's in-memory partition table */ if (fprint(unit->ctl, "part %s %lld %lld\n", name, start, end) < 0) - fprint(2, "can't update devsd's partition table\n"); + fprint(2, "can't update %s's devsd partition table for %s: %r\n", + unit->name, name); if (debugboot) print("part %s %lld %lld\n", name, start, end); } diff -r 2eccfdb02882 -r 025dfd0b9ecf sys/src/cmd/5c/mkfile --- a/sys/src/cmd/5c/mkfile Thu Mar 22 15:47:48 2012 +0100 +++ b/sys/src/cmd/5c/mkfile Sat Mar 24 15:26:18 2012 +0100 @@ -36,3 +36,6 @@ $O.out -S t $LD -o t.out t.$O t.out + +enam.c: 5.out.h + rc mkenam diff -r 2eccfdb02882 -r 025dfd0b9ecf sys/src/cmd/5l/mkfile --- a/sys/src/cmd/5l/mkfile Thu Mar 22 15:47:48 2012 +0100 +++ b/sys/src/cmd/5l/mkfile Sat Mar 24 15:26:18 2012 +0100 @@ -19,6 +19,9 @@ BIN=/$objtype/bin hi = t >> 31; } +#pragma profile off /* needed by profiler; can't be profiled */ + void _ul2v(Vlong *ret, ulong ul) { @@ -513,6 +524,8 @@ ret->hi = 0; } +#pragma profile on + void _si2v(Vlong *ret, int si) { @@ -605,6 +618,8 @@ return rv.lo & 0xffff; } +#pragma profile off /* needed by profiler; can't be profiled */ + long _v2sl(Vlong rv) { @@ -619,6 +634,8 @@ return rv.lo; } +#pragma profile on + long _v2si(Vlong rv) { @@ -645,12 +662,16 @@ return lv.lo == rv.lo && lv.hi == rv.hi; } +#pragma profile off /* needed by profiler; can't be profiled */ + int _nev(Vlong lv, Vlong rv) { return lv.lo != rv.lo || lv.hi != rv.hi; } +#pragma profile on + int _ltv(Vlong lv, Vlong rv) { diff -r 2eccfdb02882 -r 025dfd0b9ecf sys/src/libmach/mkfile --- a/sys/src/libmach/mkfile Thu Mar 22 15:47:48 2012 +0100 +++ b/sys/src/libmach/mkfile Sat Mar 24 15:26:18 2012 +0100 @@ -55,3 +55,14 @@