Table of Contents
OS2Server Guide and Reference
Introduction
Goal of OS2Server server is a provide OS/2 Personality on top of L4 microkernel. OS2Server is isolation layer of OS/2 application from another personalities and L4 microkernel itself.
How it organized
OS2Server consist of:
- Configuration file parser
- Set of interfaces to kernel and various servers required to implement OS/2 Personality API
OS2Server uses file provider interface to load config.sys and parses it. While parsing is in progress server loop active already because parsing work in separate thread. Parser thread also starts all RUN and CALL applications pointed in CONFIG.SYS and last task it executes is a PROTSHELL task. CONFIG.SYS stataments processed in folowing way:
- Skip all BASEDEV stataments
- Skip all DEVICE stataments
- Skip all IFS stataments
- Generate environment according SET stataments
- Execute all applications pointed by CALL statament
- Execute all applications pointed by RUN statament
- Execute application pointed by PROTSHELL statament
Configuration
OS2Server and OS/2 Personality environment configured via text config file named CONFIG.SYS. CONFIG.SYS mostly same as in original OS/2 except some osFree specific things. As example, IFS, BASEDEV and DEVICE statament are ignored because all drivers works in Neutral Personality. Also, additional stataments are supported, like DRIVEMAPPING statament which maps drive letters to Neutral Personality Virtual File System (L4VFS). Here is list of all CONFIG.SYS stataments and variables (most of them not supported yet if no any description of statament here):
- AUTOFAIL
- BUFFERS
- CALL Executes corresponding applications which pointed by this statament.
- CLOCKSCALE
- CLOSEFILES
- CODEPAGE
- COUNTRY
- DEVINFO_KBD
- DEVINFO_VIO
- DISKCACHE
- DLLBASING
- DUMPPROCESS
- EARLYMEMINIT
- FAKEISS
- I13PAGES
- IBM_JAVA_OPTIONS
- IOPL
- IROPT
- JAVANOFPK
- LASTDRIVE
- LDRSTACKOPT
- LIBPATH
- MAXWAIT
- MEMMAN
- MODE
- NDWTIMER
- PAUSEONERROR
- PRINTMONBUFSIZE
- PRIORITY
- PRIORITY_DISK_IO
- PROTECTONLY
- PROTSHELL statament containg name of main OS/2 task which executed on OS/2 Personality startup. It can be command line processor, GUI, task manager or any other task which will be starting point for other tasks.
- RASKDATA
- REIPL
- REMOTE_INSTALL_STATE
- RESERVEDRIVELETTER
- RUN Start during startup VIO (not PM) programs after all device statements.
- SETBOOT
- SOURCEPATH
- STRACE
- SUPPRESSPOPUPS
- SWAPPATH
- SXFAKEHWFPU
- SYSDUMP
- THREADS
- TIMESLICE
- TRACE
- TRACEBUF
- TRAPDUMP
- TRAPLOG
- TRUEMODE
- VIRTUALADDRESSLIMIT
- VME
- WORKPLACE_NATIVE
- WORKPLACE_PRIMARY_CP
- WORKPLACE_PROCESS
- WP_OBJHANDLE
In addition to CONFIG.SYS file OS2Server supports some set of command line arguments:
- -s, –server (default=BMODFS) file provider name which used to load CONFIG.SYS
- -n, –name (default=config.sys) file name of configuration file. It can be not CONFIG.SYS, but any pointed here file
Interfaces
interface os2server { }
os2server execution via l4vfs
title = os2server demo (l4vfs) kernel = $(ROOT)/bootstrap -serial modaddr 0x02000000 module = $(ROOT)/$(ABI)/fiasco -nowait -nokdb -serial -jdb_never_stop -tbuf_entries=32768 -jdb_cmd=JH module = $(ROOT)/$(ABI)/sigma0 module = $(ROOT)/$(ABI)/roottask \ task modname "l4io" boot_priority 0xC0 \ task modname "sigma0" boot_priority 0xA0 \ task modname "roottask" boot_priority 0xA0 \ task modname "log" boot_priority 0xC0 \ task modname "simple_file_server" attached 8 modules module = $(ROOT)/$(ABI)/names module = $(ROOT)/$(ABI)/log module = $(ROOT)/$(ABI)/dm_phys module = $(ROOT)/$(ABI)/simple_ts -t 300 module = $(ROOT)/$(ABI)/rtc module = $(ROOT)/$(ABI)/l4io --noirq module = $(ROOT)/$(ABI)/name_server -p module = $(ROOT)/$(ABI)/simple_file_server -v 12 module = $(ROOT)/$(ABI)/libloader.s.so libloader.s.so module = $(CFG)/os2-l4vfs.cfg os2-l4vfs.cfg module = $(ROOT)/$(ABI)/con_demo1 con_demo1 module = $(ROOT)/$(ABI)/con_demo2 con_demo2 module = $(ROOT)/$(ABI)/con_demo3 con_demo3 module = $(ROOT)/$(ABI)/os2server os2server module = $(CFG)/config.sys config.sys module = $(ROOT)/$(ABI)/VioWrtTTY_test VioWrtTTY_test module = $(ROOT)/$(ABI)/fstab -v 12 -b / -m /sfs module = $(ROOT)/$(ABI)/fprov_proxy module = $(ROOT)/$(ABI)/l4con --l4io module = $(ROOT)/$(ABI)/l4exec module = $(ROOT)/$(ABI)/loader --fprov=fprov_proxy_fs /sfs/os2-l4vfs.cfg vbeset 0x111 # cfg_os2 verbose 0 modpath "/sfs" sleep 0 task "con_demo1" "" priority 0xA0 task "con_demo2" "" priority 0xA0 task "con_demo3" "" priority 0xA0 task "os2server" "--server fprov_proxy_fs --name /sfs/config.sys" priority 0xA0 config.sys: PROTSHELL=/sfs/VioWrtTTY_test
Discussion
Struggling with low website leads for Osfree? This short video shows how our AI can boost your traffic: https://www.youtube.com/watch?v=0vQRdhaE2j8
Tired of low website leads? Our AI-driven service delivers targeted traffic to grow your business. Test it with a 7-day free trial.
https://cutt.ly/brEVvJyX
Working to energize your website traffic? Our AI-driven tool attracts custom website traffic using keywords or location zones from countries to towns. Seeking higher earnings, boosted visitors, or stronger online reach? We fine-tune it to suit your strategy. Enjoy a 7-day free trial period with no contract. Join now:
https://cutt.ly/MrRRGFMv
Not getting enough leads for Osfree? Check out this video to see our AI traffic solution in action: https://www.youtube.com/watch?v=0vQRdhaE2j8
Is your website missing out on traffic? Our AI service brings in targeted visitors to lift your conversions. Try it free for 7 days.
https://cutt.ly/yrT4cwWH
Not getting enough leads for Osfree? Check out this video to see our AI traffic solution in action: https://www.youtube.com/watch?v=0vQRdhaE2j8
Not getting enough leads for Osfree? Check out this video to see our AI traffic solution in action: https://www.youtube.com/watch?v=0vQRdhaE2j8
Boost your Osfree website’s traffic with AI! Watch this to learn more: https://www.youtube.com/watch?v=0vQRdhaE2j8
Want more targeted traffic to your website? Our AI solution delivers real results. Sign up for a 7-day free trial.
https://cutt.ly/BrUA8wJK
Finding it hard to draw the right website traffic? Our AI-enhanced tool unlocks perfect visitors using keywords plus location filters from continents to local areas. Desiring more earnings, engaged website traffic, or wider digital reach? We fine-tune it to meet your strategy. Enjoy a 7-day free trial period with no contract. Start here:
https://cutt.ly/9rU1sqKX
Struggling to get the right visitors to your site? Our AI-driven traffic service can change that. Try it risk-free for 7 days.
https://cutt.ly/BrUA8wJK
Low on website traffic? Our AI-driven service brings targeted visitors to skyrocket your leads. Start your 7-day free trial today.
https://cutt.ly/frUA8saw
Ready to supercharge your website audience? Our smart AI technology brings tailored website traffic via keywords or place-based filters from global areas to towns. Aiming at increased earnings, livelier website traffic, or a stronger digital presence? We shape it to match your objectives. Enjoy a 7-day free trial period with no contract. Join here:
https://cutt.ly/arIOAr3F
Struggling to attract the right leads? Our AI-powered traffic solution can help. Start with a no-risk 7-day free trial.
https://cutt.ly/8rI41CWI
Save big with our AI-driven service, providing location-targeted traffic at a fraction of the cost of paid advertising platforms. Contact us to begin.
https://ow.ly/i27B50WrhbV
Ready to drive targeted visitors to your Osfree site? This quick video explains how our AI works: https://www.youtube.com/watch?v=0vQRdhaE2j8
Attract high-intent, keyword and location-targeted traffic with our AI-driven service, far more affordable than paid advertising. Connect with us today.
https://ow.ly/G4n650WtYPy
Ready to supercharge your website audience? Our smart AI technology attracts targeted website traffic using keywords plus geographic targeting from global areas to towns. Looking for more revenue, active engagement, or wider web reach? We adjust it to match your objectives. Enjoy a 7-day free trial period with no contract. Join here:
https://ow.ly/ffIb50WvEru
Discover how our AI can skyrocket your Osfree website leads in this quick video: https://www.youtube.com/watch?v=0vQRdhaE2j8
Grow your website’s reach with our AI-driven traffic service, significantly cheaper than traditional paid advertising. Contact us to see the impact.
https://ow.ly/TB8b50WvgAv
Needing to tap into fresh website traffic? Our AI platform pulls targeted visitors using keywords or geographic targeting from countries to neighborhoods. Looking for more sales, livelier users, or wider web presence? We adapt it to your goals. Enjoy a 7-day free trial period with no contract. Start now:
https://ow.ly/SckO50WvErE
Drive keyword and location-targeted traffic to your website with our AI-powered service, costing much less than paid ads. Contact us to start growing your audience.
https://ow.ly/HTJT50Wy1Xy
Wanting to elevate your website’s audience? Our intelligent AI delivers custom visitors using keywords with location-based precision from continents to local spots. Desiring more profits, dynamic pages, or expanded web presence? We tailor it to align with your goals. Enjoy a 7-day free trial period with no contract. Dive in here:
https://ow.ly/ymSW50WvgxX
Our AI-powered traffic solution delivers engaged visitors to your website, all at a budget-friendly price compared to costly paid ads. Let’s drive results today.
https://ow.ly/MmgB50WvgzO
Unlock more targeted leads with our AI! Watch this short video to get started: https://www.youtube.com/shorts/A8YPkXQq4EY