vm.h (95ee2897e98f5d444f26ed2334cc7c439f9c16c6) | vm.h (b7312c3df83df96662e83aaa0eaadda7ef66c8e3) |
---|---|
1/*- 2 * Copyright (c) 2009 Alan L. Cox <alc@cs.rice.edu> 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 14 unchanged lines hidden (view full) --- 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 */ 26 27#ifndef _MACHINE_VM_H_ 28#define _MACHINE_VM_H_ 29 30/* Memory attribute configuration. */ | 1/*- 2 * Copyright (c) 2009 Alan L. Cox <alc@cs.rice.edu> 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 14 unchanged lines hidden (view full) --- 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 */ 26 27#ifndef _MACHINE_VM_H_ 28#define _MACHINE_VM_H_ 29 30/* Memory attribute configuration. */ |
31#define VM_MEMATTR_DEVICE 0 | 31#define VM_MEMATTR_PMA 0 |
32#define VM_MEMATTR_UNCACHEABLE 1 | 32#define VM_MEMATTR_UNCACHEABLE 1 |
33#define VM_MEMATTR_WRITE_BACK 2 | 33#define VM_MEMATTR_DEVICE 2 |
34 | 34 |
35#define VM_MEMATTR_DEFAULT VM_MEMATTR_WRITE_BACK | 35#define VM_MEMATTR_WRITE_BACK VM_MEMATTR_PMA 36#define VM_MEMATTR_DEFAULT VM_MEMATTR_PMA |
36 | 37 |
38#define VM_MEMATTR_LAST VM_MEMATTR_DEVICE 39#define VM_MEMATTR_TOTAL (VM_MEMATTR_LAST + 1) 40 |
|
37#endif /* !_MACHINE_VM_H_ */ | 41#endif /* !_MACHINE_VM_H_ */ |