cpuinfo.pas 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. {
  2. $Id$
  3. Copyright (c) 1998-2000 by Florian Klaempfl
  4. Basic Processor information
  5. This program is free software; you can redistribute it and/or modify
  6. it under the terms of the GNU General Public License as published by
  7. the Free Software Foundation; either version 2 of the License, or
  8. (at your option) any later version.
  9. This program is distributed in the hope that it will be useful,
  10. but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. GNU General Public License for more details.
  13. You should have received a copy of the GNU General Public License
  14. along with this program; if not, write to the Free Software
  15. Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  16. ****************************************************************************
  17. }
  18. Unit CPUInfo;
  19. {$i defines.inc}
  20. Interface
  21. Type
  22. AWord = QWord;
  23. { this must be an ordinal type with the same size as a pointer }
  24. { to allow some dirty type casts for example when using }
  25. { tconstsym.value }
  26. TPointerOrd = longint;
  27. Const
  28. { Size of native extended type }
  29. extended_size = 10;
  30. c_countusableregsint = 95;
  31. c_countusableregsfpu = 95;
  32. c_countusableregsmm = 0;
  33. c_countusableregsqp = 48;
  34. Implementation
  35. end.
  36. {
  37. $Log$
  38. Revision 1.3 2002-04-07 13:42:40 carl
  39. - moved type constant
  40. Revision 1.2 2001/01/05 17:36:58 florian
  41. * the info about exception frames is stored now on the stack
  42. instead on the heap
  43. Revision 1.1 2000/12/31 16:54:19 florian
  44. + initial revision
  45. }