-
Notifications
You must be signed in to change notification settings - Fork 7
/
boot.rc.webserver_multidomain
101 lines (80 loc) · 2 KB
/
boot.rc.webserver_multidomain
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
#
# JX boot configuration
#
#######################
# Global configuration
#######################
[Global]
InstallNaming = jx/init/InitNaming
#SecurityManagerLib = secmgr_impl.jll
#SecurityManagerClass = jx/secmgr/SecMgr
#######################
# Components
#######################
[Component PCI]
InitLib = pci_pc.jll
StartClass = jx/devices/pci/PCIGod
[Component Timer]
InitLib = timer_pc.jll
StartClass = timerpc/StartTimer
Args = TimerManager
[Component NetDevices]
InitLib = net_devices.jll
StartClass = jx/net/StartNetDevice
Args = NIC, eth0, 8:0:6:28:63:40
[Component NetProtos]
InitLib = net_protocols.jll
StartClass = jx/net/protocols/StartNetworkProtocols
Args = NIC, TimerManager, NET
#InheritThread = jx/net/protocol/tcp/TCPSocket
[Component TCPTest]
InitLib = test_net.jll
StartClass = test/net/StartTCPTest
Args = NET, 7
[Component WebServer]
InitLib = webserver.jll
StartClass = test/net/WebServer
#Args = -threads
Args = -fs, FS
#Args = -fs, FSF, -threads, -verbose
[Component BioRAM]
InitLib = test_fs.jll
StartClass = test/fs/BioRAMDomain
Args = BIOFS
[Component FS]
StartClass = test/fs/FSDomain
InitLib = test_fs.jll
Args = BIOFS, FS
[Component FSFormat]
StartClass = test/fs/FSDomain
InitLib = test_fs.jll
Args = BIOFS, FS, -format
#######################
# Domains
#######################
[Domain]
Name = "PCIDomain"
Scheduler = jx/scheduler/HLRRobin
HeapSize = 300000
CodeSize = 50000
Components = PCI
[Domain]
Name = "NicDomain"
HeapSize = 1000000
CodeSize = 50000
Components = Timer, NetDevices
[Domain]
Name = "NetDomain"
HeapSize = 3000000
CodeSize = 50000
Components = NetProtos
[Domain]
Name = "FS"
HeapSize = 3000000
CodeSize = 50000
Components = BioRAM, FSFormat
[Domain]
Name = "WebServer"
HeapSize = 5000000
CodeSize = 50000
Components = WebServer