diff options
| author | Richard Brooksby | 2013-05-02 17:55:07 +0100 |
|---|---|---|
| committer | Richard Brooksby | 2013-05-02 17:55:07 +0100 |
| commit | 1bc62b27ef66fc2fea1d4d83648ea0176708d83e (patch) | |
| tree | c941ecbf6f5e461a73c2f4fe486220129d0b8b5a /mps/code/vmix.c | |
| parent | 8d00f8dbefd79df749527f66315b445bf1c94070 (diff) | |
| download | emacs-1bc62b27ef66fc2fea1d4d83648ea0176708d83e.tar.gz emacs-1bc62b27ef66fc2fea1d4d83648ea0176708d83e.zip | |
First draft of keyword arguments. mainly checking in in order to try working with git fusion on this branch.
Copied from Perforce
Change: 181538
ServerID: perforce.ravenbrook.com
Diffstat (limited to 'mps/code/vmix.c')
| -rw-r--r-- | mps/code/vmix.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/mps/code/vmix.c b/mps/code/vmix.c index bc26b647dc8..f5b8aa681b3 100644 --- a/mps/code/vmix.c +++ b/mps/code/vmix.c | |||
| @@ -98,9 +98,12 @@ Bool VMCheck(VM vm) | |||
| 98 | } | 98 | } |
| 99 | 99 | ||
| 100 | 100 | ||
| 101 | Res VM | ||
| 102 | |||
| 103 | |||
| 101 | /* VMCreate -- reserve some virtual address space, and create a VM structure */ | 104 | /* VMCreate -- reserve some virtual address space, and create a VM structure */ |
| 102 | 105 | ||
| 103 | Res VMCreate(VM *vmReturn, Size size) | 106 | Res VMCreate(VM *vmReturn, Size size, mps_arg_s args[]) |
| 104 | { | 107 | { |
| 105 | Align align; | 108 | Align align; |
| 106 | VM vm; | 109 | VM vm; |
| @@ -109,6 +112,8 @@ Res VMCreate(VM *vmReturn, Size size) | |||
| 109 | Res res; | 112 | Res res; |
| 110 | 113 | ||
| 111 | AVER(vmReturn != NULL); | 114 | AVER(vmReturn != NULL); |
| 115 | AVERT(Arg, args); | ||
| 116 | UNUSED(args); | ||
| 112 | 117 | ||
| 113 | /* Find out the page size from the OS */ | 118 | /* Find out the page size from the OS */ |
| 114 | pagesize = getpagesize(); | 119 | pagesize = getpagesize(); |