intr_disable();
- if (machine.protected) {
+ if (machine.prot) {
/* The AT and newer PS/2 have two interrupt controllers, one master,
* one slaved at IRQ 2. (We don't have to deal with the PC that
* has just one controller, because it must run in real mode.)
phys_bytes base;
struct segdesc_s *segdp;
- if (! machine.protected) {
+ if (! machine.prot) {
base = hclick_to_physb(seg);
} else {
segdp = &gdt[seg >> 3];
* address, for use by a driver doing memory I/O in the A0000 - DFFFF range.
*/
#if _WORD_SIZE == 2
- if (! machine.protected) {
+ if (! machine.prot) {
*seg = phys / HCLICK_SIZE;
*off = phys % HCLICK_SIZE;
} else {
phys_bytes data_bytes;
int privilege;
- if (machine.protected) {
+ if (machine.prot) {
data_bytes = (phys_bytes) (rp->p_memmap[S].mem_vir +
rp->p_memmap[S].mem_len) << CLICK_SHIFT;
if (rp->p_memmap[T].mem_len == 0)
* done below.
*/
#if _WORD_SIZE != 2
- machine.protected = 1;
+ machine.prot = 1;
#endif
/* Record where the kernel and the monitor are. */
*/
machine.processor=atoi(get_value(params, "processor"));
#if _WORD_SIZE == 2
- machine.protected = machine.processor >= 286;
+ machine.prot = machine.processor >= 286;
#endif
- if (! machine.protected) mon_return = 0;
+ if (! machine.prot) mon_return = 0;
/* XT, AT or MCA bus? */
value = get_value(params, "bus");