?? datasegpad.c
字號:
/* dataSegPad.c - padding for beginning of data segment *//* Copyright 1984-1991 Wind River Systems, Inc. */#include "copyright_wrs.h"/*modification history--------------------01c,19oct92,jcf change to include when INCLUDE_MMU_FULL defined.01b,28jul92,rdc changed PAGE_SIZE to VM_PAGE_SIZE.01a,21jul92,rdc written.*//*DESCRIPTIONThis module conditionally creates a data structure the size of one page;it is explicility listed as the first module on the load line when VxWorksis linked to insure that this data structure is the first item in thedata segment. This mechanism is needed to insure that the data segmentdoes not overlap a page that is occupied by the text segment; when textsegment protection is turned on, all pages that contain text are write protected. This insures that the data segment does not lie in a page thathas been write protected. If text segment protection has not been included,this module compiles into a null object module. In an embedded system, thismechanism may not be needed if the loader explicitly places the data segmentin a section of memory seperate from the text segment.*/#include "vxWorks.h"#include "config.h"#ifdef INCLUDE_MMU_FULL /* bootroms will not ref dataSegPad.o */char dataSegPad [VM_PAGE_SIZE] = {1};#endif /* INCLUDE_MMU_FULL */
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -