vtophys.hh (3804:fa7a01dddc7a) vtophys.hh (4070:74449a198a44)
1/*
2 * Copyright (c) 2002-2005 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

--- 32 unchanged lines hidden (view full) ---

41namespace SparcISA {
42
43PageTableEntry
44kernel_pte_lookup(FunctionalPort *mem, Addr ptbr, SparcISA::VAddr vaddr);
45
46Addr vtophys(Addr vaddr);
47Addr vtophys(ThreadContext *tc, Addr vaddr);
48
1/*
2 * Copyright (c) 2002-2005 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

--- 32 unchanged lines hidden (view full) ---

41namespace SparcISA {
42
43PageTableEntry
44kernel_pte_lookup(FunctionalPort *mem, Addr ptbr, SparcISA::VAddr vaddr);
45
46Addr vtophys(Addr vaddr);
47Addr vtophys(ThreadContext *tc, Addr vaddr);
48
49void CopyOut(ThreadContext *tc, void *dst, Addr src, size_t len);
50void CopyIn(ThreadContext *tc, Addr dst, void *src, size_t len);
51void CopyStringOut(ThreadContext *tc, char *dst, Addr vaddr, size_t maxlen);
52void CopyStringIn(ThreadContext *tc, char *src, Addr vaddr);
53
54};
55#endif // __ARCH_SPARC_VTOPHYS_H__
56
49};
50#endif // __ARCH_SPARC_VTOPHYS_H__
51