Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
311 commits
Select commit Hold shift + click to select a range
cb874c7
sys/man: add kernel function manuals to HTML manual index
0intro Jan 20, 2016
bbffa4d
sys/src/libventi: implement vtreconn and vtredial functions
0intro Jan 20, 2016
1856ea6
sys/src/libventi: implement vtsha1 and vtsha1check functions
0intro Jan 20, 2016
6c05fb0
sys/src/ape/lib/ap: synchronize amd64 lock implementation with curren…
0intro Jan 20, 2016
6a6ec1e
sys/src/9/vt5: import Xilinx Virtex-5 kernel from Bell Labs (thanks G…
0intro Feb 18, 2016
35facdd
sys/src/boot/vt4: import Xilinx Virtex-4 boot loader from Bell Labs (…
0intro Feb 18, 2016
525be31
sys/src/boot/vt5: import Xilinx Virtex-5 boot loader from Bell Labs (…
0intro Feb 18, 2016
35db701
sys/src/cmd/cc: handle mixed-mode vlong/double assignment operators (…
0intro Feb 18, 2016
acb2f10
sys/src/9/vt4: replace evenaddr with validalign
0intro Feb 18, 2016
7c87db5
sys/src/9/vt4: fix definition of l2be and readn in rebootcmd
0intro Feb 18, 2016
2fcc7c7
sys/src/cmd/acme: implement multiline tags (thanks Russ Cox)
0intro Mar 6, 2016
e5d94b0
sys/src/libsec/amd64: import md5block and sha1block functions (thanks…
0intro Mar 6, 2016
2526be8
sys/src/libmach: set page size to 4KB on amd64
0intro Mar 10, 2016
d8cce10
sys/src/cmd: import ptrace (thanks Francisco Ballesteros)
0intro Mar 14, 2016
524e033
sys/src/libmemdraw: required changes to be built as part of 9k (thank…
0intro Mar 29, 2016
c29ebe1
lib: update PCI database from pcidatabase.com
0intro Apr 23, 2016
c7a936c
sys/src/cmd/jtagfs: import jtagfs (thanks Gorka Guardiola)
0intro Jan 20, 2016
0295e25
sys/man: update lock(2) manual (thanks Geoff Collyer)
0intro Aug 3, 2016
d5cbcfe
sys/man: update exec(2) manual (thanks Geoff Collyer)
0intro Aug 17, 2016
49b7195
sys/man: update read(2) manual (thanks Geoff Collyer)
0intro Aug 17, 2016
1e2264c
sys/man: update read(5) manual (thanks Geoff Collyer)
0intro Aug 17, 2016
80a73bc
sys/man: import kernel function manuals (thanks Charles Forsyth)
0intro Jan 20, 2016
13b92ee
rc/bin: indicate the real time clock is in GMT
0intro Jan 20, 2016
9d40b73
sys/src/cmd: import random command (thanks Geoff Collyer)
0intro Nov 7, 2016
7f28dc8
sys/src/libhttpd: add hparseuri function (thanks Erik Quanstrom)
0intro Nov 11, 2016
5dfe25f
sys/src/cmd/ip/httpd: add websocket auxiliary (thanks David Hoskin)
0intro Nov 12, 2016
0eed8ba
sys/src/cmd/fossil: move from liboventi to libthread and libventi
0intro Nov 14, 2016
f7c7c67
sys/src/cmd/fossil: update qid.vers on wstat
0intro Nov 12, 2016
ee8d88d
sys/src/cmd/ld: various fixes in ELF format
0intro Jun 15, 2017
044b05a
sys/src/9/vt4: fix prototype of ainc and adec
0intro Aug 23, 2017
49f6395
sys/src/boot/vt5: fix install target in mkfile
0intro Feb 18, 2016
194b17c
sys/src/cmd/vl: fix rounding of data segment address
0intro Aug 25, 2017
d6be0cf
sys/src/9/vt4: import Xilinx Virtex-4 kernel from Bell Labs (thanks G…
0intro Feb 18, 2016
a84c64a
sys/src/9k/boot: synchronize with Plan 9 kernel
0intro Sep 13, 2017
b2b1e92
sys/src/9k/386: import sdata driver from PC kernel (thanks Geoff Coll…
0intro Sep 13, 2017
55e3bdf
sys/src/9k/386: enable DMA in sdata
0intro Sep 13, 2017
d5e8215
sys/src/9k: remove trailing spaces
0intro Sep 13, 2017
7c4a143
sys/src/9k: use SCSI commands enumeration (thanks Geoff Collyer)
0intro Sep 13, 2017
e1bcbaf
sys/src/9k/port: implement scsilbacount function in sdscsi (thanks Ge…
0intro Sep 13, 2017
e5f5600
sys/src/9k/port: use scsilbacount in sdaoe (thanks Geoff Collyer)
0intro Sep 13, 2017
12e69ae
sys/src/9k/386: use scsilbacount in sdata (thanks Geoff Collyer)
0intro Sep 13, 2017
2460f7e
sys/src/9k/386: use scsilbacount in sdiahci (thanks Geoff Collyer)
0intro Sep 13, 2017
72514b5
sys/src/9k/386: fix READ(16) command in sdiahci (thanks Geoff Collyer)
0intro Sep 13, 2017
6d0908c
sys/src/9k/386: fix issue when block numbers pass 2^40 in sdiahci (th…
0intro Sep 13, 2017
1c96585
sys/src/9k/mk: preserve order of library in kernel configurations (th…
0intro Sep 13, 2017
b7271f3
sys/src/9k/k10: add nvram in kernel configurations
0intro Sep 13, 2017
8215ae6
sys/src/9k/k10: add ether82598 and etherm10g in kernel configurations
0intro Sep 13, 2017
d4bf8d7
sys/src/9k/k10: add ethervirtio in kernel configurations
0intro Sep 13, 2017
a203d21
sys/src/9k/k10: add sdvirtio in k10cpuf configuration
0intro Sep 13, 2017
860031b
sys/src/9k/k10: always halt on smp machines in idlehands (thanks Geof…
0intro Sep 13, 2017
1d9cda3
sys/src/9k/ip: set MSS on incoming TCP connections
0intro Sep 13, 2017
8b40f45
sys/src/9k/port: fix okaddr integer overflow (thanks Geoff Collyer)
0intro Sep 13, 2017
73e4cc5
sys/src/9k/port: fix deadlock in ibrk
0intro Sep 13, 2017
d1b8906
sys/src/9/port: fix test for overlapping segments in ibrk and isoverl…
0intro Sep 13, 2017
b7a1f30
sys/src/9k/port: fix pagereclaim (thanks Richard Miller)
0intro Sep 13, 2017
0da9462
sys/src/9k/port: set mach in lock (thanks Yoann Padioleau)
0intro Sep 13, 2017
6d9ed81
sys/src/9k/port: fix buffer overflow in kbdputc (thanks Yoann Padioleau)
0intro Sep 13, 2017
acdb8eb
sys/src/9k: implement devptrace (thanks Francisco Ballesteros)
0intro Sep 13, 2017
550eb8f
sys/src/9k/port: call iunlock before freeblist in qpass and qpassnolim
0intro Sep 13, 2017
330ca9c
sys/src/9k/386: fix typo in devether
0intro Sep 13, 2017
50582c6
sys/src/9k/k10: fix typo in syscall
0intro Sep 13, 2017
e95b479
sys/src/9k/port: fix typo in procflushseg
0intro Sep 13, 2017
bf85f64
sys/src/9k/k10: fix typo in l64fpu.s
0intro Sep 13, 2017
0c6646b
sys/src/9k/k10: fix typo in l32p.s
0intro Sep 13, 2017
56e7a06
sys/src/9k/boot: replace frequent warning by dprint
0intro Sep 13, 2017
faecb9f
sys/src/9k/k10: increase TMFM to 224 MiB
0intro Sep 13, 2017
c5e8c43
sys/src/9k: increase available memory to 2.4 GiB
0intro Sep 13, 2017
afcdd8b
sys/src/9k/port: prettify the qmalloc stats array (thanks Francisco B…
0intro Sep 13, 2017
3bab7d5
sys/src/9k/k10: handle overloaded rdts (thanks Erik Quanstrom)
0intro Sep 13, 2017
30f3e41
sys/src/9k/k10: add bustype in ioapicintrinit (thanks Erik Quanstrom)
0intro Sep 13, 2017
493535a
sys/src/9k/k10: return type of interrupt in irqalloc (thanks Erik Qua…
0intro Sep 13, 2017
7023980
sys/src/9k/boot: enable readparts by default
0intro Sep 13, 2017
f410233
sys/src/9k/port: use uintptr type for i and l (syscall compatibility …
0intro Sep 13, 2017
31e46df
sys/src/9k/k10: implement mpacpi (thanks Erik Quanstrom)
0intro Sep 13, 2017
65bd61b
sys/src/9k/k10: disable segment selector check in noted
0intro Sep 13, 2017
9e2047a
sys/src/9k/port: implement devkbmap
0intro Sep 13, 2017
497e4a4
sys/src/9k/port: increase MAXRPC to 16 KB (thanks Geoff Collyer)
0intro Sep 13, 2017
fb80099
sys/src/9k/k10: remove braces around if
0intro Sep 13, 2017
b04a960
sys/src/9k/k10: replace print by DBG
0intro Sep 13, 2017
da434b5
sys/src/9k/port: replace 1<<p->lg2size by pagesize(p) (thanks Charles…
0intro Sep 13, 2017
2d21e40
sys/src/9k/port: replace 1<<s->lg2pgsize by segpgsize(s)
0intro Sep 13, 2017
319e31b
sys/src/9k/port: replace 1<<ps->lg2pgsize by physsegpgsize(ps)
0intro Sep 13, 2017
f875c7d
sys/src/9k/port: use page size instead of PGSZ constant in sysproc (t…
0intro Sep 13, 2017
1f4efd3
sys/src/9k/port: use page size instead of PGSZ constant in sysseg
0intro Sep 13, 2017
ef54d47
sys/src/9k/port: copy lg2pgsize in dupseg
0intro Sep 13, 2017
f3bb146
sys/src/9k/port: handle SG_CACHED (thanks Charles Forsyth)
0intro Sep 13, 2017
7c4dd63
sys/src/9k/port: add iskaddr macro (thanks Charles Forsyth)
0intro Sep 13, 2017
342f962
sys/src/9k/port: add isdmaok function (thanks Charles Forsyth)
0intro Sep 13, 2017
7d48a68
sys/src/9k: add mmucachectl function (thanks Charles Forsyth)
0intro Sep 13, 2017
0f4cb29
sys/src/9k/port: fix memory leak in qmalloc
0intro Sep 13, 2017
c682cfe
sys/src/9k/k10: import physalloc from NIX (thanks The NIX Authors)
0intro Sep 13, 2017
d8debb6
sys/src/9k/k10: handle 4 KB blocks in physalloc
0intro Sep 13, 2017
43d362e
sys/src/9k/k10: fix linked list after physfree (thanks Remi Pommarel)
0intro Sep 13, 2017
a1e0886
sys/src/9k/k10: increase SEGMAPSIZE to 65536
0intro Sep 13, 2017
eb70c28
sys/src/cmd: fix a bug folding newlines in strings constants in C cod…
0intro Sep 14, 2017
5e774b1
sys/src/cmd/4[acl]: import from plan9.bell-labs.com/sources/contrib/t…
0intro Sep 17, 2017
f2f92f7
sys/man: import 9k kernel function manuals (thanks Erik Quanstrom)
0intro Sep 18, 2017
430cd7d
sys/doc: add fossil paper in HTML documentation index
0intro Jan 20, 2016
5924957
all: import mips64 and spim64 support from bitbucket.org/cherry9/4c (…
0intro Sep 18, 2017
7c1810e
sys/src/9/loongson: import from bitbucket.org/cherry9/plan9-loongson …
0intro Sep 18, 2017
819bb05
sys/src/9/loongson: replace _xinc and _xdec by ainc and adec
0intro Sep 18, 2017
f4b7a6c
sys/src/9/loongson64: import from bitbucket.org/cherry9/plan9-loongso…
0intro Sep 18, 2017
01ca1eb
sys/src/9/loongson64: replace _xinc and _xdec by ainc and adec
0intro Sep 18, 2017
c6390b1
sys/src/9/loongson64: add install rule into mkfile
0intro Sep 18, 2017
bf7126a
sys/src/9/loongson64: add ln64cpu configuration file
0intro Sep 18, 2017
343cf4d
sys/src/cmd: add mips64 and spim64 support in pcc
0intro Sep 18, 2017
bdd78fe
sys/src/cmd/gs: add mips64 and spim64 support
0intro Sep 18, 2017
8c363e2
sys/src/ape/lib: add mips64 and spim64 support
0intro Sep 18, 2017
593ceca
sys/src/cmd/4c: increase NRGN to account for paranoia.c (thanks Charl…
0intro Sep 18, 2017
16200ca
sys/src/cmd/4c: correct compilation of mixed-mode assignment operator…
0intro Sep 18, 2017
b5396ad
sys/src/cmd: indent trans array in prof (thanks Geoff Collyer)
0intro Sep 18, 2017
40d73ef
sys/src/cmd: add power64 support in prof (thanks Geoff Collyer)
0intro Sep 18, 2017
bfdd863
all: import spim support from bitbucket.org/cherry9/plan9-loongson (t…
0intro Sep 17, 2017
a21b6e8
sys/src/libflate: fix typo (thanks Geoff Collyer)
0intro Sep 24, 2017
3924ca3
sys/src/cmd/troff: replace goto rtn with return (thanks Geoff Collyer)
0intro Sep 24, 2017
15d8348
sys/src/9k/port: support multiple page sizes in page allocator
0intro Oct 5, 2017
f294501
sys/src/9k/k10: use physalloc in MMU (thanks The NIX Authors)
0intro Sep 13, 2017
14ea2c9
sys/src/libc: add mixed-mode vlong/double (thanks Charles Forsyth)
0intro Feb 18, 2016
7704200
sys/include: increase EMAXMSG to 16 KB in event.h (thanks Geoff Collyer)
0intro Apr 19, 2019
a9193db
acme/bin/source/win: increase EVENTSIZE to 16 KB (thanks Geoff Collyer)
0intro Apr 20, 2019
cebe821
sys/src/libaml: import libaml from 9front (thanks Cinap Lenrek)
0intro Jan 20, 2016
65e3ff6
sys/src/cmd/fscfs: import fscfs from HARE (thanks Geoff Collyer)
0intro Oct 1, 2019
7d6efa8
sys/src/cmd/fscfs: various fixes (thanks Richard Miller)
0intro Oct 12, 2019
6fd5f64
rc/bin: add flag to fshalt to bypass loading a new kernel (thanks Ste…
0intro Nov 30, 2019
9d8cef8
rc/bin: use 9p.io instead of sources.cs.bell-labs.com in 9fs
0intro Jan 20, 2016
d45688f
sys/lib: fix bzip2, gz and tgz mime types for ip/httpd/httpd
0intro Jan 20, 2016
d981628
sys/src/cmd/kfs: default to sdE0 for kfs file systems (thanks Steven …
0intro Dec 13, 2019
3f82f77
sys/src/cmd/wikifs: fix html links to man pages
0intro Jan 19, 2020
6a54d67
sys/src/games/sokoban: fix non constant initializer
0intro Feb 18, 2016
973fd1a
sys/src/cmd/dd: dd m modifier for megabytes to dd(1) (thanks Steve Si…
0intro Feb 21, 2021
927fcb1
sys/src/cmd/sam: import wheel mouse support from plan9port (thanks St…
0intro Feb 21, 2021
a54aa1b
sys/src/cmd/aux: add aux/htmlsanitize (thanks Geoff Collyer)
0intro Feb 22, 2021
9a2ccbd
sys/src/cmd/ip/httpd: add 9down auxiliary (thanks Geoff Collyer)
0intro Mar 16, 2018
90bbfd3
sys/src/cmd/ip/httpd: fix 9down to work outside Bell Labs environment
0intro Feb 22, 2021
18a9697
sys/src/cmd/spin: update Spin to 6.5.1 from Gerard Holzmann (thanks G…
0intro Feb 22, 2021
07c264f
sys/src/libventi: define VtEntryNoArchive constant
0intro Jan 20, 2016
84e9d27
lib: update OUI database from IEEE
0intro Feb 22, 2021
1510767
lib/ndb: add submission service to /lib/ndb/commom (thanks Steven Sta…
0intro Dec 13, 2019
bacf3a5
sys/src/cmd/disk/9660: add -n parameter to mk9660 to specify volume d…
0intro Mar 11, 2021
4cf60af
sys/src/cmd: fix setting of uid/gid in tar -T (thanks Geoff Collyer)
0intro Mar 31, 2021
1cda37d
sys/src/cmd/fossil: set dirty when setting QidSpace (fixes archival s…
0intro Apr 7, 2021
008d4e7
sys/src/libsec: fix implementation of AES-CTR (thanks Richard Miller)
0intro Apr 8, 2021
be897a6
sys/src/cmd/ssh2: add support for AES-CTR (thanks Richard Miller)
0intro Apr 8, 2021
11186c1
sys/src/cmd/ssh2: completes the implementation of DH group 14 (thanks…
0intro Apr 8, 2021
cd71690
sys/lib/tls: import certificate authorities from cURL
0intro Apr 11, 2021
8198d28
sys/lib/wiki: fix links in wiki pages
0intro Feb 16, 2019
4c5bfb4
sys/src/ape/lib/ap/amd64: remove objtype in mkfile
0intro Apr 27, 2021
e52150e
all: import power64 support from Charles Forsyth (thanks Charles Fors…
0intro Sep 18, 2017
e429f97
sys/src/9k/port: add TLS 1.2 support in devtls (thanks Cinap Lenrek)
0intro Apr 30, 2021
4c81464
sys/src/9k/port: implement checkpages and checkmmu
0intro Sep 13, 2017
afc5483
sys/src/cmd/lzip: import lzip (thanks Geoff Collyer)
0intro May 1, 2021
a14da62
sys/src/cmd/ramcfs: import ramcfs from HARE (thanks Geoff Collyer)
0intro Oct 1, 2019
e1351ab
sys/src/9k: fix pointer comparisons
0intro May 1, 2021
ace0cad
sys/src/9k: replace sprint by snprint
0intro May 1, 2021
c76c046
sys/src/9k/ip: implement hangupxmit message on TCP connection control…
0intro May 3, 2021
38e95d0
sys/src/9k/ip: implement close message on TCP connection control file
0intro Sep 13, 2017
5d6e337
sys/src/9k/boot: use named constants
0intro May 3, 2021
3151845
sys/src/9k/ip: fix number of entries in iphash (thanks Yoann Padioleau)
0intro May 3, 2021
9160e82
sys/src/9k/ip: implement direct attached routes (thanks Kyohei Kadota)
0intro Apr 18, 2021
66b8165
sys/src/9k/ip: use named constants (thanks Geoff Collyer)
0intro May 3, 2021
2ab7d37
sys/src/9k/ip: add del1route function (thanks Geoff Collyer)
0intro May 3, 2021
fe419a6
sys/src/9k/k10: use named constants
0intro May 4, 2021
f9bab64
sys/src/9k/k10: use named constants (add mp.h)
0intro May 4, 2021
de5120e
sys/src/9k/port: fix rtctime
0intro Sep 13, 2017
1c0901f
sys/src/libdynld: import libdynld from Inferno (thanks Charles Forsyth)
0intro May 26, 2021
b569565
sys/src/libframe: implement noredraw (thanks Russ Cox)
0intro Mar 6, 2016
3ac7f56
all: add sparc support in libmp and libsec
0intro May 28, 2021
9b115b8
all: import amd64 from Bell Labs
0intro Jan 20, 2016
80aa8bd
dist/replica: add /mips64, /spim and /spim64 directories to plan9.proto
0intro Jun 8, 2021
3fac8b0
all: import riscv and riscv64 support from /n/sources/contrib/miller/…
0intro May 29, 2021
2c250fe
dist/replica: add /riscv and /riscv64 directories to plan9.proto
0intro Jun 8, 2021
f9306b5
sys/src/9k/386: add i210, i217 and i218 support in ether82563 (thanks…
0intro Sep 27, 2021
a6786aa
sys/src/9k/k10: use PAUSE instruction instead of spinning (thanks Cha…
0intro Sep 13, 2017
1ee8248
sys/src/cmd/sam: fix spurious overwrite message (thanks Russ Cox)
0intro Oct 31, 2021
6242137
sys/src/cmd/acme: fix extra print args (thanks Russ Cox)
0intro Oct 31, 2021
5c4baa6
rc/bin: import await (thanks Geoff Collyer)
0intro Oct 24, 2016
523d9c1
sys/src/libc: add memory barrier in ainc and adec (thanks Richard Mil…
0intro Jan 11, 2022
0ba0cc8
sys/src/cmd/awk: import AWK changes from Brian Kernighan (2012-12-20)…
0intro Feb 24, 2016
a4dbb83
sys/src/9k/386: import sdvirtio10 from 9front (thanks Cinap Lenrek)
0intro Jan 15, 2022
ae1971f
sys/src/9k/k10: add sdvirtio10 in kernel configurations
0intro Jan 15, 2022
45d2a2b
sys/src/9k/386: import ethervirtio10 from 9front (thanks Cinap Lenrek)
0intro Jan 15, 2022
8e9ec5b
sys/src/9k/k10: add ethervirtio10 in kernel configurations
0intro Jan 15, 2022
a812f43
sys/src/9k/386: import ethervirtio from 9front (thanks Nick Owens)
0intro Jan 15, 2022
1d6ccd4
sys/src/9k/port: import sdfakescsirw from 9atom (thanks Erik Quanstrom)
0intro Sep 13, 2017
723c492
sys/src/9k/386: import sdvirtio from 9front (thanks Cinap Lenrek)
0intro Jan 15, 2022
732cb3b
sys/src/9k/k10: ignore interrupt 39
0intro Sep 13, 2017
d43e57b
sys/src/9k/386: implement PCI capabilities (thanks Erik Quanstrom)
0intro Jan 15, 2022
e09091e
sys/src/9k/386: implement custom PCI capabilities enumeration (thanks…
0intro Jan 15, 2022
d087f9b
sys/src/9k/k10: add k10cpuf kernel configuration
0intro Jan 27, 2022
de3c625
sys/src/9k/k10: add tls in kernel configurations
0intro Sep 13, 2017
33b6c07
sys/src/9k: implement devdraw, devvga and devmouse
0intro Jan 27, 2022
77c3bd8
sys/src/9k/k10: fix read past end of array in vga
0intro Sep 13, 2017
0aa5020
sys/src/9k/port: implement nsec syscall
0intro Jan 27, 2022
6e72b36
sys/src/9k/386: synchronize with Plan 9 kernel
0intro Jan 27, 2022
ff9b121
sys/src/9k/386: revert types changes in etherm10g
0intro Sep 13, 2017
58f58dd
sys/src/9k/ip: synchronize with Plan 9 kernel
0intro Jan 27, 2022
13b9304
sys/src/9k/k10: build ELF kernel
0intro Jan 27, 2022
8683e9d
sys/src/9k/port: add pragma varargck for uintmem (thanks Charles Fors…
0intro Sep 13, 2017
3807669
sys/src/9k/386: replace PCIWADDR by PCIWADDRL and PCIWADDRH (thanks C…
0intro Jan 27, 2022
c70751c
sys/src/9/386: call intrdisable in devether (thanks Charles Forsyth)
0intro Sep 13, 2017
7c813b0
sys/src/9k/k10: temporarily remove the -T flag from CFLAGS
0intro Jan 27, 2022
3febe7e
sys/src/9k/k10: add -R4096 and -S parameters when linking ELF
0intro Jan 27, 2022
f902051
sys/src/9k/k10: add syscallfmt to kernel configurations
0intro Jan 27, 2022
6a7370e
sys/src/9k/port: synchronize with Plan 9 kernel
0intro Jan 27, 2022
52dc47a
sys/src/9k: import 9k from Bell Labs (2013-10-14) (thanks Jim McKie)
0intro Jan 27, 2022
f8397be
sys/src/9k/port: fix syscallfmt
0intro Jan 27, 2022
a23ef4c
sys/src/9k/k10: synchronize with Plan 9 kernel
0intro Jan 27, 2022
5257524
sys/src/9k: replace _xinc and _xdec by ainc and adec
0intro Sep 13, 2017
9d9d4b6
sys/src/cmd/fossil: fix deadlocks (thanks Richard Miller)
0intro Apr 29, 2022
9e77399
sys/src/cmd/fossil: fix a bug where time going backwards can cause ca…
0intro Apr 29, 2022
7a3648c
sys/src/libc: fix ainc and adec (thanks Richard Miller)
0intro Apr 29, 2022
60540bd
sys/src/libthread: port threadspawn and threadspawnl functions from p…
0intro Jan 20, 2016
a277224
dist/replica: add /sys/lib/firmware directory to plan9.proto
0intro Jun 5, 2022
4d4cb80
sys/src/9: remove Notsave structure (thanks Geoff Collyer)
0intro May 3, 2021
881f2b8
dist/replica: add /sys/lib/git directory to plan9.proto
0intro Jun 5, 2022
655576d
sys/src/cmd: add the `walk` command, which walks a tree of files (tha…
0intro Jun 5, 2022
68d5bf1
sys/src/cmd: import git (thanks Ori Bernstein)
0intro Jun 5, 2022
a0cc8ad
sys/src/cmd/aux: implement named flags in aux/getflags (thanks Ori Be…
0intro Jun 7, 2022
4b6f23a
sys/src/cmd/ssh2: fix non-host owner filesystem permissions in sshses…
0intro Dec 9, 2022
083d20f
sys/src/libauthsrv: add dos and nvram partitions to readnvram on arm …
0intro Dec 9, 2022
0c7927a
sys/src/9: fix read past end of array in screenputc in bcm, omap and …
0intro Dec 22, 2022
014ec6b
sys/src/cmd/fossil: avoid deadlock after reporting an iostate error (…
0intro Apr 14, 2023
1fabef7
sys/src/cmd/cc: import [568kqv]c, [568kqv]l, cc and ld from bitbucket…
0intro Oct 9, 2018
7bd9e75
all: various fixes for riscv (thanks Richard Miller)
0intro Apr 14, 2023
47effc2
sys/src/9/pc: rename .i files to .h
0intro May 28, 2021
853fbb4
sys/src/cmd/ssh2: fix public key authentication (thanks Richard Miller)
0intro Jun 7, 2024
c455c9e
sys/src/cmd/ssh2: return status (thanks Richard Miller)
0intro Jun 7, 2024
f2bba3f
sys/src/cmd/unix/u9fs: use Plan 9 error message in userwalk (thanks R…
0intro Jun 7, 2024
d39c9b9
sys/src/cmd/unix/u9fs: fix build on Unix
0intro Jun 7, 2024
af109ef
sys/src/cmd/unix/u9fs: don't depend on chroot anymore (thanks Charles…
0intro Jun 7, 2024
8a6e69d
sys/src/cmd/ssh2: fix output of sshsession -d (thanks Richard Miller)
0intro Jun 8, 2024
e50fb01
sys/src/cmd/upas/smtp: rename "autistic" to "avoidant" (thanks Anthon…
0intro Oct 20, 2021
d93ca06
sys/src/cmd/unix/u9fs: fix size on dirread (thanks Richard Miller)
0intro Jun 22, 2024
4f77427
sys/src/cmd: add usage to ps command (thanks Geoff Collyer)
0intro Nov 21, 2024
97240c0
sys/src/9k/port: cope with uartnuart == 0 in devcons (thanks Geoff Co…
0intro Dec 1, 2024
34c666b
sys/src/9k/386: don't check uart exists in uarti8250, not reliable (t…
0intro Dec 1, 2024
5f77341
usr/glenda: fix some typos in readme files (thanks Russ Cox)
0intro Mar 1, 2025
7a57080
sys/man: import ainc(2) manual (thanks Francisco Ballesteros)
0intro Mar 3, 2016
f60e2be
sys/src/9k/386: silence unused variable warning (thanks Russ Cox)
0intro Mar 4, 2025
4823f3c
sys/src/9k/k10: fix bug aliasing parent and child FP state after fork…
0intro Mar 4, 2025
e4d5e69
sys/src/9k/k10: fix noted(NCONT) losing registers (thanks Russ Cox)
0intro Mar 4, 2025
a1e68c0
sys/src/9k: allow floating point and simd in note handlers (thanks Ru…
0intro Mar 4, 2025
6681a82
sys/src/cmd: fix for new k10 kernel trap routine (thanks Russ Cox)
0intro Mar 8, 2025
41476c8
sys/src/libmach: fix default amd64 binary mapping (thanks Russ Cox)
0intro Mar 8, 2025
31e6c5c
sys/src/9: add monotonic time field to /dev/time and /dev/bintime (th…
0intro Mar 11, 2025
055caf2
sys/src: increase 9P buffers to 16 KB (thanks Geoff Collyer)
0intro Apr 14, 2019
c0f6f2c
sys/src/9k: add monotonic time support (thanks Russ Cox)
0intro Mar 11, 2025
31eea54
sys/src/cmd/ndb: add support for domain-specific dns resolvers (thank…
0intro Mar 22, 2025
97278a2
sys/src/cmd/ip/iscsisrv: import ip/iscsisrv, an iSCSI target (thanks …
0intro Apr 29, 2016
fd4d8db
glenda/lib/profile: add kbmap and webfs sugar
Mar 28, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion acme/bin/source/win/dat.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ enum
NPIPEDATA = 8000,
NPIPE = NPIPEDATA+32,
/* EVENTSIZE is really 256 in acme, but we use events internally and want bigger buffers */
EVENTSIZE = 8192,
EVENTSIZE = 16*1024,
NEVENT = 5,
};

Expand Down
16 changes: 11 additions & 5 deletions acme/bin/source/win/fs.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,13 @@ fsflush(Req *r)
static void
fswrite(Req *r)
{
static Event *e[4];
static Event *e[4]; /* ours, not the one from event.h */
static int n, partial;
Event *ep;
int i, j, ei, nb, wid, pid;
Rune rune;
char *s;
char tmp[UTFmax], *t;
static int n, partial;

if(r->fid->file == devnew){
if(r->fid->aux){
Expand Down Expand Up @@ -84,8 +84,14 @@ fswrite(Req *r)

ep = e[n];
n = (n+1)%nelem(e);
assert(r->ifcall.count <= 8192); /* is this guaranteed by lib9p? */
/*
* lib9p ensures that r->ifcall.count is <= srv->msize - IOHDRSZ,
* where srv == &fs.
*/
assert((int)r->ifcall.count >= 0);
nb = r->ifcall.count;
if (partial + nb >= sizeof ep->b)
sysfatal("EVENTSIZE < MAXRPC; increase EVENTSIZE & recompile");
memmove(ep->b+partial, r->ifcall.data, nb);
nb += partial;
ep->b[nb] = '\0';
Expand All @@ -97,12 +103,12 @@ fswrite(Req *r)
nb = j;
t[j] = '\0';
}
ei = nb>8192? 8192 : nb;
ei = nb>EVENTSIZE? EVENTSIZE: nb;
/* process bytes into runes, transferring terminal partial runes into next buffer */
for(i=j=0; i<ei && fullrune(ep->b+i, ei-i); i+=wid,j++)
wid = chartorune(&rune, ep->b+i);
memmove(tmp, ep->b+i, nb-i);
partial = nb-i;
// partial = nb-i; /* redundant */
ep->nb = i;
ep->nr = j;
ep->b[i] = '\0';
Expand Down
80 changes: 80 additions & 0 deletions amd64/include/ape/float.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
#ifndef __FLOAT
#define __FLOAT
/* IEEE, default rounding */

#define FLT_ROUNDS 1
#define FLT_RADIX 2

#define FLT_DIG 6
#define FLT_EPSILON 1.19209290e-07
#define FLT_MANT_DIG 24
#define FLT_MAX 3.40282347e+38
#define FLT_MAX_10_EXP 38
#define FLT_MAX_EXP 128
#define FLT_MIN 1.17549435e-38
#define FLT_MIN_10_EXP -37
#define FLT_MIN_EXP -125

#define DBL_DIG 15
#define DBL_EPSILON 2.2204460492503131e-16
#define DBL_MANT_DIG 53
#define DBL_MAX 1.797693134862315708145e+308
#define DBL_MAX_10_EXP 308
#define DBL_MAX_EXP 1024
#define DBL_MIN 2.225073858507201383090233e-308
#define DBL_MIN_10_EXP -307
#define DBL_MIN_EXP -1021
#define LDBL_MANT_DIG DBL_MANT_DIG
#define LDBL_EPSILON DBL_EPSILON
#define LDBL_DIG DBL_DIG
#define LDBL_MIN_EXP DBL_MIN_EXP
#define LDBL_MIN DBL_MIN
#define LDBL_MIN_10_EXP DBL_MIN_10_EXP
#define LDBL_MAX_EXP DBL_MAX_EXP
#define LDBL_MAX DBL_MAX
#define LDBL_MAX_10_EXP DBL_MAX_10_EXP

typedef union FPdbleword FPdbleword;
union FPdbleword
{
double x;
struct { /* little endian */
long lo;
long hi;
};
};

#ifdef _RESEARCH_SOURCE
/* define stuff needed for floating conversion */
#define IEEE_8087 1
#define Sudden_Underflow 1
#endif
#ifdef _PLAN9_SOURCE
/* MXCSR */
/* fcr */
#define FPFTZ (1<<15) /* amd64 */
#define FPINEX (1<<12)
#define FPUNFL (1<<11)
#define FPOVFL (1<<10)
#define FPZDIV (1<<9)
#define FPDNRM (1<<8) /* amd64 */
#define FPINVAL (1<<7)
#define FPDAZ (1<<6) /* amd64 */
#define FPRNR (0<<13)
#define FPRZ (3<<13)
#define FPRPINF (2<<13)
#define FPRNINF (1<<13)
#define FPRMASK (3<<13)
#define FPPEXT 0
#define FPPSGL 0
#define FPPDBL 0
#define FPPMASK 0
/* fsr */
#define FPAINEX (1<<5)
#define FPAUNFL (1<<4)
#define FPAOVFL (1<<3)
#define FPAZDIV (1<<2)
#define FPADNRM (1<<1) /* not in plan 9 */
#define FPAINVAL (1<<0)
#endif
#endif /* __FLOAT */
74 changes: 74 additions & 0 deletions amd64/include/ape/math.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
#ifndef __MATH
#define __MATH
#pragma lib "/$M/lib/ape/libap.a"

/* a HUGE_VAL appropriate for IEEE double-precision */
/* the correct value, 1.797693134862316e+308, causes a ken overflow */
#define HUGE_VAL 1.79769313486231e+308

#ifdef __cplusplus
extern "C" {
#endif

extern double acos(double);
extern double asin(double);
extern double atan(double);
extern double atan2(double, double);
extern double cos(double);
extern double sin(double);
extern double tan(double);
extern double cosh(double);
extern double sinh(double);
extern double tanh(double);
extern double exp(double);
extern double frexp(double, int *);
extern double ldexp(double, int);
extern double log(double);
extern double log10(double);
extern double modf(double, double *);
extern double pow(double, double);
extern double sqrt(double);
extern double ceil(double);
extern double fabs(double);
extern double floor(double);
extern double fmod(double, double);
extern double NaN(void);
extern int isNaN(double);
extern double Inf(int);
extern int isInf(double, int);

#ifdef _RESEARCH_SOURCE
/* does >> treat left operand as unsigned ? */
#define Unsigned_Shifts 1
#define M_E 2.7182818284590452354 /* e */
#define M_LOG2E 1.4426950408889634074 /* log 2e */
#define M_LOG10E 0.43429448190325182765 /* log 10e */
#define M_LN2 0.69314718055994530942 /* log e2 */
#define M_LN10 2.30258509299404568402 /* log e10 */
#define M_PI 3.14159265358979323846 /* pi */
#define M_PI_2 1.57079632679489661923 /* pi/2 */
#define M_PI_4 0.78539816339744830962 /* pi/4 */
#define M_1_PI 0.31830988618379067154 /* 1/pi */
#define M_2_PI 0.63661977236758134308 /* 2/pi */
#define M_2_SQRTPI 1.12837916709551257390 /* 2/sqrt(pi) */
#define M_SQRT2 1.41421356237309504880 /* sqrt(2) */
#define M_SQRT1_2 0.70710678118654752440 /* 1/sqrt(2) */

extern double hypot(double, double);
extern double erf(double);
extern double erfc(double);
extern double j0(double);
extern double y0(double);
extern double j1(double);
extern double y1(double);
extern double jn(int, double);
extern double yn(int, double);

#endif


#ifdef __cplusplus
}
#endif

#endif /* __MATH */
18 changes: 18 additions & 0 deletions amd64/include/ape/stdarg.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#ifndef __STDARG
#define __STDARG

typedef char *va_list;

#define va_start(list, start) list = (sizeof(start)<8 ? (char *)((long long *)&(start)+1) : \
(char *)(&(start)+1))
#define va_end(list)
#define va_arg(list, mode)\
((sizeof(mode) == 1)?\
((mode*)(list += 8))[-8]:\
(sizeof(mode) == 2)?\
((mode*)(list += 8))[-4]:\
(sizeof(mode) == 4)?\
((mode*)(list += 8))[-2]:\
((mode*)(list += sizeof(mode)))[-1])

#endif /* __STDARG */
38 changes: 38 additions & 0 deletions amd64/include/ape/ureg.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
#ifndef __UREG_H
#define __UREG_H
#if !defined(_PLAN9_SOURCE)
This header file is an extension to ANSI/POSIX
#endif

struct Ureg {
unsigned long long ax;
unsigned long long bx;
unsigned long long cx;
unsigned long long dx;
unsigned long long si;
unsigned long long di;
unsigned long long bp;
unsigned long long r8;
unsigned long long r9;
unsigned long long r10;
unsigned long long r11;
unsigned long long r12;
unsigned long long r13;
unsigned long long r14;
unsigned long long r15;

unsigned short ds;
unsigned short es;
unsigned short fs;
unsigned short gs;

unsigned long long type;
unsigned long long error; /* error code (or zero) */
unsigned long long ip; /* pc */
unsigned long long cs; /* old context */
unsigned long long flags; /* old flags */
unsigned long long sp; /* sp */
unsigned long long ss; /* old stack segment */
};

#endif
14 changes: 14 additions & 0 deletions dist/replica/plan9.proto
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,22 @@ arm - sys sys
+ - sys sys
mips - sys sys
+ - sys sys
mips64 - sys sys
+ - sys sys
power - sys sys
+ - sys sys
power64 - sys sys
+ - sys sys
riscv - sys sys
+ - sys sys
riscv64 - sys sys
+ - sys sys
sparc - sys sys
+ - sys sys
spim - sys sys
+ - sys sys
spim64 - sys sys
+ - sys sys

# everything else is owned by sys
acme - sys sys
Expand Down Expand Up @@ -103,8 +113,12 @@ sys - sys sys
+ - sys sys
fax - sys sys
+ - sys sys
firmware - sys sys
+ - sys sys
ghostscript - sys sys
+ - sys sys
git - sys sys
+ - sys sys
kbmap - sys sys
+ - sys sys
lex - sys sys
Expand Down
1 change: 1 addition & 0 deletions lib/ndb/common
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,7 @@ tcp=9fs port=564
tcp=whoami port=565
tcp=guard port=566
tcp=ticket port=567
tcp=submission port=587
tcp=ldaps port=636
tcp=fmclient port=729
tcp=iscsi-system port=860
Expand Down
Loading