Changeset c4cfe4c in mainline for kernel/test/print/print4.c


Ignore:
Timestamp:
2025-04-17T16:01:16Z (5 days ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
master
Children:
888c06e
Parents:
1db4e2ae (diff), 250a435 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2025-04-17 15:51:11)
git-committer:
Jiří Zárevúcky <zarevucky.jiri@…> (2025-04-17 16:01:16)
Message:

Convert kernel console writing to byte arrays

More buffer per buffer (the original char32_t buffer takes up four
times as much space for the same amount of backlog, which is wasteful).
It is also faster, possibly thanks to bigger chunks being processed in bulk.
Gonna try to figure out if the locking can be improved further.

Also changed to use a syscall for reading KIO buffer from uspace,
to allow better synchronization.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/test/print/print4.c

    r1db4e2ae rc4cfe4c  
    5050        }
    5151
    52         TPRINTF("\nExtended ASCII characters (128 - 255) using printf(\"%%lc\"):\n");
     52        TPRINTF("\nExtended ASCII characters (160 - 255) using printf(\"%%lc\"):\n");
    5353
    54         for (group = 4; group < 8; group++) {
     54        for (group = 5; group < 8; group++) {
    5555                TPRINTF("%#x: ", group << 5);
    5656
Note: See TracChangeset for help on using the changeset viewer.