Changeset ab0df696 in rtems for c/src/lib/libcpu/i386/cpu.h


Ignore:
Timestamp:
Aug 5, 1998, 3:15:46 PM (23 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
0e3c0096
Parents:
5094711
Message:

Automatic CPU type detection code from Eric Valette <valette@…>.
Enabled on the pc386.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libcpu/i386/cpu.h

    r5094711 rab0df696  
    1919 */
    2020
    21 #ifndef _i386_CPU_H
    22 #define _i386_CPU_H
     21#ifndef _LIBCPU_i386_CPU_H
     22#define _LIBCPU_i386_CPU_H
     23
     24#include <libcpu/registers.h>
     25
    2326
    2427#ifndef ASM
     
    6467    ); \
    6568    \
    66     _level = (_eflags & 0x0200) ? 0 : 1; \
     69    _level = (_eflags &  EFLAGS_INTR_ENABLE) ? 0 : 1; \
    6770  } while (0)
    6871
Note: See TracChangeset for help on using the changeset viewer.