56 changes: 56 additions & 0 deletions 56 Algorithem/IDR/API/idr_init/Makefile Original file line numberDiff line numberDiff line change @@ -0,0 +1,56 @@ # # BiscuitOS # # (C) 2019.10.01 BuddyZhang1 <buddy.zhang@aliyun.com> # # This program is free software; you can ...
IDR_INIT[中文教程](https://biscuitos.github.io/blog/IDR_IDR_INIT/) --- Initialise an IDR. Context: *Driver Files: idr.c ##Usage Copy Driver Files into`/drivers/xxx/`, and modify Makefile on current directory, as follow: ``` obj-$(CONFIG_IDR_...
m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); 这句话作用是什么?对以后我程序编写有什么作用CMyDlg::CMyDlg(CWnd* pParent /*=NULL*/):CDialog(CMyDlg::IDD,pParent){//{{AFX_DATA_INIT(CMyDlg)//}}AFX_DATA_INIT// Note that LoadIcon does not require a subsequent DestroyIcon in Win32...
/* Initialise an IDR */ idr_init(&BiscuitOS_idr); /* proload for idr_alloc */ idr_preload(GFP_KERNEL); /* Allocate a id from IDR */ idr_array[0]=idr_alloc_cyclic(&BiscuitOS_idr,&node0,1, INT_MAX,GFP_ATOMIC); idr_array[1]=idr_alloc_cyclic(&BiscuitOS_idr,&node1,1, ...