~ubuntu-branches/ubuntu/trusty/linux-linaro-omap/trusty

« back to all changes in this revision

Viewing changes to arch/tile/include/hv/hypervisor.h

  • Committer: Package Import Robot
  • Author(s): John Rigby, John Rigby
  • Date: 2011-09-26 10:44:23 UTC
  • Revision ID: package-import@ubuntu.com-20110926104423-57i0gl3v99b3lkfg
Tags: 3.0.0-1007.9
[ John Rigby ]

Enable crypto modules and remove crypto-modules from
exclude-module files
LP: #826021

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
 
23
23
#include <arch/chip.h>
24
24
 
25
 
#include <hv/pagesize.h>
26
 
 
27
25
/* Linux builds want unsigned long constants, but assembler wants numbers */
28
26
#ifdef __ASSEMBLER__
29
27
/** One, for assembler */
44
42
 */
45
43
#define HV_L1_SPAN (__HV_SIZE_ONE << HV_LOG2_L1_SPAN)
46
44
 
 
45
/** The log2 of the size of small pages, in bytes. This value should
 
46
 * be verified at runtime by calling hv_sysconf(HV_SYSCONF_PAGE_SIZE_SMALL).
 
47
 */
 
48
#define HV_LOG2_PAGE_SIZE_SMALL 16
 
49
 
47
50
/** The size of small pages, in bytes. This value should be verified
48
51
 * at runtime by calling hv_sysconf(HV_SYSCONF_PAGE_SIZE_SMALL).
49
52
 */
50
53
#define HV_PAGE_SIZE_SMALL (__HV_SIZE_ONE << HV_LOG2_PAGE_SIZE_SMALL)
51
54
 
 
55
/** The log2 of the size of large pages, in bytes. This value should be
 
56
 * verified at runtime by calling hv_sysconf(HV_SYSCONF_PAGE_SIZE_LARGE).
 
57
 */
 
58
#define HV_LOG2_PAGE_SIZE_LARGE 24
 
59
 
52
60
/** The size of large pages, in bytes. This value should be verified
53
61
 * at runtime by calling hv_sysconf(HV_SYSCONF_PAGE_SIZE_LARGE).
54
62
 */