Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
402 commits
Select commit Hold shift + click to select a range
1382f5f
sys/man: add kernel function manuals to HTML manual index
0intro Jan 20, 2016
616d03e
sys/src/libventi: implement vtreconn and vtredial functions
0intro Jan 20, 2016
5ba8c94
sys/src/libventi: implement vtsha1 and vtsha1check functions
0intro Jan 20, 2016
9fa70f2
sys/src/ape/lib/ap: synchronize amd64 lock implementation with curren…
0intro Jan 20, 2016
662cfd8
sys/src/9/vt5: import Xilinx Virtex-5 kernel from Bell Labs (thanks G…
0intro Feb 18, 2016
2c76c98
sys/src/boot/vt4: import Xilinx Virtex-4 boot loader from Bell Labs (…
0intro Feb 18, 2016
53ebd7e
sys/src/boot/vt5: import Xilinx Virtex-5 boot loader from Bell Labs (…
0intro Feb 18, 2016
cf4c726
sys/src/cmd/cc: handle mixed-mode vlong/double assignment operators (…
0intro Feb 18, 2016
758dc5c
sys/src/9/vt4: replace evenaddr with validalign
0intro Feb 18, 2016
600ae46
sys/src/9/vt4: fix definition of l2be and readn in rebootcmd
0intro Feb 18, 2016
e429cb3
sys/man: import ainc(2) manual (thanks Francisco Ballesteros)
0intro Mar 3, 2016
b228fd1
sys/src/cmd/acme: implement multiline tags (thanks Russ Cox)
0intro Mar 6, 2016
6f11c6a
sys/src/libsec/amd64: import md5block and sha1block functions (thanks…
0intro Mar 6, 2016
9e25c19
sys/src/libmach: set page size to 4KB on amd64
0intro Mar 10, 2016
c69039b
sys/src/cmd: import ptrace (thanks Francisco Ballesteros)
0intro Mar 14, 2016
72c734d
sys/src/libmemdraw: required changes to be built as part of 9k (thank…
0intro Mar 29, 2016
4f8aba8
lib: update PCI database from pcidatabase.com
0intro Apr 23, 2016
a7ad063
sys/src/cmd/jtagfs: import jtagfs (thanks Gorka Guardiola)
0intro Jan 20, 2016
b2236ab
sys/man: update lock(2) manual (thanks Geoff Collyer)
0intro Aug 3, 2016
fc01a55
sys/src/cmd/vac: increase buffer size and fix read in vacfs (thanks G…
0intro Aug 17, 2016
7c6f22a
sys/man: update exec(2) manual (thanks Geoff Collyer)
0intro Aug 17, 2016
407f74d
sys/man: update read(2) manual (thanks Geoff Collyer)
0intro Aug 17, 2016
e0dd55d
sys/man: update read(5) manual (thanks Geoff Collyer)
0intro Aug 17, 2016
748e5b4
sys/man: import kernel function manuals (thanks Charles Forsyth)
0intro Jan 20, 2016
8f1a588
sys/src/cmd/rc: handle bad runes in rc (thanks Geoff Collyer)
0intro Aug 17, 2016
5e8f9f5
rc/bin: indicate the real time clock is in GMT
0intro Jan 20, 2016
aca801d
sys/src/cmd: import random command (thanks Geoff Collyer)
0intro Nov 7, 2016
8a1f0b6
sys/src/libhttpd: add hparseuri function (thanks Erik Quanstrom)
0intro Nov 11, 2016
a6f567d
sys/src/cmd/ip/httpd: add websocket auxiliary (thanks David Hoskin)
0intro Nov 12, 2016
41124c9
sys/src/cmd/fossil: move from liboventi to libthread and libventi
0intro Nov 14, 2016
c0a1fb8
sys/src/cmd/fossil: update qid.vers on wstat
0intro Nov 12, 2016
c86cf2a
sys/src/cmd/ip/ftpfs: fix size of 9P buffers (thanks Geoff Collyer)
0intro Oct 20, 2016
bde2bf1
sys/src: times are unsigned (thanks Geoff Collyer)
0intro Nov 19, 2016
4d82f3c
sys/src/cmd: fix kprof on Trim-Slice (thanks Geoff Collyer)
0intro Mar 29, 2017
90597ab
sys/src/cmd/ld: various fixes in ELF format
0intro Jun 15, 2017
4be05b6
sys/src/libauthsrv: fix findnvram on amd64 (thanks Kyohei Kadota)
0intro Aug 22, 2017
d0d290e
sys/src/9/vt4: fix prototype of ainc and adec
0intro Aug 23, 2017
45cd3b2
sys/src/boot/vt5: fix install target in mkfile
0intro Feb 18, 2016
6c3e161
sys/src/cmd/vl: fix rounding of data segment address
0intro Aug 25, 2017
85e8ca2
sys/src/9/vt4: import Xilinx Virtex-4 kernel from Bell Labs (thanks G…
0intro Feb 18, 2016
3c9ca83
sys/src/9k/boot: synchronize with Plan 9 kernel
0intro Sep 13, 2017
3b4c2ed
sys/src/9k/386: import sdata driver from PC kernel (thanks Geoff Coll…
0intro Sep 13, 2017
5f48eed
sys/src/9k/386: enable DMA in sdata
0intro Sep 13, 2017
a689548
sys/src/9k: remove trailing spaces
0intro Sep 13, 2017
23b36f1
sys/src/9k: use SCSI commands enumeration (thanks Geoff Collyer)
0intro Sep 13, 2017
a5b044f
sys/src/9k/port: implement scsilbacount function in sdscsi (thanks Ge…
0intro Sep 13, 2017
b64520b
sys/src/9k/port: use scsilbacount in sdaoe (thanks Geoff Collyer)
0intro Sep 13, 2017
3f57b1d
sys/src/9k/386: use scsilbacount in sdata (thanks Geoff Collyer)
0intro Sep 13, 2017
f79f295
sys/src/9k/386: use scsilbacount in sdiahci (thanks Geoff Collyer)
0intro Sep 13, 2017
61ad4ea
sys/src/9k/386: fix READ(16) command in sdiahci (thanks Geoff Collyer)
0intro Sep 13, 2017
40b70b2
sys/src/9k/386: fix issue when block numbers pass 2^40 in sdiahci (th…
0intro Sep 13, 2017
4b9c55f
sys/src/9k/mk: preserve order of library in kernel configurations (th…
0intro Sep 13, 2017
017b615
sys/src/9k/k10: add nvram in kernel configurations
0intro Sep 13, 2017
4eed0e3
sys/src/9k/k10: add ether82598 and etherm10g in kernel configurations
0intro Sep 13, 2017
a84b0aa
sys/src/9k/k10: add ethervirtio in kernel configurations
0intro Sep 13, 2017
845b8f5
sys/src/9k/k10: add sdvirtio in k10cpuf configuration
0intro Sep 13, 2017
5f61b56
sys/src/9k/k10: always halt on smp machines in idlehands (thanks Geof…
0intro Sep 13, 2017
95561f5
sys/src/9k/ip: set MSS on incoming TCP connections
0intro Sep 13, 2017
eb47c0f
sys/src/9k/port: fix okaddr integer overflow (thanks Geoff Collyer)
0intro Sep 13, 2017
116f946
sys/src/9k/port: fix deadlock in ibrk
0intro Sep 13, 2017
6215eee
sys/src/9/port: fix test for overlapping segments in ibrk and isoverl…
0intro Sep 13, 2017
ae5ef7c
sys/src/9k/port: fix pagereclaim (thanks Richard Miller)
0intro Sep 13, 2017
b4c02b6
sys/src/9k/port: set mach in lock (thanks Yoann Padioleau)
0intro Sep 13, 2017
d1d771e
sys/src/9k/port: fix buffer overflow in kbdputc (thanks Yoann Padioleau)
0intro Sep 13, 2017
77d2fda
sys/src/9k: implement devptrace (thanks Francisco Ballesteros)
0intro Sep 13, 2017
78a1218
sys/src/9k/port: call iunlock before freeblist in qpass and qpassnolim
0intro Sep 13, 2017
e7a0e1c
sys/src/9k/386: fix typo in devether
0intro Sep 13, 2017
db769fa
sys/src/9k/k10: fix typo in syscall
0intro Sep 13, 2017
826e0fd
sys/src/9k/port: fix typo in procflushseg
0intro Sep 13, 2017
9bd3155
sys/src/9k/k10: fix typo in l64fpu.s
0intro Sep 13, 2017
356620a
sys/src/9k/k10: fix typo in l32p.s
0intro Sep 13, 2017
791af86
sys/src/9k/boot: replace frequent warning by dprint
0intro Sep 13, 2017
c94c349
sys/src/9k/k10: increase TMFM to 224 MiB
0intro Sep 13, 2017
40ab4bb
sys/src/9k: increase available memory to 2.4 GiB
0intro Sep 13, 2017
928d92b
sys/src/9k/port: prettify the qmalloc stats array (thanks Francisco B…
0intro Sep 13, 2017
527c78a
sys/src/9k/k10: handle overloaded rdts (thanks Erik Quanstrom)
0intro Sep 13, 2017
d313b77
sys/src/9k/k10: add bustype in ioapicintrinit (thanks Erik Quanstrom)
0intro Sep 13, 2017
caf024d
sys/src/9k/k10: return type of interrupt in irqalloc (thanks Erik Qua…
0intro Sep 13, 2017
8d117ac
sys/src/9k/boot: enable readparts by default
0intro Sep 13, 2017
8c3d17b
sys/src/9k/port: use uintptr type for i and l (syscall compatibility …
0intro Sep 13, 2017
d33e66a
sys/src/9k/k10: implement mpacpi (thanks Erik Quanstrom)
0intro Sep 13, 2017
284486f
sys/src/9k/k10: disable segment selector check in noted
0intro Sep 13, 2017
425f69e
sys/src/9k/port: implement devkbmap
0intro Sep 13, 2017
57d47de
sys/src/9k/port: increase MAXRPC to 16 KB (thanks Geoff Collyer)
0intro Sep 13, 2017
2d7bbc2
sys/src/9k/k10: remove braces around if
0intro Sep 13, 2017
608f8ed
sys/src/9k/k10: replace print by DBG
0intro Sep 13, 2017
5bd5226
sys/src/9k/port: replace 1<<p->lg2size by pagesize(p) (thanks Charles…
0intro Sep 13, 2017
6262077
sys/src/9k/port: replace 1<<s->lg2pgsize by segpgsize(s)
0intro Sep 13, 2017
d69588c
sys/src/9k/port: replace 1<<ps->lg2pgsize by physsegpgsize(ps)
0intro Sep 13, 2017
ce49103
sys/src/9k/port: use page size instead of PGSZ constant in sysproc (t…
0intro Sep 13, 2017
9884564
sys/src/9k/port: use page size instead of PGSZ constant in sysseg
0intro Sep 13, 2017
6602f4d
sys/src/9k/port: copy lg2pgsize in dupseg
0intro Sep 13, 2017
d1595ae
sys/src/9k/port: handle SG_CACHED (thanks Charles Forsyth)
0intro Sep 13, 2017
3084d7a
sys/src/9k/port: add iskaddr macro (thanks Charles Forsyth)
0intro Sep 13, 2017
973b626
sys/src/9k/port: add isdmaok function (thanks Charles Forsyth)
0intro Sep 13, 2017
dd10ad7
sys/src/9k: add mmucachectl function (thanks Charles Forsyth)
0intro Sep 13, 2017
04cb1c1
sys/src/9k/port: fix memory leak in qmalloc
0intro Sep 13, 2017
07dbb40
sys/src/9k/k10: import physalloc from NIX (thanks The NIX Authors)
0intro Sep 13, 2017
22d5d36
sys/src/9k/k10: handle 4 KB blocks in physalloc
0intro Sep 13, 2017
424fc78
sys/src/9k/k10: fix linked list after physfree (thanks Remi Pommarel)
0intro Sep 13, 2017
c73c79a
sys/src/9k/k10: increase SEGMAPSIZE to 65536
0intro Sep 13, 2017
03fb05e
sys/src/cmd: fix a bug folding newlines in strings constants in C cod…
0intro Sep 14, 2017
60ce318
sys/src/cmd/4[acl]: import from plan9.bell-labs.com/sources/contrib/t…
0intro Sep 17, 2017
542725e
sys/man: import 9k kernel function manuals (thanks Erik Quanstrom)
0intro Sep 18, 2017
acf7c1f
sys/doc: add fossil paper in HTML documentation index
0intro Jan 20, 2016
0fad862
all: import mips64 and spim64 support from bitbucket.org/cherry9/4c (…
0intro Sep 18, 2017
6fc3a4e
sys/src/9/loongson: import from bitbucket.org/cherry9/plan9-loongson …
0intro Sep 18, 2017
50aeedb
sys/src/9/loongson: replace _xinc and _xdec by ainc and adec
0intro Sep 18, 2017
d08623f
sys/src/9/loongson64: import from bitbucket.org/cherry9/plan9-loongso…
0intro Sep 18, 2017
a20d247
sys/src/9/loongson64: replace _xinc and _xdec by ainc and adec
0intro Sep 18, 2017
e665f9e
sys/src/9/loongson64: add install rule into mkfile
0intro Sep 18, 2017
38c0ebf
sys/src/9/loongson64: add ln64cpu configuration file
0intro Sep 18, 2017
9d6ff69
sys/src/cmd: add mips64 and spim64 support in pcc
0intro Sep 18, 2017
4543cf6
sys/src/cmd/gs: add mips64 and spim64 support
0intro Sep 18, 2017
c078f8e
sys/src/ape/lib: add mips64 and spim64 support
0intro Sep 18, 2017
f25f7dc
sys/src/cmd/4c: increase NRGN to account for paranoia.c (thanks Charl…
0intro Sep 18, 2017
70f7b03
sys/src/cmd/4c: correct compilation of mixed-mode assignment operator…
0intro Sep 18, 2017
0779a74
sys/src/cmd: indent trans array in prof (thanks Geoff Collyer)
0intro Sep 18, 2017
9bd6c98
sys/src/cmd: add power64 support in prof (thanks Geoff Collyer)
0intro Sep 18, 2017
9b17308
all: import spim support from bitbucket.org/cherry9/plan9-loongson (t…
0intro Sep 17, 2017
b3e00ce
sys/src/cmd/troff: replace goto rtn with return (thanks Geoff Collyer)
0intro Sep 24, 2017
ed3f59e
sys/src/9k/port: support multiple page sizes in page allocator
0intro Oct 5, 2017
266b707
sys/src/9k/k10: use physalloc in MMU (thanks The NIX Authors)
0intro Sep 13, 2017
3905616
sys/src/libc: add mixed-mode vlong/double (thanks Charles Forsyth)
0intro Feb 18, 2016
8112b33
sys/include: increase EMAXMSG to 16 KB in event.h (thanks Geoff Collyer)
0intro Apr 19, 2019
e92b25e
acme/bin/source/win: increase EVENTSIZE to 16 KB (thanks Geoff Collyer)
0intro Apr 20, 2019
039bb2f
sys/src/libaml: import libaml from 9front (thanks Cinap Lenrek)
0intro Jan 20, 2016
3d84a60
sys/src/cmd/usb/usbd: implement USB 3.0 support (thanks Richard Miller)
0intro Sep 29, 2019
5893be5
sys/src/cmd/fscfs: import fscfs from HARE (thanks Geoff Collyer)
0intro Oct 1, 2019
e99caa2
sys/src/cmd/fscfs: various fixes (thanks Richard Miller)
0intro Oct 12, 2019
583231f
rc/bin: add flag to fshalt to bypass loading a new kernel (thanks Ste…
0intro Nov 30, 2019
f6b5eb3
rc/bin: use 9p.io instead of sources.cs.bell-labs.com in 9fs
0intro Jan 20, 2016
288c748
sys/lib: fix bzip2, gz and tgz mime types for ip/httpd/httpd
0intro Jan 20, 2016
dca488f
sys/src/cmd/kfs: default to sdE0 for kfs file systems (thanks Steven …
0intro Dec 13, 2019
1b1c4eb
sys/src/cmd/wikifs: fix html links to man pages
0intro Jan 19, 2020
6e58539
sys/src/games/sokoban: fix non constant initializer
0intro Feb 18, 2016
dcd8331
sys/src/cmd/dd: dd m modifier for megabytes to dd(1) (thanks Steve Si…
0intro Feb 21, 2021
db1e787
sys/src/cmd/sam: import wheel mouse support from plan9port (thanks St…
0intro Feb 21, 2021
0ba02c4
sys/src/cmd/rc: import rc syntax `delim{cmd} for splitting commands f…
0intro Feb 22, 2021
7888388
sys/src/cmd/aux: add aux/htmlsanitize (thanks Geoff Collyer)
0intro Feb 22, 2021
dd6228a
sys/src/cmd/ip/httpd: add 9down auxiliary (thanks Geoff Collyer)
0intro Mar 16, 2018
1b4d5b1
sys/src/cmd/ip/httpd: fix 9down to work outside Bell Labs environment
0intro Feb 22, 2021
5dbefe1
sys/src/cmd/spin: update Spin to 6.5.1 from Gerard Holzmann (thanks G…
0intro Feb 22, 2021
1cca0a5
sys/src/libventi: define VtEntryNoArchive constant
0intro Jan 20, 2016
8edb193
lib: update OUI database from IEEE
0intro Feb 22, 2021
67017e8
lib/ndb: add submission service to /lib/ndb/commom (thanks Steven Sta…
0intro Dec 13, 2019
8cff8a2
sys/src/cmd/disk/9660: add -n parameter to mk9660 to specify volume d…
0intro Mar 11, 2021
d255f20
sys/src/cmd: fix setting of uid/gid in tar -T (thanks Geoff Collyer)
0intro Mar 31, 2021
f479890
sys/src/cmd/fossil: set dirty when setting QidSpace (fixes archival s…
0intro Apr 7, 2021
e39e92d
sys/src/libsec: fix implementation of AES-CTR (thanks Richard Miller)
0intro Apr 8, 2021
d985141
sys/src/cmd/ssh2: add support for AES-CTR (thanks Richard Miller)
0intro Apr 8, 2021
343ba8f
sys/src/cmd/ssh2: completes the implementation of DH group 14 (thanks…
0intro Apr 8, 2021
504d648
sys/lib/tls: import certificate authorities from cURL
0intro Apr 11, 2021
41dff6f
sys/lib/wiki: fix links in wiki pages
0intro Feb 16, 2019
bad6a99
sys/src/ape/lib/ap/amd64: remove objtype in mkfile
0intro Apr 27, 2021
86a6c97
all: import power64 support from Charles Forsyth (thanks Charles Fors…
0intro Sep 18, 2017
62dc049
sys/src/9k/port: add TLS 1.2 support in devtls (thanks Cinap Lenrek)
0intro Apr 30, 2021
bad8c03
sys/src/9k/port: implement checkpages and checkmmu
0intro Sep 13, 2017
2e01b2f
sys/src/cmd/lzip: import lzip (thanks Geoff Collyer)
0intro May 1, 2021
98744c8
sys/src/cmd/ramcfs: import ramcfs from HARE (thanks Geoff Collyer)
0intro Oct 1, 2019
a569889
sys/src/9k: fix pointer comparisons
0intro May 1, 2021
4cc9a21
sys/src/9k: replace sprint by snprint
0intro May 1, 2021
37ac62c
sys/src/9k/ip: implement hangupxmit message on TCP connection control…
0intro May 3, 2021
b14800d
sys/src/9k/ip: implement close message on TCP connection control file
0intro Sep 13, 2017
6791830
sys/src/9k/boot: use named constants
0intro May 3, 2021
2e8d551
sys/src/9k/ip: fix number of entries in iphash (thanks Yoann Padioleau)
0intro May 3, 2021
58c4430
sys/src/9k/ip: implement direct attached routes (thanks Kyohei Kadota)
0intro Apr 18, 2021
44d6350
sys/src/9k/ip: use named constants (thanks Geoff Collyer)
0intro May 3, 2021
ded134f
sys/src/9k/ip: add del1route function (thanks Geoff Collyer)
0intro May 3, 2021
4c5d618
sys/src/9k/k10: use named constants
0intro May 4, 2021
9298c97
sys/src/9k/k10: use named constants (add mp.h)
0intro May 4, 2021
563a2a6
sys/src/9k/port: fix rtctime
0intro Sep 13, 2017
47a5609
sys/src/libdynld: import libdynld from Inferno (thanks Charles Forsyth)
0intro May 26, 2021
7ab6031
sys/src/libframe: implement noredraw (thanks Russ Cox)
0intro Mar 6, 2016
9b4e320
all: add sparc support in libmp and libsec
0intro May 28, 2021
f65aadd
all: import amd64 from Bell Labs
0intro Jan 20, 2016
f205ecc
dist/replica: add /mips64, /spim and /spim64 directories to plan9.proto
0intro Jun 8, 2021
e3d1bef
all: import riscv and riscv64 support from /n/sources/contrib/miller/…
0intro May 29, 2021
cc836a4
dist/replica: add /riscv and /riscv64 directories to plan9.proto
0intro Jun 8, 2021
5c4db26
sys/src/cmd/rc: fix Xpipefd unbalancing the redir stack (thanks Cinap…
0intro Jun 16, 2021
1f70565
sys/src/libstdio: various fixes in stdio (thanks Geoff Collyer)
0intro Nov 16, 2016
51bd760
sys/src/9k/386: add i210, i217 and i218 support in ether82563 (thanks…
0intro Sep 27, 2021
f10564b
sys/src/9k/k10: use PAUSE instruction instead of spinning (thanks Cha…
0intro Sep 13, 2017
167f545
sys/src/cmd/sam: fix spurious overwrite message (thanks Russ Cox)
0intro Oct 31, 2021
24b9f2c
sys/src/cmd/acme: fix extra print args (thanks Russ Cox)
0intro Oct 31, 2021
8a35e78
rc/bin: import await (thanks Geoff Collyer)
0intro Oct 24, 2016
012e7fb
sys/src/cmd/usb: allows USB 3.0 disks to be used in a USB 3.0 port on…
0intro Nov 24, 2021
e0c4b1b
sys/src/cmd: various fixes and cleanup in xd (thanks Geoff Collyer)
0intro Jul 31, 2016
76d522c
sys/src/libc: add memory barrier in ainc and adec (thanks Richard Mil…
0intro Jan 11, 2022
8942f40
sys/src/cmd/awk: import AWK changes from Brian Kernighan (2012-12-20)…
0intro Feb 24, 2016
1f53b66
sys/src/9k/386: import sdvirtio10 from 9front (thanks Cinap Lenrek)
0intro Jan 15, 2022
7807910
sys/src/9k/k10: add sdvirtio10 in kernel configurations
0intro Jan 15, 2022
6ddedbe
sys/src/9k/386: import ethervirtio10 from 9front (thanks Cinap Lenrek)
0intro Jan 15, 2022
77f3fec
sys/src/9k/k10: add ethervirtio10 in kernel configurations
0intro Jan 15, 2022
ecfd6dc
sys/src/9k/386: import ethervirtio from 9front (thanks Nick Owens)
0intro Jan 15, 2022
c31d162
sys/src/9k/port: import sdfakescsirw from 9atom (thanks Erik Quanstrom)
0intro Sep 13, 2017
4c8ed39
sys/src/9k/386: import sdvirtio from 9front (thanks Cinap Lenrek)
0intro Jan 15, 2022
289388a
sys/src/9k/k10: ignore interrupt 39
0intro Sep 13, 2017
f630732
sys/src/9k/386: implement PCI capabilities (thanks Erik Quanstrom)
0intro Jan 15, 2022
8b2aab3
sys/src/9k/386: implement custom PCI capabilities enumeration (thanks…
0intro Jan 15, 2022
34de096
sys/src/9k/k10: add k10cpuf kernel configuration
0intro Jan 27, 2022
1504b7d
sys/src/9k/k10: add tls in kernel configurations
0intro Sep 13, 2017
ad51114
sys/src/9k: implement devdraw, devvga and devmouse
0intro Jan 27, 2022
cce854e
sys/src/9k/k10: fix read past end of array in vga
0intro Sep 13, 2017
e8a8210
sys/src/9k/port: implement nsec syscall
0intro Jan 27, 2022
8ebabe9
sys/src/9k/386: synchronize with Plan 9 kernel
0intro Jan 27, 2022
a35051d
sys/src/9k/386: revert types changes in etherm10g
0intro Sep 13, 2017
77d12da
sys/src/9k/ip: synchronize with Plan 9 kernel
0intro Jan 27, 2022
653f069
sys/src/9k/k10: build ELF kernel
0intro Jan 27, 2022
f0144cc
sys/src/9k/port: add pragma varargck for uintmem (thanks Charles Fors…
0intro Sep 13, 2017
a96bc4b
sys/src/9k/386: replace PCIWADDR by PCIWADDRL and PCIWADDRH (thanks C…
0intro Jan 27, 2022
de6dc4e
sys/src/9/386: call intrdisable in devether (thanks Charles Forsyth)
0intro Sep 13, 2017
33475ed
sys/src/9k/k10: temporarily remove the -T flag from CFLAGS
0intro Jan 27, 2022
469a89d
sys/src/9k/k10: add -R4096 and -S parameters when linking ELF
0intro Jan 27, 2022
ba84263
sys/src/9k/k10: add syscallfmt to kernel configurations
0intro Jan 27, 2022
59ec943
sys/src/9k/port: synchronize with Plan 9 kernel
0intro Jan 27, 2022
6df3ae5
sys/src/9k: import 9k from Bell Labs (2013-10-14) (thanks Jim McKie)
0intro Jan 27, 2022
269ed2a
sys/src/9k/port: fix syscallfmt
0intro Jan 27, 2022
b76c1f0
sys/src/9k/k10: synchronize with Plan 9 kernel
0intro Jan 27, 2022
b0cd044
sys/src/9k: replace _xinc and _xdec by ainc and adec
0intro Sep 13, 2017
c709e15
sys/src/cmd/fossil: fix deadlocks (thanks Richard Miller)
0intro Apr 29, 2022
8dfdbe5
sys/src/cmd/fossil: fix a bug where time going backwards can cause ca…
0intro Apr 29, 2022
daa1e31
sys/src/libc: fix ainc and adec (thanks Richard Miller)
0intro Apr 29, 2022
d8bbca0
sys/src/libthread: port threadspawn and threadspawnl functions from p…
0intro Jan 20, 2016
45b6ab6
dist/replica: add /sys/lib/firmware directory to plan9.proto
0intro Jun 5, 2022
5d021e8
sys/src/9: remove Notsave structure (thanks Geoff Collyer)
0intro May 3, 2021
39d3f0e
dist/replica: add /sys/lib/git directory to plan9.proto
0intro Jun 5, 2022
e92e8c9
sys/src/cmd: add the `walk` command, which walks a tree of files (tha…
0intro Jun 5, 2022
a1adaf2
sys/src/cmd: import git (thanks Ori Bernstein)
0intro Jun 5, 2022
998fa94
sys/src/cmd/aux: implement named flags in aux/getflags (thanks Ori Be…
0intro Jun 7, 2022
3753dfa
sys/src/cmd/ssh2: fix non-host owner filesystem permissions in sshses…
0intro Dec 9, 2022
9bfd113
sys/src/libauthsrv: add openrd function to open nvram (thanks Geoff C…
0intro Dec 9, 2022
3d9c393
sys/src/libflate: fix typo (thanks Geoff Collyer)
0intro Sep 24, 2017
ff61a45
sys/src/libauthsrv: add dos and nvram partitions to readnvram on arm …
0intro Dec 9, 2022
96f1644
sys/src/9: fix read past end of array in screenputc in bcm, omap and …
0intro Dec 22, 2022
2aa7dd1
sys/src: increase 9P buffers to 16 KB (thanks Geoff Collyer)
0intro Apr 14, 2019
9951379
sys/src/cmd/fossil: avoid deadlock after reporting an iostate error (…
0intro Apr 14, 2023
d612904
sys/src/cmd/cc: import [568kqv]c, [568kqv]l, cc and ld from bitbucket…
0intro Oct 9, 2018
eeb41dc
all: various fixes for riscv (thanks Richard Miller)
0intro Apr 14, 2023
4128987
sys/src/9/pc: rename .i files to .h
0intro May 28, 2021
df05924
sys/src/cmd/ssh2: fix public key authentication (thanks Richard Miller)
0intro Jun 7, 2024
aaf4283
sys/src/cmd/ssh2: return status (thanks Richard Miller)
0intro Jun 7, 2024
9661fbe
sys/src/cmd/unix/u9fs: use Plan 9 error message in userwalk (thanks R…
0intro Jun 7, 2024
679a262
sys/src/cmd/unix/u9fs: fix build on Unix
0intro Jun 7, 2024
2c0d41a
sys/src/cmd/unix/u9fs: don't depend on chroot anymore (thanks Charles…
0intro Jun 7, 2024
3eaa113
sys/src/cmd/ssh2: fix output of sshsession -d (thanks Richard Miller)
0intro Jun 8, 2024
c4eff55
sys/src/cmd/upas/smtp: rename "autistic" to "avoidant" (thanks Anthon…
0intro Oct 20, 2021
16ecc6c
sys/src/cmd/unix/u9fs: fix size on dirread (thanks Richard Miller)
0intro Jun 22, 2024
0b59132
sys/src/cmd/ip/iscsisrv: import ip/iscsisrv, an iSCSI target (thanks …
0intro Apr 29, 2016
d87f9ed
sys/src/9k/port: cope with uartnuart == 0 in devcons (thanks Geoff Co…
adriangrigore Nov 9, 2024
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