| 4174 | } |
| 4175 | |
| 4176 | void initramboard(addrbank *ab, struct ramboard *rb) |
| 4177 | { |
| 4178 | ab->flags &= ~ABFLAG_NODMA; |
| 4179 | if (rb->nodma) |
| 4180 | ab->flags |= ABFLAG_NODMA; |
| 4181 | if (!ab->baseaddr) |
| 4182 | return; |
| 4183 | loadboardfile(ab, &rb->lf); |
| 4184 | if (rb->readonly) { |
| 4185 | ab->lput = empty_put; |
| 4186 | ab->wput = empty_put; |
| 4187 | ab->bput = empty_put; |
| 4188 | ab->jit_write_flag = 0; |
| 4189 | } |
| 4190 | } |
| 4191 | |
| 4192 | |
| 4193 | /* memory helpers */ |
no test coverage detected