📄 md.c
字号:
/* * i386/univel_svr4/md.c * Unixware i386 specific functions. * * Copyright (c) 1996, 1997 * Transvirtual Technologies, Inc. All rights reserved. * * See the file "license.terms" for information on usage and redistribution * of this file. */#include "config.h"#include "config-io.h"#include "config-mem.h"voidinit_md(void){#if defined(HAVE_MMAP) /* On NCR MP-RAS, address 0x0 to 0x1000 are mapped with PROT_READ so * NullPointerException are not handled correctly. * remap this range as PROT_NONE. * Edouard.Parmelan@France.NCR.COM */ { int fd; if ((fd = open("/dev/zero", O_RDONLY, 0)) != -1) { mmap(NULL, 0x1000, PROT_NONE, MAP_PRIVATE|MAP_FIXED, fd, 0); close(fd); } }#endif}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -