Skip to content

[kernel,Nano-X] Remove unused AF_NANO sockets, cleanup Nano-X source#2219

Merged
ghaerr merged 1 commit intomasterfrom
nano
Feb 3, 2025
Merged

[kernel,Nano-X] Remove unused AF_NANO sockets, cleanup Nano-X source#2219
ghaerr merged 1 commit intomasterfrom
nano

Conversation

@ghaerr
Copy link
Copy Markdown
Owner

@ghaerr ghaerr commented Feb 3, 2025

Sets CONFIG_UNIX=y UNIX sockets default ON in IBM PC and PC-98 builds. This allows CI builds to be used for running nano-X in client/server mode.

Cleans up kernel and nano-X source code.
Adds <sys/un.h> instead of <linuxmt/un.h>
Removes CONFIG_NANO ("nano sockets") as CONFIG_UNIX ("UNIX sockets") are standard and now work.

First step in getting proper debug output from nano-X: replace printf with perror or __dprintf to be able to see errors. This requires that the serial console be enabled when running nano-X, which is a bit tricky when also using a mouse.

@ghaerr ghaerr merged commit d492ae1 into master Feb 3, 2025
@ghaerr ghaerr deleted the nano branch February 3, 2025 17:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant