devhawala
82577ce951
Dodo Nethub support ( #445 )
...
* added support for XNS networking via Dodo-Nethub
* NetHub connection now optional (only if -nh-host is given); released NetHub-related changes to 'ether.c' to the public domain
* Added file using-dodo-networking-with-maiko.md
Documentation for building and using the Dodo-networking addition to Maiko
* Added support for running Maiko unter cygwin/x86_64-x
* Migrate Addr68k/NativeAlignment{2,4} in Nethub code, move timer/async defines to platform.h
* added missing include <netinet/in.h> for FreeBSD
* updated 'compile-flags' with added flags
* splitted ether.c in 3 (_common, _sunos, _nethub)
* reworks/modifications for nbriggs' pull-request review comments
* addintional additions for nbriggs' pull-request review comments
* get the Lisp packet lengths with 'LispInt2CInt'
* renamed variables in dblwordsSwap to indicate it's about double-words
* fixed wrong preprocessor directive unnoticed by clang
* added networking choice option to cmake build, fix to printf warning
- for cmake specify the networking to use with -DMAIKO_NETWORK_TYPE=<type>
- with <type> one of: NONE, SUN_DLPI, SUN_NIT, NETHUB
- e.g.: cmake .. -DMAIKO_NETWORK_TYPE=NETHUB
* integrated improvement to sendPacket() proposed by nbriggs
* integrated fix for SIGBUS on 32-bit big-endian, provided by nbriggs
* MAIKO_ENABLE_ETHERNET should not be unconditionally set on Solaris systems
* Receiving an ethernet packet is an ether interrupt but not an i/o interrupt.
Co-authored-by: dev hawala <devhawala@x.y>
Co-authored-by: Nick Briggs <nicholas.h.briggs@gmail.com>
2022-10-11 14:21:55 -07:00
Nick Briggs
2509a796ce
Correct async I/O setup to work for Solaris ( #446 )
...
Solaris does not define O_ASYNC, but does define FASYNC and FNDELAY,
which it expects to be used in place of O_ASYNC in an fcntl() to set up
asynchronous I/O on a socket.
This fix also generates a compiler warning if neither the O_ASYNC nor
FASYNC/FNDELAY methods are available.
2022-10-10 09:17:39 -07:00
Nick Briggs
cdffa541ef
Remove extra semicolons, convert #define x() {...} to do {...} while (0) style ( #444 )
...
* Remove extra semicolons, convert #define x() {...} to do {...} while (0) style
* Fix missing brace in INIT-specific definition of init_kbd_startup
2022-10-05 09:07:17 -07:00
Nick Briggs
f5b17b0e63
Merge pull request #443 from Interlisp/cast-align
...
Replace Addr68k and stack offset related macros with NativeAligned inline functions
maiko-220929-f5b17b0e
2022-09-29 13:01:32 -07:00
Nick Briggs
c2070d9892
Remove definitions of Addr68k/StkOffset macros which have been replaced by inline functions.
2022-09-28 15:21:50 -07:00
Nick Briggs
344351acba
Replace StkOffset related macros with StackOffset inline functions
2022-09-28 15:17:53 -07:00
Nick Briggs
fcc62953d8
Replace Addr68k related macros with NativeAligned inline functions
2022-09-01 14:15:38 -07:00
Nick Briggs
33ba044dc1
Replace Addr68k related macros with NativeAligned inline functions
2022-09-01 14:15:38 -07:00
Nick Briggs
387be9d2b6
Replace Addr68k related macros with NativeAligned inline functions
2022-09-01 14:15:38 -07:00
Nick Briggs
5565c9db8b
Replace Addr68k related macros with NativeAligned inline functions
2022-09-01 14:15:38 -07:00
Nick Briggs
ad9487a89b
Replace Addr68k related macros with NativeAligned inline functions
2022-09-01 14:15:38 -07:00
Nick Briggs
fdef5e6dde
Replace Addr68k related macros with NativeAligned inline functions
2022-09-01 14:15:38 -07:00
Nick Briggs
ebd7a197f2
Replace Addr68k related macros with NativeAligned inline functions
2022-09-01 14:15:38 -07:00
Nick Briggs
6a7e018a0c
Replace Addr68k related macros with NativeAligned inline functions
2022-09-01 14:15:38 -07:00
Nick Briggs
7a28ba5731
Replace Addr68k related macros with NativeAligned inline functions
2022-09-01 14:15:38 -07:00
Nick Briggs
c4ad41fcb7
Replace Addr68k related macros with NativeAligned inline functions
2022-09-01 14:15:38 -07:00
Nick Briggs
fda6153d5b
Replace Addr68k related macros with NativeAligned inline functions
2022-09-01 14:15:38 -07:00
Nick Briggs
419ff4a549
Replace Addr68k related macros with NativeAligned inline functions
2022-09-01 14:15:37 -07:00
Nick Briggs
695f559af8
Replace Addr68k related macros with NativeAligned inline functions
2022-09-01 14:15:37 -07:00
Nick Briggs
a24f10a995
Replace Addr68k related macros with NativeAligned inline functions
2022-09-01 14:15:37 -07:00
Nick Briggs
6944c1289b
Replace Addr68k related macros with NativeAligned inline functions
2022-09-01 14:15:37 -07:00
Nick Briggs
b8873485c7
Replace Addr68k related macros with NativeAligned inline functions
2022-09-01 14:15:37 -07:00
Nick Briggs
1a98f0783e
Replace Addr68k related macros with NativeAligned inline functions
2022-09-01 14:15:37 -07:00
Nick Briggs
77894f993c
Replace Addr68k related macros with NativeAligned inline functions
2022-09-01 14:15:37 -07:00
Nick Briggs
83cd45d8dc
Replace Addr68k related macros with NativeAligned inline functions
2022-09-01 14:15:37 -07:00
Nick Briggs
8b746780cd
Replace Addr68k related macros with NativeAligned inline functions
2022-09-01 14:15:37 -07:00
Nick Briggs
269e5d8235
Replace Addr68k related macros with NativeAligned inline functions
2022-09-01 14:15:37 -07:00
Nick Briggs
cc6e8b6986
Replace Addr68k related macros with NativeAligned inline functions
2022-09-01 14:15:37 -07:00
Nick Briggs
b7b364359b
Replace Addr68k related macros with NativeAligned inline functions
2022-09-01 14:15:37 -07:00
Nick Briggs
e84703c3bd
Replace Addr68k related macros with NativeAligned inline functions
2022-09-01 14:15:37 -07:00
Nick Briggs
5fbc3d0480
Replace Addr68k related macros with NativeAligned inline functions
2022-09-01 14:15:37 -07:00
Nick Briggs
97e811e3de
Replace Addr68k related macros with NativeAligned inline functions
2022-09-01 14:15:37 -07:00
Nick Briggs
f6aa8f1dcd
Replace Addr68k related macros with NativeAligned inline functions
2022-09-01 14:15:37 -07:00
Nick Briggs
1b90398cfc
Replace Addr68k related macros with NativeAligned inline functions
2022-09-01 14:15:37 -07:00
Nick Briggs
b758597f96
Replace Addr68k related macros with NativeAligned inline functions
2022-09-01 14:15:37 -07:00
Nick Briggs
4b603a8a31
Replace Addr68k related macros with NativeAligned inline functions
2022-09-01 14:15:37 -07:00
Nick Briggs
d6a5e5298a
Replace Addr68k related macros with NativeAligned inline functions
2022-09-01 14:15:37 -07:00
Nick Briggs
483506234b
Replace Addr68k related macros with NativeAligned inline functions
2022-09-01 14:15:37 -07:00
Nick Briggs
f3592648b6
Replace Addr68k related macros with NativeAligned inline functions
2022-09-01 14:15:36 -07:00
Nick Briggs
d266f4d987
Replace Addr68k related macros with NativeAligned inline functions
2022-09-01 14:15:36 -07:00
Nick Briggs
05f49a3556
Replace Addr68k related macros with NativeAligned inline functions
2022-09-01 14:15:36 -07:00
Nick Briggs
2a42cd8e52
Replace Addr68k related macros with NativeAligned inline functions
2022-09-01 14:15:36 -07:00
Nick Briggs
dab77421a2
Replace Addr68k related macros with NativeAligned inline functions
2022-09-01 14:15:36 -07:00
Nick Briggs
5143aa25b0
Replace Addr68k related macros with NativeAligned inline functions
2022-09-01 14:15:36 -07:00
Nick Briggs
56b6cfaa19
Replace Addr68k related macros with NativeAligned inline functions
2022-09-01 14:15:36 -07:00
Nick Briggs
3786630f33
Replace Addr68k related macros with NativeAligned inline functions
2022-09-01 14:15:36 -07:00
Nick Briggs
63bfea5adf
Replace Addr68k related macros with NativeAligned inline functions
2022-09-01 14:15:36 -07:00
Nick Briggs
c2ee07f609
Replace Addr68k related macros with NativeAligned inline functions
2022-09-01 14:15:36 -07:00
Nick Briggs
a3b064b2b7
Replace Addr68k related macros with NativeAligned inline functions
2022-09-01 14:15:36 -07:00
Nick Briggs
bba1dd660f
Replace Addr68k related macros with NativeAligned inline functions
2022-09-01 14:15:36 -07:00