Process.py (10554:fe2e2f06a7c8) Process.py (10558:426665ec11a9)
1# Copyright (c) 2005-2008 The Regents of The University of Michigan
2# All rights reserved.
3#
4# Redistribution and use in source and binary forms, with or without
5# modification, are permitted provided that the following conditions are
6# met: redistributions of source code must retain the above copyright
7# notice, this list of conditions and the following disclaimer;
8# redistributions in binary form must reproduce the above copyright

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

40 system = Param.System(Parent.any, "system process will run on")
41 useArchPT = Param.Bool('false', 'maintain an in-memory version of the page\
42 table in an architecture-specific format')
43 kvmInSE = Param.Bool('false', 'initialize the process for KvmCPU in SE')
44 max_stack_size = Param.MemorySize('64MB', 'maximum size of the stack')
45
46 @classmethod
47 def export_methods(cls, code):
1# Copyright (c) 2005-2008 The Regents of The University of Michigan
2# All rights reserved.
3#
4# Redistribution and use in source and binary forms, with or without
5# modification, are permitted provided that the following conditions are
6# met: redistributions of source code must retain the above copyright
7# notice, this list of conditions and the following disclaimer;
8# redistributions in binary form must reproduce the above copyright

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

40 system = Param.System(Parent.any, "system process will run on")
41 useArchPT = Param.Bool('false', 'maintain an in-memory version of the page\
42 table in an architecture-specific format')
43 kvmInSE = Param.Bool('false', 'initialize the process for KvmCPU in SE')
44 max_stack_size = Param.MemorySize('64MB', 'maximum size of the stack')
45
46 @classmethod
47 def export_methods(cls, code):
48 code('bool map(Addr vaddr, Addr paddr, int size);')
48 code('bool map(Addr vaddr, Addr paddr, int size, bool cacheable=true);')
49
50class EmulatedDriver(SimObject):
51 type = 'EmulatedDriver'
52 cxx_header = "sim/emul_driver.hh"
53 abstract = True
54 filename = Param.String("device file name (under /dev)")
55
56class LiveProcess(Process):

--- 15 unchanged lines hidden ---
49
50class EmulatedDriver(SimObject):
51 type = 'EmulatedDriver'
52 cxx_header = "sim/emul_driver.hh"
53 abstract = True
54 filename = Param.String("device file name (under /dev)")
55
56class LiveProcess(Process):

--- 15 unchanged lines hidden ---