git://scm.lunaixsky.com
/
lunaix-os.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix dangling pointer issues in ext2dr
[lunaix-os.git]
/
lunaix-os
/
arch
/
LConfig
diff --git
a/lunaix-os/arch/LConfig
b/lunaix-os/arch/LConfig
index 22f96c0df165370c1a092dc815f2e26d6b5df6da..7afea85ce59caf5d1bfcf721d14d1dc47f26cf39 100644
(file)
--- a/
lunaix-os/arch/LConfig
+++ b/
lunaix-os/arch/LConfig
@@
-1,24
+1,34
@@
include("x86/LConfig")
include("x86/LConfig")
-@Collection
+@Collection
("Platform")
def architecture_support():
"""
Config ISA related features
"""
def architecture_support():
"""
Config ISA related features
"""
- @Term
+ @Term
("Architecture")
def arch():
def arch():
- """ Config ISA support """
- type(["i386", "x86_64", "aarch64", "rv64"])
- default("i386")
+ """
+ Config ISA support
+ """
+ # type(["i386", "x86_64", "aarch64", "rv64"])
+ type(["i386", "x86_64"])
+ default("x86_64")
env_val = env("ARCH")
env_val = env("ARCH")
- if env_val
is not None
:
+ if env_val:
set_value(env_val)
set_value(env_val)
- @Term
+ @Term
("Base operand size")
@ReadOnly
def arch_bits():
@ReadOnly
def arch_bits():
+ """
+ Defines the base size of a general register of the
+ current selected ISA.
+
+ This the 'bits' part when we are talking about a CPU
+ """
+
type(["64", "32"])
match v(arch):
case "i386":
type(["64", "32"])
match v(arch):
case "i386":