summaryrefslogtreecommitdiff
path: root/sys/src
AgeCommit message (Collapse)Author
2022-12-04kernel: free exec temporary stack segment under seglockcinap_lenrek
On error, we must free the temporary stack segment while holding up->seglock.
2022-12-04audio/mixfs: fix locking for /dev/audio loopbackcinap_lenrek
Add "Lock rplock" as a barrier for /dev/audio loopback readers. Readers can execute concurrently (no need to acquire mixlock), we just have to make sure lbbuf[] data is written *before* mixrp is updated by audioproc().
2022-12-03usbxhci: cleanupcinap_lenrek
2022-12-03zynq: remove bogus main.bin filecinap_lenrek
2022-12-03devbridge: simplify ethermultiwrite()cinap_lenrek
2022-12-03usbxhci: split usbxhci in portable and pci / soc specific driverscinap_lenrek
For the reform kernel, we used to have a slightly modified copy of port/usbxhci.c as the controller was implemented in soc specific registers and requires some rocket science initialization. Instead, we want to have a common generic xhci driver (usbxhci) and separate drivers that deal with the specific implementation such as usbxhcipci and usbxhciimx.
2022-12-03kernel: fix devsrv compilation on arm32Jacob Moody
2022-12-03iconv: revert copying extra data on inputcinap_lenrek
I think this is better done by a shell script doing the extra copying as it breaks use cases where we want to consume bitmaps in a loop from a file-descriptor.
2022-12-03cc: fix vlong->VOID cast (thanks cosa)cinap_lenrek
void main() { unsigned long long a; long long b; (void)(a=b);} a.c:1 unknown vlong->VOID cast with patch: term% /sys/src/cmd/5c/6.out -S a.c TEXT main+0(SB),0,$16 MOVW b-16(SP),R1 MOVW b-12(SP),R2 MOVW R1,a-8(SP) MOVW R2,a-4(SP) RET , END ,
2022-12-02merge2Sigrid Solveig Haflínudóttir
2022-12-029boot: delay GetMemoryMap until right before ExitBootServices (thanks ↵cinap_lenrek
michael forney!) Michael Forney reported the following: The UEFI specification suggests calling GetMemoryMap immediately before ExitBootServices to ensure that the loader has the current memory map. The firmware is able to enforce this since we have to pass a "MapKey" from the last GetMemoryMap to ExitBootServices. The T14 AMD gen 1 firmware is quite strict about this, and even a call to OutputString will invalidate the MapKey. This causes ExitBootServices to fail, and we enter 9front with boot services still running. This causes all sorts of problems including leaving the IOMMU enabled, breaking 9front's PCI drivers. --- Michael sent a patch that moves memconf() to unload(), but i prefer to make this explicit by calling memconf() before and keep unload() as just that, not touching the configuration.
2022-12-02page: put gs in a sandboxJacob Moody
2022-12-02kernel: private srv boardsJacob Moody
2022-11-29iconv: copy extra data verbatim to allow font conversion/compressionSigrid Solveig Haflínudóttir
2022-11-28audio/zuke: do not clip the rightmost columnSigrid Solveig Haflínudóttir
2022-11-27play: aac supportcinap_lenrek
2022-11-27c99: update dead web linkNoam Preil
2022-11-27trampoline: Add -o option to send protocol-specific ctl stringcinap_lenrek
2022-11-26git: add support for another signed message formatOri Bernstein
2022-11-25etheriwl: add pci id for AC 7265 card (thanks Chris Gorman)Ori Bernstein
2022-11-12usbxhci: wait for reset to complete before continuing initializationMichael Forney
The xhci spec says that the HCRST bit is cleared once the reset is complete, and that no operational or runtime registers shall be written while the bit is set. Waiting for the reset to complete fixes initialization of some host controllers, such as the ASMedia ASM1142, which otherwise enter an endless init-recover loop. Also, add a comment about the reason for the 1ms delay. This appears to work around a system hang bug in intel chipsets through the 400 series (see errata 15 in [0]). [0] https://cdrdv2-public.intel.com/620856/620856-009.pdf
2022-11-20snoopy: fix ipv6 option header parsing, add MLD messages to icmp6cinap_lenrek
2022-11-20aux/listen: add -o and -O optionscinap_lenrek
2022-11-20devip: lilu dallas multicast.cinap_lenrek
Allow accepting udp "connections" using a multicast local address. Before, it was only possible to receive multicast using the headers option. Having a connection orirented stream can be very usefull when receiving multicast audio data. One gets a "connection" for every source. Implement (optional) support for IGMPv2 and MLDv1. This can be usefull if bridges on the network have IGMP/MLD snooping enabled, and wont forward multicast traffic unless we report what we excpect. This is experimental for now, so the igmp protocol must be manually added to the kernel configuration.
2022-11-20icmp6: no need set vcf and ttl before ipoput6(), use MAXTTL instead of HOP_LIMITcinap_lenrek
2022-11-15kernel: handle 64-bit multiboot framebuffer addressMichael Forney
2022-11-16tee: remove unused variable (thanks mkf9)Sigrid Solveig Haflínudóttir
2022-11-14nusb/cam: interrupt reader proc on close to unstuck itSigrid Solveig Haflínudóttir
2022-11-14nusb/cam: rather than showing partially green frames (when not enough ↵Sigrid Solveig Haflínudóttir
bandwidth), skip those altogether
2022-11-13nusb/cam: take max payload transfer size into account when selecting for ↵Sigrid Solveig Haflínudóttir
bandwidth This fixed frames (usually) filled with green color because of the wrong alt settings used before.
2022-11-13nusb/cam: remove wrong func prototypes, print probe controlSigrid Solveig Haflínudóttir
2022-11-13Re: [9front] cwfs: Add some missing dashesJosiah Frentsos
Ping.
2022-11-13nusb/cam: rewrite yuy2convert with integer arithmeticSigrid Solveig Haflínudóttir
2022-11-11skelfs: remove useless code (thanks Arne Meyer)Jacob Moody
2022-11-08upas/marshal: rfc2047-encode name of the sender (fixes non-ascii names in ↵Sigrid Solveig Haflínudóttir
From: header)
2022-11-06patch: preserve permissions of original file when patchingOri Bernstein
2022-11-05read: add -r to read runes instead of bytes (thanks umbraticus)Sigrid Solveig Haflínudóttir
2022-11-05ethervgbe: do not give userspace the frame check sequenceJacob Moody
2022-11-04cc: do not wait for cpp to finish if there were errorsSigrid Solveig Haflínudóttir
2022-11-04cc: wait for cpp to report whether it was a successSigrid Solveig Haflínudóttir
2022-11-04bar: static buffer for splitting, since it is getting used for clicks later onSigrid Solveig Haflínudóttir
2022-11-04bar: increase the buffer to fit more aux data (noam decided to display the ↵Sigrid Solveig Haflínudóttir
currently playing track there)
2022-11-04cpp: stringified macros shouldn't split words separate by a dotSigrid Solveig Haflínudóttir
> #define A(s) #s > #define B(s) A(s) > > #define x0 blah blah blah > B(x0) > > #define x1 blah.blah > B(x1) Before the fix, B(x1) would become "blah . blah". After the fix it's "blah.blah", as expected. In fact, the fix has always been there, but commented out on the initial import of The Artwork.
2022-11-03audio/zuke: fix -s not drawing properly and track being off by one; more OCLOSESigrid Solveig Haflínudóttir
2022-11-03boot/bitsy: clean up checked in binaryJacob Moody
2022-11-03libc: address kencc warning in date.cJacob Moody
2022-11-02bar: fix automatic resize and click location; ignore separator area when ↵Sigrid Solveig Haflínudóttir
clicking
2022-11-02kernel: Do not treat IPv6 ULA's as GUA's (thanks Arne Meyer)Jacob Moody
2022-11-01disk/partfs: fix bogus "%r" error responsecinap_lenrek
2022-11-01hjfs: check and fix print format errorscinap_lenrek