E820.py (5450:25e395a87745) E820.py (5610:0e1e9c186769)
1# Copyright (c) 2008 The Hewlett-Packard Development Company
2# All rights reserved.
3#
4# Redistribution and use of this software in source and binary forms,
5# with or without modification, are permitted provided that the
6# following conditions are met:
7#
8# The software must be used only for Non-Commercial Use which means any

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

53#
54# Authors: Gabe Black
55
56from m5.params import *
57from m5.SimObject import SimObject
58
59class X86E820Entry(SimObject):
60 type = 'X86E820Entry'
1# Copyright (c) 2008 The Hewlett-Packard Development Company
2# All rights reserved.
3#
4# Redistribution and use of this software in source and binary forms,
5# with or without modification, are permitted provided that the
6# following conditions are met:
7#
8# The software must be used only for Non-Commercial Use which means any

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

53#
54# Authors: Gabe Black
55
56from m5.params import *
57from m5.SimObject import SimObject
58
59class X86E820Entry(SimObject):
60 type = 'X86E820Entry'
61 cxx_namespace = 'X86ISA'
62 cxx_class = 'E820Entry'
61 cxx_class = 'X86ISA::E820Entry'
63
64 addr = Param.Addr(0, 'address of the beginning of the region')
65 size = Param.MemorySize('0B', 'size of the region')
66 range_type = Param.UInt64('type of the region')
67
68class X86E820Table(SimObject):
69 type = 'X86E820Table'
62
63 addr = Param.Addr(0, 'address of the beginning of the region')
64 size = Param.MemorySize('0B', 'size of the region')
65 range_type = Param.UInt64('type of the region')
66
67class X86E820Table(SimObject):
68 type = 'X86E820Table'
70 cxx_namespace = 'X86ISA'
71 cxx_class = 'E820Table'
69 cxx_class = 'X86ISA::E820Table'
72
73 entries = VectorParam.X86E820Entry([], 'entries for the e820 table')
70
71 entries = VectorParam.X86E820Entry([], 'entries for the e820 table')