cpuinfo.pas 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. {
  2. Copyright (c) 1998-2002 by the Free Pascal development team
  3. Basic Processor information for the Generic CPU
  4. This file is used by PPUDump program from utils subdirectory.
  5. See the file COPYING.FPC, included in this distribution,
  6. for details about the copyright.
  7. This program is distributed in the hope that it will be useful,
  8. but WITHOUT ANY WARRANTY; without even the implied warranty of
  9. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  10. **********************************************************************}
  11. Unit CPUInfo;
  12. Interface
  13. uses
  14. globtype;
  15. Type
  16. bestreal = extended;
  17. ts32real = single;
  18. ts64real = double;
  19. ts80real = type extended;
  20. ts128real = type extended;
  21. ts64comp = comp;
  22. pbestreal=^bestreal;
  23. { possible supported processors for this target }
  24. tcputype =
  25. (cpu_none
  26. );
  27. Type
  28. tfputype =
  29. (fpu_none,
  30. fpu_soft
  31. );
  32. tcontrollertype =
  33. (ct_none
  34. );
  35. Const
  36. { Is there support for dealing with multiple microcontrollers available }
  37. { for this platform? }
  38. ControllerSupport = false;
  39. { We know that there are fields after sramsize
  40. but we don't care about this warning }
  41. {$PUSH}
  42. {$WARN 3177 OFF}
  43. embedded_controllers : array [tcontrollertype] of tcontrollerdatatype =
  44. (
  45. (controllertypestr:''; controllerunitstr:''; flashbase:0; flashsize:0; srambase:0; sramsize:0));
  46. {$POP}
  47. cputypestr : array[tcputype] of string[8] = ('none');
  48. fputypestr : array[tfputype] of string[6] = ('none','soft');
  49. Implementation
  50. end.