wscons(4): Add support for 256 colours to VT100 emulation
Also implemented are CSI 90-97 and CSI 100-107 to set the bright
versions of the regular eight colours directly.
wscons already has full support of 8/16/24/32-bit displays (and
can take advantage of them for antialiased fonts), but increasingly
command-line applications are built to take advantage of colours beyond
the standard 8 provided by the ANSI escape codes. These extensions are
not generally standardized, but xterm serves as a de-facto standard.
Patch from Crystal Kolipe, adjusted slightly to work on 16-bit and
24-bit displays by me.
PR kern/59544
dhcpcd: For our routing, RTF_CONNECTED is the same as RTF_CLONING.
If we change the route, we want to flush anything dynamically created
which includes the flags on the route.
May fix PR kern/59664
more FX5/10 support:
- setup byte swapping for 8bit framebuffer access
- expose 8bit overlay on WSDISPLAYIO_MODE_MAPPED on FX5/10
with this we can run X with wsfb in 8bit with correct colours and hw cursor
Create a new LFS inode flag, IN_DEAD, to indicate that a file's last
reference, other than those that come with VU_DIROP or IN_CLEANING and
the one the caller holds, has been dropped. Check and apply this flag
in lfs_orphan(), and call lfs_orphan() on close if the link count is
zero. Change the signature of lfs_orphan to facilitate.
Make test t_vfsops:lfs_tfhremove expect success.
Closes PR kern/43745.
Fix memory release code on the LRU chain on reaching the maximum size,
increase default maximum size and make it safe for concurrent VOP_LOOKUPs.
No functional change.
tpm(4): Sprinkle bibliographic references.
No functional change intended: comments only. Should help the next
reader to track down where various magic constants come from.
Add web.archive.org links for everything just to make sure it will
remain available in the future when trustedcomputinggroup.org
eventually goes kaput.
Remove bogus assert() that checks if the size of the origional and the
reconstructed FIDs are the same after calling a function to see if it can be
made smaller. When there is accumulated slack in a sector this will be
reported but the assert would be triggered. While here also only copy the
reconstructed directory on an error.
If Volume Descriptor Sequence one reads in fine, we process it and free the
memory for the second Volume Descriptor Sequence. Fix the missing `else'
statement to prevent processing of the 2nd when it was freed. Fixes a
used-after-free case.
Add a seed parameter to differentiate between files, and correct the logic
for appending files so that the resultant file matches the expectation.
Pass the t_rfw tests again.
Use IINFOSIZE and LFS_BLKPTRSIZE, rather than sizeof(int32_t), to represent
the size of inode numbers and logical block numbers, respectively, in the
segment summary header. Prevents an overrun in LFS64.
Use a pseudorandom number with a well-known seed to provide file data
pattern, rather than a pattern that repeats every 256 bytes. Write
pattern files to the test file system in blocks rather than one byte at a
time, significantly speeding up the test.
Use default test timeout (3min) for now for all this tests.
The timeouts cause artificial failures on many slower test setups
and the tests run sucessfull if given enough time.
Example from an sh3 machine:
t_fcntl (1/1): 4 test cases
cleanseg32: [330.482904s] Passed.
cleanseg64: [321.895482s] Passed.
coalesce32: [20.214675s] Passed.
coalesce64: [20.613933s] Passed.
We may reduce timeouts again after we have working logs from various
architectures.