精华内容
下载资源
问答
  • Ion

    2019-10-28 19:54:23
    Ion
  • ion

    2021-03-16 14:02:32
    ion介绍: 十分简单易用的提供各种异步网络服务类库。 此类库基于AndroidAsync() 具体功能包括: 1. 异步下载: (1)下载图片 (用ImageViews 或者 Bitmaps显示); (2)下载JSON文件 (通过Gson解析); (3)...
  • 亚马逊Ion Go Go的Amazon Ion( )库 演示了一些简单的Amazon Ion用例的代码示例。 该软件包基于David Murray( )在上的工作。 离子团队非常感谢David对离子社区的贡献。 用户数 以下是一些使用Ion Go库的项目 ...
  • MRM-Ion Pair Finder v2.0在原始版本的基础上进行了改进,从而简化了程序并提高了运行效率。 使用Matlab语言(R2018b,64位)。 为了使更多的研究人员可以使用MRM离子对查找器,我们还提供了基于R的版本。 发展 MRM...
  • 该存储库包含一个名为ion-tests的,该保存ion-java的单元测试所使用的测试数据。 克隆ion-java存储库并初始化其ion-tests子模块的最简单方法是运行以下命令。 $ git clone --recursive ...
  • npm install ion-multi-picker --save 用法 基本的 1.将MultiPickerModule导入您的应用程序/模块。 import { MultiPickerModule } from 'ion-multi-picker' ; @ NgModule ( { declarations : [ MyApp , About...
  • 离子2位数字键盘 立即使用具有以下ID的尝试: c53c6c00 。 1-信息 版本:2.0 作者:Skol...将ion-digit-keyboard模块文件夹复制到您的项目中(例如,在src / components /下)。 将模块导入到app.module.ts中。 //
  • ION GNSS 2016论文集1

    2019-02-28 16:54:55
    ION2016GNSS论文集,省去你求文献时间。由于上传限制分三次上传,此压缩包为第一部分
  • ION是一个公共的,未经许可的,分散的标识符(DID)网络,该网络在比特币(作为``第2层''叠加层)上实现了与区块链无关的Sidetree协议,以大规模支持DIDs / DPKI(分散的公共密钥基础设施)。 重要说明: ION的...
  • ION GNSS 2016论文集2

    2019-02-28 16:56:50
    ION2016GNSS论文集,省去你求文献时间。由于上传限制分三次上传,此压缩包为第二部分
  • ion-select添加图片

    2019-03-09 14:09:25
    1.ionic中的ion-select标签添加图片 2.ion-select有四种显示方式,四种添加图片的代码示列 3.通过这个实列,你会在ionic中灵活应用css样式;还会学到javaScript的一些知识(如:获取Dom节点、获取html元素、自定义...
  • 施耐德PowerLogic ION E能源管理系统pdf,施耐德ION Enterprise 能源管理软件 1、系统结构  PowerLogic ION E能源管理系统采用分层、分布式结构设计,按间隔单元划分、模块 化设计,整个系统分为三层:系统管理层、...
  • ion-select-autocomplete是一个用于Ionic应用的单选或多选框。使用方法下载或者clone项目,并添加下面的代码[removed][removed]In JS$scope.optionList = [  {  label: 'India',  value: 'IND'  },  {...
  • 离子SFU 实施WebRTC选择性转发单元 是一种视频路由服务,它允许webrtc会话更有效地扩展。 该软件包提供了WebRTC SFU的简单,灵活,高性能的Go实现。 可以直接调用它,也可以通过或接口调用它。...
  • 每天为ION主网和testnet网络生成bootstrap.dat文件。 用法 下载并解压缩以下链接之一 将bootstrap.dat放在ION Core数据目录的根目录中 Linux: ~/.ioncoin/ Mac: ~/Library/Application Support/ioncoin/ Windows...
  • Cesium ion 官网的示例文件AGI_HQ.zip You can upload your own data to Cesium ion and tile it into 3D Tiles, an open specification for streaming massive heterogeneous 3D geospatial datasets. For this ...
  • ION API文档 ION仍在大量开发中,因此该API可能会在1.0版本之前进行更改。 验证 当前,ION支持HTTP基本身份验证和每用户令牌身份验证。 您只需要在请求中添加适当的Authorization标头即可: Authorization: Basic ...
  • 如Internet RFC 4838中所述,星际覆盖网络(ION)软件分发是耐延迟网络(DTN)架构的一种实现,旨在在包括航天飞机飞行计算机在内的嵌入式环境中使用。 ION 版本 4.0.2(默认构建 BPv7)和 3.7.3(默认构建 BPv6)都...
  • ion.rangeSlider整理文档

    2019-03-29 10:23:22
    运用ion.rangeSlider实现进度条效果,资源为使用的ion.rangeSlider的文档;
  • LOIC这个工具可以通过发送UDP,TCP或HTTP到等请求,进行测试网站性能与负载。非常高效好用。
  • bower install ion-tree-list --save 在您的HEAD标签中添加: [removed][removed] 或者从项目中获取它: : 。 您需要添加ion-tree-list作为对Ionic应用程序的依赖项: angular.module('starter', [ 'ionic', '...
  • matlab代码SDRupdate_ION_ITM_2011-VLLtracking 代码来自 SDR 代码 - VLL 跟踪 完全独立于更新的模块,已经完成了在 Matlab SDR 代码框架内实现“矢量跟踪”的工作。 这是基于赵思豪博士在科罗拉多大学博尔德分校...
  • ion-sdk-react-源码

    2021-05-30 21:52:36
    Alpha 质量警告 ...BroadcastContext:提供对ion-sdk-js LocalStream的访问以进行广播 可重复使用的离子组件src/components/ <IonProvider> :将您的组件包装在 IonProvider 中以启用useIon()钩子 ...
  • Ion . connect url : 'redis://127.0.0.1:6379/0' 任何ORM都可以。 只要您可以挂钩它来更新Ion的索引,就可以了。 require 'ohm/contrib' class Album < Ohm :: Model include Ion :: Entity include Ohm ::...
  • 施耐德ION8600型智能电表用户手册
  • Ion 后端的前端 sdk。 安装 npm install ion-sdk-js 用法 import { Client , LocalStream , RemoteStream } from 'ion-sdk-js' ; import { IonSFUJSONRPCSignal } from 'ion-sdk-js/lib/signal/json-rpc-impl' ; ...
  • ionic入门教程第十一课-简要说明ion-list、ion-item完成列表页ion-infinite-scroll上拉加载ion-refresher下拉刷新-附件资源
  • ION

    2017-08-27 17:38:31
    Android ION overview ION is the memory manager of Android, it could be used by graphic and multimedia stacks to allocate buffers. ION include a buffer sharing mechanism between process and drive

    Android ION overview

    ION is the memory manager of Android, it could be used by graphic and multimedia stacks to allocate buffers.

    ION include a buffer sharing mechanism between process and drivers.

    ION define opaque handles to manage underline buffers.

    ION handles are only map in kernel if that is needed by drivers, it help to save logical address space.

    In a same way ION handles aren't mmaped by default in userland but all helpers functions are provided.

    ION files

    In an Android kernel you can found ION files here:

    • include/linux/ion.h
    • drivers/gpu/ion/*

    ION architecture

    ION define different type of heaps:

    • ION_HEAP_TYPE_SYSTEM : memory allocated via vmalloc
    • ION_HEAP_TYPE_SYSTEM_CONTIG: memory allocated via kmalloc
    • ION_HEAP_TYPE_CARVEOUT: memory allocated from a prereserved carveout heap, allocations are physically contiguous
    • ION_HEAP_TYPE_CHUNK
    • ION_HEAP_TYPE_DMA: memory allocated via DMA API

    ION architecture diagram

    diagram generated from this file

    Heaps could be defined in board configuration file with those structures:

    /**
     * struct ion_platform_heap - defines a heap in the given platform
     * @type:       type of the heap from ion_heap_type enum
     * @id:         unique identifier for heap.  When allocating higher numbers
     *              will be allocated from first.  At allocation these are passed
     *              as a bit mask and therefore can not exceed ION_NUM_HEAP_IDS.
     * @name:       used for debug purposes
     * @base:       base address of heap in physical memory if applicable
     * @size:       size of the heap in bytes if applicable
     * @align:      required alignment in physical memory if applicable
     * @priv:       private info passed from the board file
     *
     * Provided by the board file.
     */
    struct ion_platform_heap {
            enum ion_heap_type type;
            unsigned int id;
            const char *name;
            ion_phys_addr_t base;
            size_t size;
            ion_phys_addr_t align;
            void *priv;
    };
    
    /**
     * struct ion_platform_data - array of platform heaps passed from board file
     * @nr:         number of structures in the array
     * @heaps:      array of platform_heap structions
     *
     * Provided by the board file in the form of platform data to a platform device.
     */
    struct ion_platform_data {
            int nr;
            struct ion_platform_heap *heaps;
    };

    Multiple heaps of each type could be instantiated, and unique ID is used to distinguish and order them.

    ION client could select which type of heaps they want to use by setting the correct heap mask when calling ion_alloc. The first heap (i.e. the heap with the lowest ID) is used to do the allocation.

    If an ION client want to be more selective it could specify exactly which heap(s) to use (or not) with "flags" parameter of ion_alloc.

    ION APIs

    Userland API

    ioctl are defined to interact with application in userland:

    • ION_IOC_ALLOC: allocate memory
    • ION_IOC_FREE: free memory
    • ION_IOC_MAP: get a file descriptor to mmap
    • ION_IOC_SHARE: creates a file descriptor to use to share an allocation
    • ION_IOC_IMPORT: imports a shared file descriptor
    • ION_IOC_CUSTOM: call architecture specific ion ioctl
    • ION_IOC_SYNC - syncs a shared file descriptors to memory

    ION_IOC_MAP and ION_IOC_SHARE are using the same code inside ION core.

    A suggestion could be to use only ION_IOC_SHARE to avoid any possible confusion with real map or mmap operations.

    Kernel API

    Kernel drivers can register themself as "client" of ION and specify with a mask which type of heap(s) they want to use:

    • ion_client_create: allocate a client and returns it
    • ion_client_destroy: free's a client and all it's handles

    Buffer allocation and release functions:

    • ion_alloc: allocate ion memory, it return an opaque handle it
    • ion_free: free a handle

    ION use opaque handle to manipulate buffers, drivers must be able to get access to the underline buffer, ION provide lot of function for that:

    • ion_phys: returns the physical address and len of a handle
    • ion_map_kernel: create mapping for the given handle
    • ion_unmap_kernel: destroy a kernel mapping for a handle
    • ion_map_dma: create a dma mapping for a given handle, return an sglist
    • ion_unmap_dma: destroy a dma mapping for a handle

    Instead of share a buffer address between drivers ION allow to use handles, the same mechanism could be used to share buffer between process in useland:

    • ion_share: given a handle, obtain a buffer to pass to other clients
    • ion_import: given an buffer in another client, import it
    • ion_import_fd: given an fd obtained via ION_IOC_SHARE ioctl, import it

    Heap API

    Heap interface is describe in drivers/gpu/ion/ion_priv.h file.

    This API is not exported to drivers or userland.

    /**
     * struct ion_heap_ops - ops to operate on a given heap
     * @allocate:           allocate memory
     * @free:               free memory
     * @phys                get physical address of a buffer (only define on physically contiguous heaps)
     * @map_dma             map the memory for dma to a scatterlist
     * @unmap_dma           unmap the memory for dma
     * @map_kernel          map memory to the kernel
     * @unmap_kernel        unmap memory to the kernel
     * @map_user            map memory to userspace
     */
    struct ion_heap_ops {
            int (*allocate) (struct ion_heap *heap, struct ion_buffer *buffer, unsigned long len,unsigned long align, unsigned long flags);
            void (*free) (struct ion_buffer *buffer);
            int (*phys) (struct ion_heap *heap, struct ion_buffer *buffer, ion_phys_addr_t *addr, size_t *len);
            struct scatterlist *(*map_dma) (struct ion_heap *heap, struct ion_buffer *buffer);
            void (*unmap_dma) (struct ion_heap *heap, struct ion_buffer *buffer);
            void * (*map_kernel) (struct ion_heap *heap, struct ion_buffer *buffer);
            void (*unmap_kernel) (struct ion_heap *heap, struct ion_buffer *buffer);
            int (*map_user) (struct ion_heap *mapper, struct ion_buffer *buffer, struct vm_area_struct *vma);
    };

    ION debug

    ION provided a debugfs interface in /sys/kernel/debug/ion/ directory.

    Each heap has it own debugfs entry where clients memory usage is displayed: /sys/kernel/debug/ion/<<heap name>>

    $cat /sys/kernel/debug/ion/ion-heap-1 
              client              pid             size
            test_ion             2890            16384

    Each client identify by pid have also a debugfs entry: /sys/kernel/debug/ion/<<pid>> where memory usage displayed.

    $cat /sys/kernel/debug/ion/2890 
           heap_name:    size_in_bytes
          ion-heap-1:    40960 11
    展开全文
  • qcom ION-SMMU实现

    2019-01-11 14:49:26
    qcom的ION,SMMU实现流程,已经DTS文件对应关系。不知道怎么搞的把下载所需积分改小后,系统会自动把积分改回来,如果觉得积分太多就联系我吧

空空如也

空空如也

1 2 3 4 5 ... 20
收藏数 30,075
精华内容 12,030
关键字:

ion