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

📄 datasegpad.c

📁 MPC8241:本程序是freescale的824*系列的BSP源程序
💻 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 + -