libc.obj: implement console output via SHELL
#354
Dismiss Review
Are you sure you want to dismiss this review?
Labels
Clear labels
Influence/Text/TYPO
AI
Eolite
FS
GSoC
Good First PR
HLL
HardwareTested
IRCC
Influence/Settings
Lang/C
Lang/FASM
Pay for the code
Subsystem/API
Subsystem/Audio
Subsystem/Graphics
Subsystem/IPC and events
Subsystem/Memory
Subsystem/Network
Subsystem/Services(daemon)
Subsystem/Taskmanager
Subsystem/VFS
Subsystem/Window
This issue or PR in the Google Source of Code program
The issue is suitable to beginners
Paid task
infinity service, audio drivers, midi, speacker, audio programs
vesa, vga, framebuffer, cursors, blitter, and video drivers
pipes, signals, events, shared memory
virt and phys memory allocators, malloc and other
userspace and kernel(for example: serial) services
process, threads, run apps, scheduler
drivers from filesystem, fs api, blkdev, programs that work with the file system
windows, skins, buttons, mouse and keyboard code for windows (not the base code)
Category
Applications
Category
Drivers
Category
General
Category
Kernel
Category
Libraries
Kind
Breaking
Breaking change that won't be backward compatible
Kind
Bug
Something is not working
Kind
Build
Kind
Documentation
Documentation changes
Kind
Enhancement
Improve existing functionality
Kind
Feature
New functionality
Kind
Security
This is security issue
Kind
Testing
Issue or pull request related to testing
PR
Ready to merge
Pull request is ready for merge
PR
Conflicts
PR conflicts with main
PR
Dependent
This PR is dependent on another PR
PR
Request changes
Changes requested in pull request
PR
Review required
Priority
Critical
1
The priority is critical
Priority
High
2
The priority is high
Priority
Medium
3
The priority is medium
Priority
Low
4
The priority is low
Reviewed
Confirmed
Issue has been confirmed
Reviewed
Duplicate
This issue or pull request already exists
Reviewed
Invalid
Invalid issue
Reviewed
Won't Fix
This issue won't be fixed
Status
Abandoned
Somebody has started to work on this but abandoned work
Status
Blocked
Something is blocking this issue or pull request
Status
Need More Info
Feedback is required to reproduce issue or to continue work
Milestone
No items
No Milestone
Projects
Clear projects
No projects
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: KolibriOS/kolibrios#354
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Adding console I/O via the
SHELL.Demonstration of http_tcp_demo.c:
Do not use merge commits
7a2ada925atob2e4b02806ok, i force history without merge
@Egor00f - Please note that the file path for
ktccwas recently changed with #425. This will conflict with your changes.b2e4b02806to8a70ca5b318a70ca5b31toe3acc67244e3acc67244toa56061a99ca56061a99cto66c05c786a2170ffba0dto1a9c544d42libc.obj: shell console output supportto `libc.obj`: implement console output via `SHELL`1a9c544d42to57c6132411@@ -74,2 +74,4 @@}Why?
idk
It's a much needed mechanism, but unfortunately the provided solution will be exclusive for C users :(
@hidnplayr, you can use libc stdio functions in assembler if you need it.
@@ -11,1 +13,4 @@memcpy(&pid, __shell_shm + 1, sizeof(unsigned));}return pid;Не стоит ли инициализировать переменную pid, на случай если подключения к консоли всё же не будет,
Пожалуй стоит.
Необходимо провести тестирование изменений при многопоточном выводе в одну консоль. То есть необходима проверка и реализация, в случае если её нет, критических секций
351044ccf4to8369828fd0902d073347tocad6771223cad6771223tobb776f1aa2bb776f1aa2to21bb91040f21bb91040fto307981f3c9shell_ping()51d2372ea7libshell461124a712615d65d28cto58bfd90b73