?? readme
字號:
larg_mem.o:=============Example of allocating large amounts of memory at boot time - to use this you must edit the larg_mem.c program and adjust memstart memend to the valuesyou pass to the kernel in the mem= line and the physical memory installedthe defaults in the example here assumes that you passed mem=96Mat the kernel boot prompt and have 128MB installed, giving you 32MB that you can use for RTLinux.On a 128MB box with mem=96 cat /proc/meminfo should show something like total: used: free: shared: buffers: cached:Mem: 97411072 90025984 7385088 0 10190848 58822656All this example will do (whith the default settings) is fill up these 32MB with the index of the (unsigned long) large location . Module options: memstart=BYTE_OFFSET physical address at which reserved memory starts memlength=BYTES length of memory block to reserve period=MICROSECONDS period of the main looplarg_stack.o:============= Example of setting up a large stack (default is 20k) by kmalloc'ing a larger chunk and assigning it to the thread via the attribute structure.
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -