Patch from Andy Fiddaman <omnios@citrus-it.net>
Following the integration of '9641 want stack-clash mitigation', as_map()
now expects callback functions to be:
typedef int (*segcreate_func_t)(struct seg **, void *);
|
old
|
new
|
|
| 56 | 56 | static vnode_t s_segVBoxVnode; |
| 57 | 57 | |
| 58 | 58 | |
| 59 | | DECLINLINE(int) rtR0SegVBoxSolCreate(seg_t *pSeg, void *pvArgs) |
| | 59 | DECLINLINE(int) rtR0SegVBoxSolCreate(seg_t **ppSeg, void *pvArgs) |
| 60 | 60 | { |
| | 61 | seg_t *pSeg = *ppSeg; |
| 61 | 62 | struct as *pAddrSpace = pSeg->s_as; |
| 62 | 63 | PSEGVBOX_CRARGS pArgs = pvArgs; |
| 63 | 64 | PSEGVBOX_DATA pData = kmem_zalloc(sizeof(*pData), KM_SLEEP); |