Main thread
- aesthread_entry() : 'aesthred'
- helpthread_entry(): 'XaSYS'
- CE_start_apps(): start accs, autorun and shell
- k_main(): AESSYS thread
- semaphore XA_SEM
- p_domain, setup_common
- install NAES cookie
- register trap 2
- call k_init for AES/VDI initialization
- get bootlog
- read inf (file xaaes.inf)
- I/O init for alerts
- open /dev/console
- init mouse
- start AES thread (aesthread_entry)
- start AES help thread (helpthread_entry)
- init mouse position
- change SETEXC
- redirect stderr
- start apps
- main loop (while not shutdown): fselect, keyboard input, alert input, redraw menu, do widgets, do delayed delete windows
- free semaphore, exit
Kernel side: keyboard, mouse and shutdown
Client side: keyboard, mouse and window
Core: messages, obtree, form, desktop and reclist