HW 2
HW 2
HW 2
B 104020046 單業儒
System calls allow usor processes to
other processes .
1
PThe system is easiertodebugand
modify because changes affect only
limited sections of the
system rather
than all sections
touching ,
Information iskeptonlywhereitis
needed and is accessible only within
a defined and restricted area soany ,
41
|
registers .
3
Parameters can beput ( pushed )
indnstackbytheprogramypoppedbytheOs #
'
Advantages :
Fase of Adding New Device Drivers :
manner .
Additionally
Disadvantage : 1
ioct1
operations are used These provide a .
standard
way for processes toaccess
specific device functions beyond what the
file aicess API offers .
。
Ahead -
of -
time ( AOT) compilation is the
compilation of Java code when it isinstalled
on the device .
This is a
timeandenergy
crucial for mobile
saving strategy that is
devices
#
.
Two models of interprocess ommunication :
1
Suitable for
exchanging smaller amounts
of data No need to avoid conflicts
.
.
However problems
,
with protection and
between processes
bynchronization sharing
memor exist ,
Separating mechanism and policy means
keeping how things are
'
4
Encapsulation By keeping mechanism and policy separate
:
, you hide the
complex details , making the system easier to work with
and
modify .
EX : Cousider the file system and the
memory management system .
2
Effcieny: Only necessarymodulesareloaded, saving
memory and improvingperformance
3
rangeofhardwareandfeafures
Scalability: Supportsa wide
without overloading the core Kernel ,
4
Ease to Develope Developers can workindependentlyon
:
features ,
5
Isolation :
If a module has issues , it can beunloaded
without affecting system stability ,
Pros of the Synthesis Approach :
Optimired Performance :
'
Decreased Modularity : This approach
goes againstthelayered
design philosophy making it harder to
,
2
Increased Complexity Directly
integrating an assembler into
:
the
Kernel adds complexity to the design