1 |
/* VM page. |
/* VM page. |
2 |
Copyright 1999, 2000, 2001 Johan Rydberg, jrydberg@opencores.org. |
Copyright 1999, 2000, 2001, 2002 Johan Rydberg, jrydberg@opencores.org. |
3 |
|
|
4 |
This program is free software; you can redistribute it and/or modify |
This program is free software; you can redistribute it and/or modify |
5 |
it under the terms of the GNU General Public License as published by |
it under the terms of the GNU General Public License as published by |
143 |
|
|
144 |
extern void vm_page_copy (struct vm_page *dst_page, struct vm_page *src_page); |
extern void vm_page_copy (struct vm_page *dst_page, struct vm_page *src_page); |
145 |
|
|
146 |
|
/* Allocate a fictitious page. We returned page have no |
147 |
|
physical page assigned. On failure NULL is returned. */ |
148 |
|
|
149 |
|
extern struct vm_page *vm_page_fictitious_allocate (void); |
150 |
|
|
151 |
|
/* Assign a physical address, PA, to PAGE. */ |
152 |
|
|
153 |
|
extern void vm_page_assign (struct vm_page *page, vm_offset_t pa); |
154 |
|
|
155 |
#endif /* vm-page.h */ |
#endif /* vm-page.h */ |