⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 dma.h

📁 The main purpose of this project is to add a new scheduling algorithm to GeekOS and to implement a s
💻 H
字号:
/* * 8237A DMA Controller Support * Copyright (c) 2003, David H. Hovemeyer <daveho@cs.umd.edu> * $Revision: 1.10 $ *  * This is free software.  You are permitted to use, * redistribute, and modify it as specified in the file "COPYING". */#ifndef GEEKOS_DMA_H#define GEEKOS_DMA_H#include <geekos/ktypes.h>enum DMA_Direction {    DMA_READ,    DMA_WRITE};void Init_DMA(void);bool Reserve_DMA(int chan);void Setup_DMA(enum DMA_Direction direction, int chan, void *addr, ulong_t size);void Mask_DMA(int chan);void Unmask_DMA(int chan);#endif  /* GEEKOS_DMA_H */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -