Changeset 623 for trunk/kernel/mm/vseg.h
- Timestamp:
- Mar 6, 2019, 4:37:15 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/mm/vseg.h
r611 r623 4 4 * Authors Ghassan Almaless (2008,2009,2010,2011, 2012) 5 5 * Mohamed Lamine Karaoui (2015) 6 * Alain Greiner (2016 )6 * Alain Greiner (2016,2017,2018,2019) 7 7 * 8 8 * Copyright (c) UPMC Sorbonne Universites … … 35 35 36 36 /******************************************************************************************* 37 * This enum defines the vseg types for an user process. 37 * This enum defines the vseg types. 38 * Note : the KDATA and KDEV types are not used by the TSAR HAL, because the accesses 39 * to kernel data or kernel devices are done through the DATA extension address 40 * register, but these types are probably required by the I86 HAL [AG]. 38 41 ******************************************************************************************/ 39 42 40 43 typedef enum 41 44 { 42 VSEG_TYPE_CODE = 0, /*! executable user code / private / localized */ 43 VSEG_TYPE_DATA = 1, /*! initialized user data / public / distributed */ 44 VSEG_TYPE_STACK = 2, /*! execution user stack / private / localized */ 45 VSEG_TYPE_ANON = 3, /*! anonymous mmap / public / localized */ 46 VSEG_TYPE_FILE = 4, /*! file mmap / public / localized */ 47 VSEG_TYPE_REMOTE = 5, /*! remote mmap / public / localized */ 45 VSEG_TYPE_CODE = 0, /*! executable user code / private / localized */ 46 VSEG_TYPE_DATA = 1, /*! initialized user data / public / distributed */ 47 VSEG_TYPE_STACK = 2, /*! execution user stack / private / localized */ 48 VSEG_TYPE_ANON = 3, /*! anonymous mmap / public / localized */ 49 VSEG_TYPE_FILE = 4, /*! file mmap / public / localized */ 50 VSEG_TYPE_REMOTE = 5, /*! remote mmap / public / localized */ 51 52 VSEG_TYPE_KCODE = 6, /*! executable kernel code / private / localized */ 53 VSEG_TYPE_KDATA = 7, /*! initialized kernel data / private / localized */ 54 VSEG_TYPE_KDEV = 8, /*! kernel peripheral device / public / localized */ 48 55 } 49 56 vseg_type_t; … … 60 67 #define VSEG_PRIVATE 0x0010 /*! should not be accessed from another cluster */ 61 68 #define VSEG_DISTRIB 0x0020 /*! physically distributed on all clusters */ 62 #define VSEG_IDENT 0x0040 /*! identity mapping */63 69 64 70 /*******************************************************************************************
Note: See TracChangeset
for help on using the changeset viewer.