cpu-all.h (e74c0cfa57323e5806894c65086f411112168820) | cpu-all.h (f52bfb12143e29d7c8bd827bdb751aee47a9694e) |
---|---|
1/* 2 * defines common to all virtual CPUs 3 * 4 * Copyright (c) 2003 Fabrice Bellard 5 * 6 * This library is free software; you can redistribute it and/or 7 * modify it under the terms of the GNU Lesser General Public 8 * License as published by the Free Software Foundation; either --- 231 unchanged lines hidden (view full) --- 240#define PAGE_READ 0x0001 241#define PAGE_WRITE 0x0002 242#define PAGE_EXEC 0x0004 243#define PAGE_BITS (PAGE_READ | PAGE_WRITE | PAGE_EXEC) 244#define PAGE_VALID 0x0008 245/* original state of the write flag (used when tracking self-modifying 246 code */ 247#define PAGE_WRITE_ORG 0x0010 | 1/* 2 * defines common to all virtual CPUs 3 * 4 * Copyright (c) 2003 Fabrice Bellard 5 * 6 * This library is free software; you can redistribute it and/or 7 * modify it under the terms of the GNU Lesser General Public 8 * License as published by the Free Software Foundation; either --- 231 unchanged lines hidden (view full) --- 240#define PAGE_READ 0x0001 241#define PAGE_WRITE 0x0002 242#define PAGE_EXEC 0x0004 243#define PAGE_BITS (PAGE_READ | PAGE_WRITE | PAGE_EXEC) 244#define PAGE_VALID 0x0008 245/* original state of the write flag (used when tracking self-modifying 246 code */ 247#define PAGE_WRITE_ORG 0x0010 |
248/* Invalidate the TLB entry immediately, helpful for s390x 249 * Low-Address-Protection. Used with PAGE_WRITE in tlb_set_page_with_attrs() */ 250#define PAGE_WRITE_INV 0x0040 |
|
248#if defined(CONFIG_BSD) && defined(CONFIG_USER_ONLY) 249/* FIXME: Code that sets/uses this is broken and needs to go away. */ 250#define PAGE_RESERVED 0x0020 251#endif 252 253#if defined(CONFIG_USER_ONLY) 254void page_dump(FILE *f); 255 --- 93 unchanged lines hidden --- | 251#if defined(CONFIG_BSD) && defined(CONFIG_USER_ONLY) 252/* FIXME: Code that sets/uses this is broken and needs to go away. */ 253#define PAGE_RESERVED 0x0020 254#endif 255 256#if defined(CONFIG_USER_ONLY) 257void page_dump(FILE *f); 258 --- 93 unchanged lines hidden --- |