mirror of
git://git.9front.org/plan9front/plan9front
synced 2025-01-12 11:10:06 +00:00
[Mirror] Some kind of OS: git://git.9front.org/plan9front/plan9front
c1c4d40def
Drivers where allocating a READSTR size buffer, then readstr() it. But readstr() can raise an error on pagefault, resulting in the buffer to be leaked. Instead, we change the interface and allocate the buffer in devuart read handler, passing the driver start and end pointers into it. Also, provide a default implementation (when status == nil), avoiding some duplication. |
||
---|---|---|
386 | ||
68000 | ||
68020 | ||
acme | ||
adm/timezone | ||
amd64 | ||
arm | ||
arm64 | ||
lib | ||
mips | ||
power | ||
power64 | ||
rc | ||
sparc | ||
sparc64 | ||
spim | ||
sys |