~ubuntu-branches/ubuntu/quantal/open-vm-tools/quantal-201210021442

« back to all changes in this revision

Viewing changes to lib/include/vm_basic_types.h

  • Committer: Package Import Robot
  • Author(s): Nate Muench
  • Date: 2012-06-20 15:59:51 UTC
  • mfrom: (1.4.8)
  • Revision ID: package-import@ubuntu.com-20120620155951-6rupmpb0f70b52zr
Tags: 2012.05.21-724730-0ubuntu1
* Merging upstream version 2012.05.21-724730.
  - Fixes building against the current Quantal kernel. (LP: #1000344)
  - Fixes Quantal installation issues. (LP: #1019031)

* Sync with Debian
  - Updating to debhelper version 9.
  - Updating to standards version 3.9.3.
  - Updating copyright file machine-readable format version 1.0.
  - Building without multiarch paths for now

Show diffs side-by-side

added added

removed removed

Lines of Context:
570
570
 * for any region other than buserror.
571
571
 */
572
572
#define PHYSMEM_MAX_PPN   ((PPN)0xffffffff)
573
 
#define MAX_PPN           ((PPN)0x1fffffff) /* Maximal observable PPN value. */
 
573
#define MAX_PPN           ((PPN)0x3fffffff) /* Maximal observable PPN value. */
574
574
#define INVALID_PPN       ((PPN)0xffffffff)
575
 
#define APIC_DISABLED_PPN ((PPN)0xfffffffe)
 
575
#define APIC_INVALID_PPN  ((PPN)0xfffffffe)
576
576
 
577
 
#define INVALID_BPN       ((BPN)0x1fffffff)
 
577
#define INVALID_BPN       ((BPN)0x3fffffff)
578
578
 
579
579
#define RESERVED_MPN      ((MPN) 0)
580
580
#define INVALID_MPN       ((MPN)-1)
587
587
#define INVALID_LPN64     ((LPN64)-1)
588
588
#define INVALID_PAGENUM   ((PageNum)-1)
589
589
 
 
590
#define INVALID_MPN64     ((MPN64)-1)
590
591
 
591
592
/*
592
593
 * Format modifier for printing VA, LA, and VPN.
700
701
#endif
701
702
 
702
703
/*
 
704
 * Used when a function has no effects except the return value and the
 
705
 * return value depends only on the parameters and/or global variables
 
706
 * Such a function can be subject to common subexpression elimination
 
707
 * and loop optimization just as an arithmetic operator would be. 
 
708
 */
 
709
 
 
710
#if defined(__GNUC__) && (defined(VMM) || defined (VMKERNEL))
 
711
#define SIDE_EFFECT_FREE __attribute__((__pure__))
 
712
#else
 
713
#define SIDE_EFFECT_FREE
 
714
#endif
 
715
 
 
716
/*
703
717
 * Attributes placed on function declarations to tell the compiler
704
718
 * that the function never returns.
705
719
 */