📄 deviceprivs.h
字号:
#ifndef __DEVICEPRIVS_H__#define __DEVICEPRIVS_H__/* * Copyright (C) 2001, Jonathan S. Shapiro. * * This file is part of the EROS Operating System runtime library. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, 59 Temple Place - Suite 330 Boston, MA 02111-1307, USA. *//* Local Variables: *//* comment-column:34 *//* ORDER and RESULT code values: */#define OC_DevPrivs_AllocIRQ 1#define OC_DevPrivs_ReleaseIRQ 2#define OC_DevPrivs_EnableIRQ 3#define OC_DevPrivs_DisableIRQ 4#define OC_DevPrivs_WaitIRQ 5#define OC_DevPrivs_PublishMem 6#define RC_DevPrivs_AllocFail 1#ifndef __ASSEMBLER__uint32_t devprivs_allocIRQ(uint32_t krDevPrivs, uint32_t irq);uint32_t devprivs_releaseIRQ(uint32_t krDevPrivs, uint32_t irq);uint32_t devprivs_waitIRQ(uint32_t krDevPrivs, uint32_t irq);uint32_t devprivs_enableIRQ(uint32_t krDevPrivs, uint32_t irq);uint32_t devprivs_disableIRQ(uint32_t krDevPrivs, uint32_t irq);uint32_t devprivs_publishMem(uint32_t krDevPrivs, uint32_t begin, uint32_t end, uint32_t readOnly);#endif /* __ASSEMBLER__ */#endif /* __DEVICEPRIVS_H__ */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -