Access Levels; Access Level Control Bus Registers - Motorola MC68020 User Manual

Table of Contents

Advertisement

9.8 ACCESS LEVELS

The MC68020/EC020 module mechanism supports a finer level of access control beyond
the distinction between user and supervisor privilege levels. The module mechanism
allows a module with limited access rights to call a module with greater access rights. With
the help of external hardware, the processor can verify that an increase in access rights is
allowable or can detect attempts by a module to gain access rights to which it is not
entitled.
Type $01 module descriptors and module stack frames indicate a request to change
access levels. While processing a type $01 descriptor or frame, the CALLM and RTM
instructions communicate with external access control hardware via accesses in the CPU
space. For these accesses, A19–A16 equal 0001. Figure 9-13 shows the address map for
these CPU space accesses. If the processor receives a bus error on any of these CPU
space accesses during the execution of a CALLM or RTM instruction, the processor will
take a format error exception.
31
$00
CAL
$04
ACCESS STATUS REGISTER
$08
IAL
$0C
DAL
$40
$44
$48
$4C
$50
$54
$58
$5C
Figure 9-13. Access Level Control Bus Registers
The current access level register (CAL) contains the access level rights of the currently
executing module. The increase access level register (IAL) is the register through which
the processor requests increased access rights. The decrease access level register (DAL)
is the register through which the processor requests decreased access rights. The formats
of these three registers are undefined to the main processor, but the main processor
assumes that information read from the module descriptor stack frame or the CAL can be
meaningfully written to the IAL or the DAL. The access status register allows the
processor to query the external hardware as to the legality of intended access level
transitions. Table 9-6 lists the valid values of the access status register.
9-18
24
23
FUNCTION CODE 0 DESCRIPTOR ADDRESS
FUNCTION CODE 1 DESCRIPTOR ADDRESS (USER DATA)
FUNCTION CODE 2 DESCRIPTOR ADDRESS (USER PROGRAM)
FUNCTION CODE 3 DESCRIPTOR ADDRESS
FUNCTION CODE 4 DESCRIPTOR ADDRESS (SUPERVISOR DATA)
FUNCTION CODE 5 DESCRIPTOR ADDRESS (SUPERVISOR PROGRAM)
FUNCTION CODE 6 DESCRIPTOR ADDRESS
FUNCTION CODE 7 DESCRIPTOR ADDRESS (CPU SPACE)
M68020 USER'S MANUAL
(UNUSED, RESERVED)
(UNUSED, RESERVED)
(UNUSED, RESERVED)
(UNUSED, RESERVED)
0
MOTOROLA

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mc68ec020

Table of Contents